Struct gd32f1x0_hal::pac::timer14::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn dmainten(&self) -> &Reg<DmaintenSpec>
pub const fn dmainten(&self) -> &Reg<DmaintenSpec>
0x0c - DMA and interrupt enable register
sourcepub const fn chctl0_input(&self) -> &Reg<Chctl0InputSpec>
pub const fn chctl0_input(&self) -> &Reg<Chctl0InputSpec>
0x18 - Channel control register 0 (input mode)
sourcepub const fn chctl0_output(&self) -> &Reg<Chctl0OutputSpec>
pub const fn chctl0_output(&self) -> &Reg<Chctl0OutputSpec>
0x18 - Channel control register 0 (output mode)
sourcepub const fn chctl2(&self) -> &Reg<Chctl2Spec>
pub const fn chctl2(&self) -> &Reg<Chctl2Spec>
0x20 - Channel control register 2
sourcepub const fn dmacfg(&self) -> &Reg<DmacfgSpec>
pub const fn dmacfg(&self) -> &Reg<DmacfgSpec>
0x48 - DMA configuration 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