Struct atsam4lc2a_pac::freqm::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub ctrl: CTRL,
pub mode: MODE,
pub status: STATUS,
pub value: VALUE,
pub ier: IER,
pub idr: IDR,
pub imr: IMR,
pub isr: ISR,
pub icr: ICR,
pub version: VERSION,
/* private fields */
}
Expand description
Register block
Fields§
§ctrl: CTRL
0x00 - Control register
mode: MODE
0x04 - Mode register
status: STATUS
0x08 - Status register
value: VALUE
0x0c - Value register
ier: IER
0x10 - Interrupt Enable Register
idr: IDR
0x14 - Interrupt Diable Register
imr: IMR
0x18 - Interrupt Mask Register
isr: ISR
0x1c - Interrupt Status Register
icr: ICR
0x20 - Interrupt Clear Register
version: VERSION
0x3fc - 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