Struct atsamd51g::eic::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 13 fields
pub ctrla: Reg<CTRLA_SPEC>,
pub nmictrl: Reg<NMICTRL_SPEC>,
pub nmiflag: Reg<NMIFLAG_SPEC>,
pub syncbusy: Reg<SYNCBUSY_SPEC>,
pub evctrl: Reg<EVCTRL_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub asynch: Reg<ASYNCH_SPEC>,
pub config: [Reg<CONFIG_SPEC>; 2],
pub debouncen: Reg<DEBOUNCEN_SPEC>,
pub dprescaler: Reg<DPRESCALER_SPEC>,
pub pinstate: Reg<PINSTATE_SPEC>,
/* private fields */
}Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>0x00 - Control A
nmictrl: Reg<NMICTRL_SPEC>0x01 - Non-Maskable Interrupt Control
nmiflag: Reg<NMIFLAG_SPEC>0x02 - Non-Maskable Interrupt Flag Status and Clear
syncbusy: Reg<SYNCBUSY_SPEC>0x04 - Synchronization Busy
evctrl: Reg<EVCTRL_SPEC>0x08 - Event Control
intenclr: Reg<INTENCLR_SPEC>0x0c - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>0x10 - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>0x14 - Interrupt Flag Status and Clear
asynch: Reg<ASYNCH_SPEC>0x18 - External Interrupt Asynchronous Mode
config: [Reg<CONFIG_SPEC>; 2]0x1c..0x24 - External Interrupt Sense Configuration
debouncen: Reg<DEBOUNCEN_SPEC>0x30 - Debouncer Enable
dprescaler: Reg<DPRESCALER_SPEC>0x34 - Debouncer Prescaler
pinstate: Reg<PINSTATE_SPEC>0x38 - Pin State
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