#[repr(C)]
pub struct RegisterBlock {
Show 30 fields pub devctrl: Reg<DEVCTRL_SPEC>, pub devisr: Reg<DEVISR_SPEC>, pub devicr: Reg<DEVICR_SPEC>, pub devifr: Reg<DEVIFR_SPEC>, pub devimr: Reg<DEVIMR_SPEC>, pub devidr: Reg<DEVIDR_SPEC>, pub devier: Reg<DEVIER_SPEC>, pub devept: Reg<DEVEPT_SPEC>, pub devfnum: Reg<DEVFNUM_SPEC>, pub deveptcfg: [Reg<DEVEPTCFG_SPEC>; 10], pub usbhs_devdma: [USBHS_DEVDMA; 7], pub hstctrl: Reg<HSTCTRL_SPEC>, pub hstisr: Reg<HSTISR_SPEC>, pub hsticr: Reg<HSTICR_SPEC>, pub hstifr: Reg<HSTIFR_SPEC>, pub hstimr: Reg<HSTIMR_SPEC>, pub hstidr: Reg<HSTIDR_SPEC>, pub hstier: Reg<HSTIER_SPEC>, pub hstpip: Reg<HSTPIP_SPEC>, pub hstfnum: Reg<HSTFNUM_SPEC>, pub hstaddr1: Reg<HSTADDR1_SPEC>, pub hstaddr2: Reg<HSTADDR2_SPEC>, pub hstaddr3: Reg<HSTADDR3_SPEC>, pub hstpipinrq: [Reg<HSTPIPINRQ_SPEC>; 10], pub hstpiperr: [Reg<HSTPIPERR_SPEC>; 10], pub usbhs_hstdma: [USBHS_HSTDMA; 7], pub ctrl: Reg<CTRL_SPEC>, pub sr: Reg<SR_SPEC>, pub scr: Reg<SCR_SPEC>, pub sfr: Reg<SFR_SPEC>, /* private fields */
}
Expand description

Register block

Fields

devctrl: Reg<DEVCTRL_SPEC>

0x00 - Device General Control Register

devisr: Reg<DEVISR_SPEC>

0x04 - Device Global Interrupt Status Register

devicr: Reg<DEVICR_SPEC>

0x08 - Device Global Interrupt Clear Register

devifr: Reg<DEVIFR_SPEC>

0x0c - Device Global Interrupt Set Register

devimr: Reg<DEVIMR_SPEC>

0x10 - Device Global Interrupt Mask Register

devidr: Reg<DEVIDR_SPEC>

0x14 - Device Global Interrupt Disable Register

devier: Reg<DEVIER_SPEC>

0x18 - Device Global Interrupt Enable Register

devept: Reg<DEVEPT_SPEC>

0x1c - Device Endpoint Register

devfnum: Reg<DEVFNUM_SPEC>

0x20 - Device Frame Number Register

deveptcfg: [Reg<DEVEPTCFG_SPEC>; 10]

0x100..0x128 - Device Endpoint Configuration Register

usbhs_devdma: [USBHS_DEVDMA; 7]

0x310..0x380 - Device DMA Channel Next Descriptor Address Register

hstctrl: Reg<HSTCTRL_SPEC>

0x400 - Host General Control Register

hstisr: Reg<HSTISR_SPEC>

0x404 - Host Global Interrupt Status Register

hsticr: Reg<HSTICR_SPEC>

0x408 - Host Global Interrupt Clear Register

hstifr: Reg<HSTIFR_SPEC>

0x40c - Host Global Interrupt Set Register

hstimr: Reg<HSTIMR_SPEC>

0x410 - Host Global Interrupt Mask Register

hstidr: Reg<HSTIDR_SPEC>

0x414 - Host Global Interrupt Disable Register

hstier: Reg<HSTIER_SPEC>

0x418 - Host Global Interrupt Enable Register

hstpip: Reg<HSTPIP_SPEC>

0x41c - Host Pipe Register

hstfnum: Reg<HSTFNUM_SPEC>

0x420 - Host Frame Number Register

hstaddr1: Reg<HSTADDR1_SPEC>

