Struct gd32f1x0_hal::pac::TIMER13
source · [−]pub struct TIMER13 { /* private fields */ }
Expand description
General-purpose-timers
Implementations
sourceimpl TIMER13
impl TIMER13
sourcepub const PTR: *const RegisterBlock = {0x40002000 as *const gd32f1::gd32f130::timer13::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40002000 as *const gd32f1::gd32f130::timer13::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 TIMER13
Auto Trait Implementations
impl RefUnwindSafe for TIMER13
impl !Sync for TIMER13
impl Unpin for TIMER13
impl UnwindSafe for TIMER13
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