Struct atsaml21e16b::tcc0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 17 fields
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 pattbuf: PATTBUF,
/* private fields */
}
Expand description
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
pattbuf: PATTBUF
0x64 - Pattern Buffer
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn count_dith6(&self) -> &COUNT_DITH6
pub const fn count_dith6(&self) -> &COUNT_DITH6
0x34 - Count
sourcepub const fn count_dith5(&self) -> &COUNT_DITH5
pub const fn count_dith5(&self) -> &COUNT_DITH5
0x34 - Count
sourcepub const fn count_dith4(&self) -> &COUNT_DITH4
pub const fn count_dith4(&self) -> &COUNT_DITH4
0x34 - Count
sourcepub const fn perbuf_dith6(&self) -> &PERBUF_DITH6
pub const fn perbuf_dith6(&self) -> &PERBUF_DITH6
0x6c - Period Buffer
sourcepub const fn perbuf_dith5(&self) -> &PERBUF_DITH5
pub const fn perbuf_dith5(&self) -> &PERBUF_DITH5
0x6c - Period Buffer
sourcepub const fn perbuf_dith4(&self) -> &PERBUF_DITH4
pub const fn perbuf_dith4(&self) -> &PERBUF_DITH4
0x6c - Period Buffer
sourcepub const fn ccbuf_dith6(&self) -> &[CCBUF_DITH6; 4]
pub const fn ccbuf_dith6(&self) -> &[CCBUF_DITH6; 4]
0x70..0x80 - Compare and Capture Buffer
sourcepub const fn ccbuf_dith5(&self) -> &[CCBUF_DITH5; 4]
pub const fn ccbuf_dith5(&self) -> &[CCBUF_DITH5; 4]
0x70..0x80 - Compare and Capture Buffer
sourcepub const fn ccbuf_dith4(&self) -> &[CCBUF_DITH4; 4]
pub const fn ccbuf_dith4(&self) -> &[CCBUF_DITH4; 4]
0x70..0x80 - Compare and Capture Buffer