pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub fn endpoint_iter(&self) -> impl Iterator<Item = &Endpoint>
pub fn endpoint_iter(&self) -> impl Iterator<Item = &Endpoint>
Iterator for array of: 0xc0..0xd0 - Array of registers: ENDPT
Sourcepub const fn usbfrmadjust(&self) -> &Usbfrmadjust
pub const fn usbfrmadjust(&self) -> &Usbfrmadjust
0x114 - Frame Adjust
Sourcepub const fn keep_alive_ctrl_rsvd(&self) -> &KeepAliveCtrlRsvd
pub const fn keep_alive_ctrl_rsvd(&self) -> &KeepAliveCtrlRsvd
0x124 - Reserved
Sourcepub const fn keep_alive_wkctrl_rsvd(&self) -> &KeepAliveWkctrlRsvd
pub const fn keep_alive_wkctrl_rsvd(&self) -> &KeepAliveWkctrlRsvd
0x128 - Reserved
Sourcepub const fn stall_il_dis(&self) -> &StallIlDis
pub const fn stall_il_dis(&self) -> &StallIlDis
0x130 - Peripheral Mode Stall Disable for Endpoints 7 to 0 in IN Direction
Sourcepub const fn stall_ih_dis(&self) -> &StallIhDis
pub const fn stall_ih_dis(&self) -> &StallIhDis
0x134 - Peripheral Mode Stall Disable for Endpoints 15 to 8 in IN Direction
Sourcepub const fn stall_ol_dis(&self) -> &StallOlDis
pub const fn stall_ol_dis(&self) -> &StallOlDis
0x138 - Peripheral Mode Stall Disable for Endpoints 7 to 0 in OUT Direction
Sourcepub const fn stall_oh_dis(&self) -> &StallOhDis
pub const fn stall_oh_dis(&self) -> &StallOhDis
0x13c - Peripheral Mode Stall Disable for Endpoints 15 to 8 in OUT Direction
Sourcepub const fn clk_recover_ctrl(&self) -> &ClkRecoverCtrl
pub const fn clk_recover_ctrl(&self) -> &ClkRecoverCtrl
0x140 - USB Clock Recovery Control
Sourcepub const fn clk_recover_irc_en(&self) -> &ClkRecoverIrcEn
pub const fn clk_recover_irc_en(&self) -> &ClkRecoverIrcEn
0x144 - FIRC Oscillator Enable
Sourcepub const fn clk_recover_int_en(&self) -> &ClkRecoverIntEn
pub const fn clk_recover_int_en(&self) -> &ClkRecoverIntEn
0x154 - Clock Recovery Combined Interrupt Enable
Sourcepub const fn clk_recover_int_status(&self) -> &ClkRecoverIntStatus
pub const fn clk_recover_int_status(&self) -> &ClkRecoverIntStatus
0x15c - Clock Recovery Separated Interrupt Status
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more