[][src]Struct trinket_m0::TCC0

pub struct TCC0 { /* fields omitted */ }

Timer Counter Control 0

Methods

impl TCC0[src]

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

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn count_dith6(&self) -> &COUNT_DITH6[src]

0x34 - Count

pub fn count_dith6_mut(&self) -> &mut COUNT_DITH6[src]

0x34 - Count

pub fn count_dith5(&self) -> &COUNT_DITH5[src]

0x34 - Count

pub fn count_dith5_mut(&self) -> &mut COUNT_DITH5[src]

0x34 - Count

pub fn count_dith4(&self) -> &COUNT_DITH4[src]

0x34 - Count

pub fn count_dith4_mut(&self) -> &mut COUNT_DITH4[src]

0x34 - Count

pub fn count(&self) -> &COUNT[src]

0x34 - Count

pub fn count_mut(&self) -> &mut COUNT[src]

0x34 - Count

pub fn per_dith6(&self) -> &PER_DITH6[src]

0x40 - Period

pub fn per_dith6_mut(&self) -> &mut PER_DITH6[src]

0x40 - Period

pub fn per_dith5(&self) -> &PER_DITH5[src]

0x40 - Period

pub fn per_dith5_mut(&self) -> &mut PER_DITH5[src]

0x40 - Period

pub fn per_dith4(&self) -> &PER_DITH4[src]

0x40 - Period

pub fn per_dith4_mut(&self) -> &mut PER_DITH4[src]

0x40 - Period

pub fn per(&self) -> &PER[src]

0x40 - Period

pub fn per_mut(&self) -> &mut PER[src]

0x40 - Period

pub fn cc_dith6(&self) -> &[CC_DITH6; 4][src]

0x44 - Compare and Capture

pub fn cc_dith6_mut(&self) -> &mut [CC_DITH6; 4][src]

0x44 - Compare and Capture

pub fn cc_dith5(&self) -> &[CC_DITH5; 4][src]

0x44 - Compare and Capture

pub fn cc_dith5_mut(&self) -> &mut [CC_DITH5; 4][src]

0x44 - Compare and Capture

pub fn cc_dith4(&self) -> &[CC_DITH4; 4][src]

0x44 - Compare and Capture

pub fn cc_dith4_mut(&self) -> &mut [CC_DITH4; 4][src]

0x44 - Compare and Capture

pub fn cc(&self) -> &[CC; 4][src]

0x44 - Compare and Capture

pub fn cc_mut(&self) -> &mut [CC; 4][src]

0x44 - Compare and Capture

pub fn perb_dith6(&self) -> &PERB_DITH6[src]

0x6c - Period Buffer

pub fn perb_dith6_mut(&self) -> &mut PERB_DITH6[src]

0x6c - Period Buffer

pub fn perb_dith5(&self) -> &PERB_DITH5[src]

0x6c - Period Buffer

pub fn perb_dith5_mut(&self) -> &mut PERB_DITH5[src]

0x6c - Period Buffer

pub fn perb_dith4(&self) -> &PERB_DITH4[src]

0x6c - Period Buffer

pub fn perb_dith4_mut(&self) -> &mut PERB_DITH4[src]

0x6c - Period Buffer

pub fn perb(&self) -> &PERB[src]

0x6c - Period Buffer

pub fn perb_mut(&self) -> &mut PERB[src]

0x6c - Period Buffer

pub fn ccb_dith6(&self) -> &[CCB_DITH6; 4][src]

0x70 - Compare and Capture Buffer

pub fn ccb_dith6_mut(&self) -> &mut [CCB_DITH6; 4][src]

0x70 - Compare and Capture Buffer

pub fn ccb_dith5(&self) -> &[CCB_DITH5; 4][src]

0x70 - Compare and Capture Buffer

pub fn ccb_dith5_mut(&self) -> &mut [CCB_DITH5; 4][src]

0x70 - Compare and Capture Buffer

pub fn ccb_dith4(&self) -> &[CCB_DITH4; 4][src]

0x70 - Compare and Capture Buffer

pub fn ccb_dith4_mut(&self) -> &mut [CCB_DITH4; 4][src]

0x70 - Compare and Capture Buffer

pub fn ccb(&self) -> &[CCB; 4][src]

0x70 - Compare and Capture Buffer

pub fn ccb_mut(&self) -> &mut [CCB; 4][src]

0x70 - Compare and Capture Buffer

Trait Implementations

impl Send for TCC0[src]

impl Deref for TCC0[src]

type Target = RegisterBlock

The resulting type after dereferencing.

Auto Trait Implementations

impl !Sync for TCC0

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]