#[repr(C)]pub struct COUNT8 {Show 14 fields
pub ctrla: Reg<CTRLA_SPEC>,
pub readreq: Reg<READREQ_SPEC>,
pub ctrlbclr: Reg<CTRLBCLR_SPEC>,
pub ctrlbset: Reg<CTRLBSET_SPEC>,
pub ctrlc: Reg<CTRLC_SPEC>,
pub dbgctrl: Reg<DBGCTRL_SPEC>,
pub evctrl: Reg<EVCTRL_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub count: Reg<COUNT_SPEC>,
pub per: Reg<PER_SPEC>,
pub cc: [Reg<CC_SPEC>; 2],
/* private fields */
}
Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>
0x00 - Control A
readreq: Reg<READREQ_SPEC>
0x02 - Read Request
ctrlbclr: Reg<CTRLBCLR_SPEC>
0x04 - Control B Clear
ctrlbset: Reg<CTRLBSET_SPEC>
0x05 - Control B Set
ctrlc: Reg<CTRLC_SPEC>
0x06 - Control C
dbgctrl: Reg<DBGCTRL_SPEC>
0x08 - Debug Control
evctrl: Reg<EVCTRL_SPEC>
0x0a - Event Control
intenclr: Reg<INTENCLR_SPEC>
0x0c - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>
0x0d - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>
0x0e - Interrupt Flag Status and Clear
status: Reg<STATUS_SPEC>
0x0f - Status
count: Reg<COUNT_SPEC>
0x10 - COUNT8 Counter Value
per: Reg<PER_SPEC>
0x14 - COUNT8 Period Value
cc: [Reg<CC_SPEC>; 2]
0x18 - COUNT8 Compare/Capture
Auto Trait Implementations
impl !RefUnwindSafe for COUNT8
impl Send for COUNT8
impl !Sync for COUNT8
impl Unpin for COUNT8
impl UnwindSafe for COUNT8
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more