Struct atsame51j::ac::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 14 fields
pub ctrla: Reg<CTRLA_SPEC>,
pub ctrlb: Reg<CTRLB_SPEC>,
pub evctrl: Reg<EVCTRL_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub statusa: Reg<STATUSA_SPEC>,
pub statusb: Reg<STATUSB_SPEC>,
pub dbgctrl: Reg<DBGCTRL_SPEC>,
pub winctrl: Reg<WINCTRL_SPEC>,
pub scaler: [Reg<SCALER_SPEC>; 2],
pub compctrl: [Reg<COMPCTRL_SPEC>; 2],
pub syncbusy: Reg<SYNCBUSY_SPEC>,
pub calib: Reg<CALIB_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>
0x00 - Control A
ctrlb: Reg<CTRLB_SPEC>
0x01 - Control B
evctrl: Reg<EVCTRL_SPEC>
0x02 - Event Control
intenclr: Reg<INTENCLR_SPEC>
0x04 - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>
0x05 - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>
0x06 - Interrupt Flag Status and Clear
statusa: Reg<STATUSA_SPEC>
0x07 - Status A
statusb: Reg<STATUSB_SPEC>
0x08 - Status B
dbgctrl: Reg<DBGCTRL_SPEC>
0x09 - Debug Control
winctrl: Reg<WINCTRL_SPEC>
0x0a - Window Control
scaler: [Reg<SCALER_SPEC>; 2]
0x0c - Scaler n
compctrl: [Reg<COMPCTRL_SPEC>; 2]
0x10..0x18 - Comparator Control n
syncbusy: Reg<SYNCBUSY_SPEC>
0x20 - Synchronization Busy
calib: Reg<CALIB_SPEC>
0x24 - Calibration
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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