0x424 - Host Address 1 Register

hstaddr2: Reg<HSTADDR2_SPEC>

0x428 - Host Address 2 Register

hstaddr3: Reg<HSTADDR3_SPEC>

0x42c - Host Address 3 Register

hstpipinrq: [Reg<HSTPIPINRQ_SPEC>; 10]

0x650..0x678 - Host Pipe IN Request Register

hstpiperr: [Reg<HSTPIPERR_SPEC>; 10]

0x680..0x6a8 - Host Pipe Error Register

usbhs_hstdma: [USBHS_HSTDMA; 7]

0x710..0x780 - Host DMA Channel Next Descriptor Address Register

ctrl: Reg<CTRL_SPEC>

0x800 - General Control Register

sr: Reg<SR_SPEC>

0x804 - General Status Register

scr: Reg<SCR_SPEC>

0x808 - General Status Clear Register

sfr: Reg<SFR_SPEC>

0x80c - General Status Set Register

Implementations

0x130..0x158 - Device Endpoint Interrupt Status Register

0x130..0x158 - Device Endpoint Interrupt Status Register

0x130..0x158 - Device Endpoint Interrupt Status Register

0x130..0x158 - Device Endpoint Interrupt Status Register

0x160..0x188 - Device Endpoint Interrupt Clear Register

0x160..0x188 - Device Endpoint Interrupt Clear Register

0x160..0x188 - Device Endpoint Interrupt Clear Register

0x160..0x188 - Device Endpoint Interrupt Clear Register

0x190..0x1b8 - Device Endpoint Interrupt Set Register

0x190..0x1b8 - Device Endpoint Interrupt Set Register

0x190..0x1b8 - Device Endpoint Interrupt Set Register

0x190..0x1b8 - Device Endpoint Interrupt Set Register

0x1c0..0x1e8 - Device Endpoint Interrupt Mask Register

0x1c0..0x1e8 - Device Endpoint Interrupt Mask Register

0x1c0..0x1e8 - Device Endpoint Interrupt Mask Register

0x1c0..0x1e8 - Device Endpoint Interrupt Mask Register

0x1f0..0x218 - Device Endpoint Interrupt Enable Register

0x1f0..0x218 - Device Endpoint Interrupt Enable Register

0x1f0..0x218 - Device Endpoint Interrupt Enable Register

0x1f0..0x218 - Device Endpoint Interrupt Enable Register

0x220..0x248 - Device Endpoint Interrupt Disable Register

0x220..0x248 - Device Endpoint Interrupt Disable Register

0x220..0x248 - Device Endpoint Interrupt Disable Register

0x220..0x248 - Device Endpoint Interrupt Disable Register

0x500..0x528 - Host Pipe Configuration Register

0x500..0x528 - Host Pipe Configuration Register

0x530..0x558 - Host Pipe Status Register

0x530..0x558 - Host Pipe Status Register

0x530..0x558 - Host Pipe Status Register

0x530..0x558 - Host Pipe Status Register

0x560..0x588 - Host Pipe Clear Register

0x560..0x588 - Host Pipe Clear Register

0x560..0x588 - Host Pipe Clear Register

0x560..0x588 - Host Pipe Clear Register

0x590..0x5b8 - Host Pipe Set Register

0x590..0x5b8 - Host Pipe Set Register

0x590..0x5b8 - Host Pipe Set Register

0x590..0x5b8 - Host Pipe Set Register

0x5c0..0x5e8 - Host Pipe Mask Register

0x5c0..0x5e8 - Host Pipe Mask Register

0x5c0..0x5e8 - Host Pipe Mask Register

0x5c0..0x5e8 - Host Pipe Mask Register

0x5f0..0x618 - Host Pipe Enable Register

0x5f0..0x618 - Host Pipe Enable Register

0x5f0..0x618 - Host Pipe Enable Register

0x5f0..0x618 - Host Pipe Enable Register

0x620..0x648 - Host Pipe Disable Register

0x620..0x648 - Host Pipe Disable Register

0x620..0x648 - Host Pipe Disable Register

0x620..0x648 - Host Pipe Disable Register

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.