#[repr(C)]pub struct RegisterBlock {
pub cont: Reg<CONT_SPEC>,
pub contclr: Reg<CONTCLR_SPEC>,
pub contset: Reg<CONTSET_SPEC>,
pub continv: Reg<CONTINV_SPEC>,
pub tmr: Reg<TMR_SPEC>,
pub tmrclr: Reg<TMRCLR_SPEC>,
pub tmrset: Reg<TMRSET_SPEC>,
pub tmrinv: Reg<TMRINV_SPEC>,
pub pr: Reg<PR_SPEC>,
pub prclr: Reg<PRCLR_SPEC>,
pub prset: Reg<PRSET_SPEC>,
pub prinv: Reg<PRINV_SPEC>,
}Expand description
Register block
Fields§
§cont: Reg<CONT_SPEC>0x00 - T2CON register
contclr: Reg<CONTCLR_SPEC>0x04 - T2CONCLR register
contset: Reg<CONTSET_SPEC>0x08 - T2CONSET register
continv: Reg<CONTINV_SPEC>0x0c - T2CONINV register
tmr: Reg<TMR_SPEC>0x10 - TMR2 register
tmrclr: Reg<TMRCLR_SPEC>0x14 - TMR2CLR register
tmrset: Reg<TMRSET_SPEC>0x18 - TMR2SET register
tmrinv: Reg<TMRINV_SPEC>0x1c - TMR2INV register
pr: Reg<PR_SPEC>0x20 - PR2 register
prclr: Reg<PRCLR_SPEC>0x24 - PR2CLR register
prset: Reg<PRSET_SPEC>0x28 - PR2SET register
prinv: Reg<PRINV_SPEC>0x2c - PR2INV register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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