[−][src]Struct gd32vf103_pac::TIMER1
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.
fn deref(&self) -> &Self::Target
[src]
impl Send for TIMER1
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,