#[repr(C)]pub struct RegisterBlock {
pub ctrla: CTRLA,
pub ctrlb: CTRLB,
pub evctrl: EVCTRL,
pub intctrl: INTCTRL,
pub intflags: INTFLAGS,
pub status: STATUS,
pub dbgctrl: DBGCTRL,
pub temp: TEMP,
pub cnt: CNT,
pub ccmp: CCMP,
/* private fields */
}Expand description
Register block
Fields§
§ctrla: CTRLA0x00 - Control A
ctrlb: CTRLB0x01 - Control Register B
evctrl: EVCTRL0x04 - Event Control
intctrl: INTCTRL0x05 - Interrupt Control
intflags: INTFLAGS0x06 - Interrupt Flags
status: STATUS0x07 - Status
dbgctrl: DBGCTRL0x08 - Debug Control
temp: TEMP0x09 - Temporary Value
cnt: CNT0x0a - Count
ccmp: CCMP0x0c - Compare or Capture
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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