Struct atsamd21j::eic::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub ctrl: Reg<CTRL_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub nmictrl: Reg<NMICTRL_SPEC>,
pub nmiflag: Reg<NMIFLAG_SPEC>,
pub evctrl: Reg<EVCTRL_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub wakeup: Reg<WAKEUP_SPEC>,
pub config: [Reg<CONFIG_SPEC>; 2],
}Expand description
Register block
Fields
ctrl: Reg<CTRL_SPEC>0x00 - Control
status: Reg<STATUS_SPEC>0x01 - Status
nmictrl: Reg<NMICTRL_SPEC>0x02 - Non-Maskable Interrupt Control
nmiflag: Reg<NMIFLAG_SPEC>0x03 - Non-Maskable Interrupt Flag Status and Clear
evctrl: Reg<EVCTRL_SPEC>0x04 - Event Control
intenclr: Reg<INTENCLR_SPEC>0x08 - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>0x0c - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>0x10 - Interrupt Flag Status and Clear
wakeup: Reg<WAKEUP_SPEC>0x14 - Wake-Up Enable
config: [Reg<CONFIG_SPEC>; 2]0x18..0x20 - Configuration n
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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