#[repr(C)]pub struct RegisterBlock {Show 13 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>,
/* private fields */
}
Expand description
Register block
Fields
ep0r: Reg<EP0R_SPEC>
0x00 - endpoint 0 register
ep1r: Reg<EP1R_SPEC>
0x04 - endpoint 1 register
ep2r: Reg<EP2R_SPEC>
0x08 - endpoint 2 register
ep3r: Reg<EP3R_SPEC>
0x0c - endpoint 3 register
ep4r: Reg<EP4R_SPEC>
0x10 - endpoint 4 register
ep5r: Reg<EP5R_SPEC>
0x14 - endpoint 5 register
ep6r: Reg<EP6R_SPEC>
0x18 - endpoint 6 register
ep7r: Reg<EP7R_SPEC>
0x1c - endpoint 7 register
cntr: Reg<CNTR_SPEC>
0x40 - control register
istr: Reg<ISTR_SPEC>
0x44 - interrupt status register
fnr: Reg<FNR_SPEC>
0x48 - frame number register
daddr: Reg<DADDR_SPEC>
0x4c - device address
btable: Reg<BTABLE_SPEC>
0x50 - Buffer table address
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more