#[repr(C)]pub struct HOST {Show 23 fields
pub ctrla: CTRLA,
pub syncbusy: SYNCBUSY,
pub qosctrl: QOSCTRL,
pub ctrlb: CTRLB,
pub hsofc: HSOFC,
pub status: STATUS,
pub fsmstatus: FSMSTATUS,
pub fnum: FNUM,
pub flenhigh: FLENHIGH,
pub intenclr: INTENCLR,
pub intenset: INTENSET,
pub intflag: INTFLAG,
pub pintsmry: PINTSMRY,
pub descadd: DESCADD,
pub padcal: PADCAL,
pub host_pipe0: HOST_PIPE,
pub host_pipe1: HOST_PIPE,
pub host_pipe2: HOST_PIPE,
pub host_pipe3: HOST_PIPE,
pub host_pipe4: HOST_PIPE,
pub host_pipe5: HOST_PIPE,
pub host_pipe6: HOST_PIPE,
pub host_pipe7: HOST_PIPE,
/* private fields */
}
Expand description
Register block
Fields§
§ctrla: CTRLA
0x00 - Control A
syncbusy: SYNCBUSY
0x02 - Synchronization Busy
qosctrl: QOSCTRL
0x03 - USB Quality Of Service
ctrlb: CTRLB
0x08 - HOST Control B
hsofc: HSOFC
0x0a - HOST Host Start Of Frame Control
status: STATUS
0x0c - HOST Status
fsmstatus: FSMSTATUS
0x0d - Finite State Machine Status
fnum: FNUM
0x10 - HOST Host Frame Number
flenhigh: FLENHIGH
0x12 - HOST Host Frame Length
intenclr: INTENCLR
0x14 - HOST Host Interrupt Enable Clear
intenset: INTENSET
0x18 - HOST Host Interrupt Enable Set
intflag: INTFLAG
0x1c - HOST Host Interrupt Flag
pintsmry: PINTSMRY
0x20 - HOST Pipe Interrupt Summary
descadd: DESCADD
0x24 - Descriptor Address
padcal: PADCAL
0x28 - USB PAD Calibration
host_pipe0: HOST_PIPE
0x100..0x10a - HOST_PIPE[%s]
host_pipe1: HOST_PIPE
0x120..0x12a - HOST_PIPE[%s]
host_pipe2: HOST_PIPE
0x140..0x14a - HOST_PIPE[%s]
host_pipe3: HOST_PIPE
0x160..0x16a - HOST_PIPE[%s]
host_pipe4: HOST_PIPE
0x180..0x18a - HOST_PIPE[%s]
host_pipe5: HOST_PIPE
0x1a0..0x1aa - HOST_PIPE[%s]
host_pipe6: HOST_PIPE
0x1c0..0x1ca - HOST_PIPE[%s]
host_pipe7: HOST_PIPE
0x1e0..0x1ea - HOST_PIPE[%s]
Auto Trait Implementations§
impl !Freeze for HOST
impl !RefUnwindSafe for HOST
impl Send for HOST
impl !Sync for HOST
impl Unpin for HOST
impl UnwindSafe for HOST
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more