Struct atsam4ls4b_pac::ast::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 20 fields
pub cr: CR,
pub cv: CV,
pub sr: SR,
pub scr: SCR,
pub ier: IER,
pub idr: IDR,
pub imr: IMR,
pub wer: WER,
pub ar0: AR0,
pub ar1: AR1,
pub pir0: PIR0,
pub pir1: PIR1,
pub clock: CLOCK,
pub dtr: DTR,
pub eve: EVE,
pub evd: EVD,
pub evm: EVM,
pub calv: CALV,
pub parameter: PARAMETER,
pub version: VERSION,
/* private fields */
}
Expand description
Register block
Fields§
§cr: CR
0x00 - Control Register
cv: CV
0x04 - Counter Value
sr: SR
0x08 - Status Register
scr: SCR
0x0c - Status Clear Register
ier: IER
0x10 - Interrupt Enable Register
idr: IDR
0x14 - Interrupt Disable Register
imr: IMR
0x18 - Interrupt Mask Register
wer: WER
0x1c - Wake Enable Register
ar0: AR0
0x20 - Alarm Register 0
ar1: AR1
0x24 - Alarm Register 1
pir0: PIR0
0x30 - Periodic Interval Register 0
pir1: PIR1
0x34 - Periodic Interval Register 1
clock: CLOCK
0x40 - Clock Control Register
dtr: DTR
0x44 - Digital Tuner Register
eve: EVE
0x48 - Event Enable Register
evd: EVD
0x4c - Event Disable Register
evm: EVM
0x50 - Event Mask Register
calv: CALV
0x54 - Calendar Value
parameter: PARAMETER
0xf0 - Parameter Register
version: VERSION
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§
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