Struct atsam4lc4a_pac::ast::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 20 fields
pub cr: Reg<CR_SPEC>,
pub cv: Reg<CV_SPEC>,
pub sr: Reg<SR_SPEC>,
pub scr: Reg<SCR_SPEC>,
pub ier: Reg<IER_SPEC>,
pub idr: Reg<IDR_SPEC>,
pub imr: Reg<IMR_SPEC>,
pub wer: Reg<WER_SPEC>,
pub ar0: Reg<AR0_SPEC>,
pub ar1: Reg<AR1_SPEC>,
pub pir0: Reg<PIR0_SPEC>,
pub pir1: Reg<PIR1_SPEC>,
pub clock: Reg<CLOCK_SPEC>,
pub dtr: Reg<DTR_SPEC>,
pub eve: Reg<EVE_SPEC>,
pub evd: Reg<EVD_SPEC>,
pub evm: Reg<EVM_SPEC>,
pub calv: Reg<CALV_SPEC>,
pub parameter: Reg<PARAMETER_SPEC>,
pub version: Reg<VERSION_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
cr: Reg<CR_SPEC>
0x00 - Control Register
cv: Reg<CV_SPEC>
0x04 - Counter Value
sr: Reg<SR_SPEC>
0x08 - Status Register
scr: Reg<SCR_SPEC>
0x0c - Status Clear Register
ier: Reg<IER_SPEC>
0x10 - Interrupt Enable Register
idr: Reg<IDR_SPEC>
0x14 - Interrupt Disable Register
imr: Reg<IMR_SPEC>
0x18 - Interrupt Mask Register
wer: Reg<WER_SPEC>
0x1c - Wake Enable Register
ar0: Reg<AR0_SPEC>
0x20 - Alarm Register 0
ar1: Reg<AR1_SPEC>
0x24 - Alarm Register 1
pir0: Reg<PIR0_SPEC>
0x30 - Periodic Interval Register 0
pir1: Reg<PIR1_SPEC>
0x34 - Periodic Interval Register 1
clock: Reg<CLOCK_SPEC>
0x40 - Clock Control Register
dtr: Reg<DTR_SPEC>
0x44 - Digital Tuner Register
eve: Reg<EVE_SPEC>
0x48 - Event Enable Register
evd: Reg<EVD_SPEC>
0x4c - Event Disable Register
evm: Reg<EVM_SPEC>
0x50 - Event Mask Register
calv: Reg<CALV_SPEC>
0x54 - Calendar Value
parameter: Reg<PARAMETER_SPEC>
0xf0 - Parameter Register
version: Reg<VERSION_SPEC>
0xfc - Version Register
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