Struct gd32f1x0_hal::pac::TIMER14
source · [−]pub struct TIMER14 { /* private fields */ }
Expand description
General-purpose-timers
Implementations
sourceimpl TIMER14
impl TIMER14
sourcepub const PTR: *const RegisterBlock = {0x40014000 as *const gd32f1::gd32f130::timer14::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40014000 as *const gd32f1::gd32f130::timer14::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = RegisterBlock>
sourcepub fn chctl0_input(&self) -> &Reg<CHCTL0_INPUT_SPEC>
pub fn chctl0_input(&self) -> &Reg<CHCTL0_INPUT_SPEC>
0x18 - Channel control register 0 (input mode)
sourcepub fn chctl0_output(&self) -> &Reg<CHCTL0_OUTPUT_SPEC>
pub fn chctl0_output(&self) -> &Reg<CHCTL0_OUTPUT_SPEC>
0x18 - Channel control register 0 (output mode)
Trait Implementations
impl Send for TIMER14
Auto Trait Implementations
impl RefUnwindSafe for TIMER14
impl !Sync for TIMER14
impl Unpin for TIMER14
impl UnwindSafe for TIMER14
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more