Struct lpc11uxx::usb::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 13 fields pub devcmdstat: DEVCMDSTAT, pub info: INFO, pub epliststart: EPLISTSTART, pub databufstart: DATABUFSTART, pub lpm: LPM, pub epskip: EPSKIP, pub epinuse: EPINUSE, pub epbufcfg: EPBUFCFG, pub intstat: INTSTAT, pub inten: INTEN, pub intsetstat: INTSETSTAT, pub introuting: INTROUTING, pub eptoggle: EPTOGGLE, /* private fields */
}
Expand description

Register block

Fields§

§devcmdstat: DEVCMDSTAT

0x00 - USB Device Command/Status register

§info: INFO

0x04 - USB Info register

§epliststart: EPLISTSTART

0x08 - USB EP Command/Status List start address

§databufstart: DATABUFSTART

0x0c - USB Data buffer start address

§lpm: LPM

0x10 - Link Power Management register

§epskip: EPSKIP

0x14 - USB Endpoint skip

§epinuse: EPINUSE

0x18 - USB Endpoint Buffer in use

§epbufcfg: EPBUFCFG

0x1c - USB Endpoint Buffer Configuration register

§intstat: INTSTAT

0x20 - USB interrupt status register

§inten: INTEN

0x24 - USB interrupt enable register

§intsetstat: INTSETSTAT

0x28 - USB set interrupt status register

§introuting: INTROUTING

0x2c - USB interrupt routing register

§eptoggle: EPTOGGLE

0x34 - USB Endpoint toggle 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.

Should always be Self
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.