#[repr(C)]
pub struct RegisterBlock {
Show 14 fields pub ep0r: Reg<EP0R_SPEC>, pub ep1r: Reg<EP1R_SPEC>, pub ep2r: Reg<EP2R_SPEC>, pub ep3r: Reg<EP3R_SPEC>, pub ep4r: Reg<EP4R_SPEC>, pub ep5r: Reg<EP5R_SPEC>, pub ep6r: Reg<EP6R_SPEC>, pub ep7r: Reg<EP7R_SPEC>, pub cntr: Reg<CNTR_SPEC>, pub istr: Reg<ISTR_SPEC>, pub fnr: Reg<FNR_SPEC>, pub daddr: Reg<DADDR_SPEC>, pub btable: Reg<BTABLE_SPEC>, pub bcdr: Reg<BCDR_SPEC>, /* private fields */
}
Expand description

Register block

Fields

ep0r: Reg<EP0R_SPEC>

0x00 - USB endpoint n register

ep1r: Reg<EP1R_SPEC>

0x04 - USB endpoint n register

ep2r: Reg<EP2R_SPEC>

0x08 - USB endpoint n register

ep3r: Reg<EP3R_SPEC>

0x0c - USB endpoint n register

ep4r: Reg<EP4R_SPEC>

0x10 - USB endpoint n register

ep5r: Reg<EP5R_SPEC>

0x14 - USB endpoint n register

ep6r: Reg<EP6R_SPEC>

0x18 - USB endpoint n register

ep7r: Reg<EP7R_SPEC>

0x1c - USB endpoint n register

cntr: Reg<CNTR_SPEC>

0x40 - USB control register

istr: Reg<ISTR_SPEC>

0x44 - USB interrupt status register

fnr: Reg<FNR_SPEC>

0x48 - USB frame number register

daddr: Reg<DADDR_SPEC>

0x4c - USB device address

btable: Reg<BTABLE_SPEC>

0x50 - Buffer table address

bcdr: Reg<BCDR_SPEC>

0x58 - Battery Charging Detector

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.