#[repr(C)]pub struct COUNT8 {Show 17 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 per: PER,
pub cc: [CC; 2],
pub perbuf: PERBUF,
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 - COUNT8 Count
per: PER
0x1b - COUNT8 Period
cc: [CC; 2]
0x1c - COUNT8 Compare and Capture
perbuf: PERBUF
0x2f - COUNT8 Period Buffer
ccbuf: [CCBUF; 2]
0x30 - COUNT8 Compare and Capture Buffer
Auto Trait Implementations§
impl !Freeze for COUNT8
impl !RefUnwindSafe for COUNT8
impl Send for COUNT8
impl !Sync for COUNT8
impl Unpin for COUNT8
impl UnwindSafe for COUNT8
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