#[repr(C)]pub struct COUNT32 {Show 15 fields
pub ctrla: CTRLA,
pub ctrlbclr: CTRLBCLR,
pub ctrlbset: CTRLBSET,
pub evctrl: EVCTRL,
pub intenclr: INTENCLR,
pub intenset: INTENSET,
pub intflag: INTFLAG,
pub status: STATUS,
pub wave: WAVE,
pub drvctrl: DRVCTRL,
pub dbgctrl: DBGCTRL,
pub syncbusy: SYNCBUSY,
pub count: COUNT,
pub cc: [CC; 2],
pub ccbuf: [CCBUF; 2],
/* private fields */
}
Expand description
Register block
Fields§
§ctrla: CTRLA
0x00 - Control A
ctrlbclr: CTRLBCLR
0x04 - Control B Clear
ctrlbset: CTRLBSET
0x05 - Control B Set
evctrl: EVCTRL
0x06 - Event Control
intenclr: INTENCLR
0x08 - Interrupt Enable Clear
intenset: INTENSET
0x09 - Interrupt Enable Set
intflag: INTFLAG
0x0a - Interrupt Flag Status and Clear
status: STATUS
0x0b - Status
wave: WAVE
0x0c - Waveform Generation Control
drvctrl: DRVCTRL
0x0d - Control C
dbgctrl: DBGCTRL
0x0f - Debug Control
syncbusy: SYNCBUSY
0x10 - Synchronization Status
count: COUNT
0x14 - COUNT32 Count
cc: [CC; 2]
0x1c..0x24 - COUNT32 Compare and Capture
ccbuf: [CCBUF; 2]
0x30..0x38 - COUNT32 Compare and Capture Buffer
Auto Trait Implementations§
impl !Freeze for COUNT32
impl !RefUnwindSafe for COUNT32
impl Send for COUNT32
impl !Sync for COUNT32
impl Unpin for COUNT32
impl UnwindSafe for COUNT32
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more