[][src]Struct circuit_playground_express::atsamd21g18a::tcc0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub ctrla: CTRLA, pub ctrlbclr: CTRLBCLR, pub ctrlbset: CTRLBSET, pub syncbusy: SYNCBUSY, pub fctrla: FCTRLA, pub fctrlb: FCTRLB, pub wexctrl: WEXCTRL, pub drvctrl: DRVCTRL, pub dbgctrl: DBGCTRL, pub evctrl: EVCTRL, pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub status: STATUS, pub patt: PATT, pub wave: WAVE, pub pattb: PATTB, pub waveb: WAVEB, // some fields omitted }

Register block

Fields

ctrla: CTRLA

0x00 - Control A

ctrlbclr: CTRLBCLR

0x04 - Control B Clear

ctrlbset: CTRLBSET

0x05 - Control B Set

syncbusy: SYNCBUSY

0x08 - Synchronization Busy

fctrla: FCTRLA

0x0c - Recoverable Fault A Configuration

fctrlb: FCTRLB

0x10 - Recoverable Fault B Configuration

wexctrl: WEXCTRL

0x14 - Waveform Extension Configuration

drvctrl: DRVCTRL

0x18 - Driver Control

dbgctrl: DBGCTRL

0x1e - Debug Control

evctrl: EVCTRL

0x20 - Event Control

intenclr: INTENCLR

0x24 - Interrupt Enable Clear

intenset: INTENSET

0x28 - Interrupt Enable Set

intflag: INTFLAG

0x2c - Interrupt Flag Status and Clear

status: STATUS

0x30 - Status

patt: PATT

0x38 - Pattern

wave: WAVE

0x3c - Waveform Control

pattb: PATTB

0x64 - Pattern Buffer

waveb: WAVEB

0x68 - Waveform Control Buffer

Methods

impl RegisterBlock[src]

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

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

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]