#[repr(C)]
pub struct HOST {
Show 23 fields pub ctrla: Reg<CTRLA_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub qosctrl: Reg<QOSCTRL_SPEC>, pub ctrlb: Reg<CTRLB_SPEC>, pub hsofc: Reg<HSOFC_SPEC>, pub status: Reg<STATUS_SPEC>, pub fsmstatus: Reg<FSMSTATUS_SPEC>, pub fnum: Reg<FNUM_SPEC>, pub flenhigh: Reg<FLENHIGH_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub pintsmry: Reg<PINTSMRY_SPEC>, pub descadd: Reg<DESCADD_SPEC>, pub padcal: Reg<PADCAL_SPEC>, 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: Reg<CTRLA_SPEC>

0x00 - Control A

syncbusy: Reg<SYNCBUSY_SPEC>

0x02 - Synchronization Busy

qosctrl: Reg<QOSCTRL_SPEC>

0x03 - USB Quality Of Service

ctrlb: Reg<CTRLB_SPEC>

0x08 - HOST Control B

hsofc: Reg<HSOFC_SPEC>

0x0a - HOST Host Start Of Frame Control

status: Reg<STATUS_SPEC>

0x0c - HOST Status

fsmstatus: Reg<FSMSTATUS_SPEC>

0x0d - Finite State Machine Status

fnum: Reg<FNUM_SPEC>

0x10 - HOST Host Frame Number

flenhigh: Reg<FLENHIGH_SPEC>

0x12 - HOST Host Frame Length

intenclr: Reg<INTENCLR_SPEC>

0x14 - HOST Host Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x18 - HOST Host Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x1c - HOST Host Interrupt Flag

pintsmry: Reg<PINTSMRY_SPEC>

0x20 - HOST Pipe Interrupt Summary

descadd: Reg<DESCADD_SPEC>

0x24 - Descriptor Address

padcal: Reg<PADCAL_SPEC>

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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.