[][src]Struct trinket_m0::TC5

pub struct TC5 { /* fields omitted */ }

Basic Timer Counter 5

Methods

impl TC5[src]

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

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn count32(&self) -> &COUNT32[src]

0x00 - 32-bit Counter Mode

pub fn count32_mut(&self) -> &mut COUNT32[src]

0x00 - 32-bit Counter Mode

pub fn count16(&self) -> &COUNT16[src]

0x00 - 16-bit Counter Mode

pub fn count16_mut(&self) -> &mut COUNT16[src]

0x00 - 16-bit Counter Mode

pub fn count8(&self) -> &COUNT8[src]

0x00 - 8-bit Counter Mode

pub fn count8_mut(&self) -> &mut COUNT8[src]

0x00 - 8-bit Counter Mode

Trait Implementations

impl Count16 for TC5[src]

impl Send for TC5[src]

impl Deref for TC5[src]

type Target = RegisterBlock

The resulting type after dereferencing.

Auto Trait Implementations

impl !Sync for TC5

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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