[][src]Struct gd32vf103_pac::TIMER1

pub struct TIMER1 { /* fields omitted */ }

General-purpose-timers

Implementations

impl TIMER1[src]

pub const fn ptr() -> *const RegisterBlock[src]

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn chctl0_input(&self) -> &CHCTL0_INPUT[src]

0x18 - Channel control register 0 (input mode)

pub fn chctl0_input_mut(&self) -> &mut CHCTL0_INPUT[src]

0x18 - Channel control register 0 (input mode)

pub fn chctl0_output(&self) -> &CHCTL0_OUTPUT[src]

0x18 - Channel control register 0 (output mode)

pub fn chctl0_output_mut(&self) -> &mut CHCTL0_OUTPUT[src]

0x18 - Channel control register 0 (output mode)

pub fn chctl1_input(&self) -> &CHCTL1_INPUT[src]

0x1c - Channel control register 1 (input mode)

pub fn chctl1_input_mut(&self) -> &mut CHCTL1_INPUT[src]

0x1c - Channel control register 1 (input mode)

pub fn chctl1_output(&self) -> &CHCTL1_OUTPUT[src]

0x1c - Channel control register 1 (output mode)

pub fn chctl1_output_mut(&self) -> &mut CHCTL1_OUTPUT[src]

0x1c - Channel control register 1 (output mode)

Trait Implementations

impl Deref for TIMER1[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Send for TIMER1[src]

Auto Trait Implementations

impl !Sync for TIMER1

impl Unpin for TIMER1

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.