#[repr(C)]pub struct RegisterBlock {
pub ctrl: Reg<CTRL_SPEC>,
pub stat: Reg<STAT_SPEC>,
pub cfg: Reg<CFG_SPEC>,
pub capclr: Reg<CAPCLR_SPEC>,
pub cap: [Reg<CAP_SPEC>; 4],
}Expand description
Register block
Fields§
§ctrl: Reg<CTRL_SPEC>0x00 - Control register.
stat: Reg<STAT_SPEC>0x04 - Status register.
cfg: Reg<CFG_SPEC>0x08 - Capture configuration register.
capclr: Reg<CAPCLR_SPEC>0x0c - Capture clear register.
cap: [Reg<CAP_SPEC>; 4]0x10..0x20 - Capture register .
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