Struct gd32vf103_pac::TIMER2
source · pub struct TIMER2 { /* private fields */ }
Expand description
General-purpose-timers
Implementations§
Methods from Deref<Target = RegisterBlock>§
sourcepub fn chctl0_input(&self) -> &CHCTL0_INPUT
pub fn chctl0_input(&self) -> &CHCTL0_INPUT
0x18 - Channel control register 0 (input mode)
sourcepub fn chctl0_output(&self) -> &CHCTL0_OUTPUT
pub fn chctl0_output(&self) -> &CHCTL0_OUTPUT
0x18 - Channel control register 0 (output mode)
sourcepub fn chctl1_input(&self) -> &CHCTL1_INPUT
pub fn chctl1_input(&self) -> &CHCTL1_INPUT
0x1c - Channel control register 1 (input mode)
sourcepub fn chctl1_output(&self) -> &CHCTL1_OUTPUT
pub fn chctl1_output(&self) -> &CHCTL1_OUTPUT
0x1c - Channel control register 1 (output mode)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TIMER2
impl !Sync for TIMER2
impl Unpin for TIMER2
impl UnwindSafe for TIMER2
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