Struct atsame54n::eic::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 13 fields
pub ctrla: CTRLA,
pub nmictrl: NMICTRL,
pub nmiflag: NMIFLAG,
pub syncbusy: SYNCBUSY,
pub evctrl: EVCTRL,
pub intenclr: INTENCLR,
pub intenset: INTENSET,
pub intflag: INTFLAG,
pub asynch: ASYNCH,
pub config: [CONFIG; 2],
pub debouncen: DEBOUNCEN,
pub dprescaler: DPRESCALER,
pub pinstate: PINSTATE,
/* private fields */
}
Expand description
Register block
Fields§
§ctrla: CTRLA
0x00 - Control A
nmictrl: NMICTRL
0x01 - Non-Maskable Interrupt Control
nmiflag: NMIFLAG
0x02 - Non-Maskable Interrupt Flag Status and Clear
syncbusy: SYNCBUSY
0x04 - Synchronization Busy
evctrl: EVCTRL
0x08 - Event Control
intenclr: INTENCLR
0x0c - Interrupt Enable Clear
intenset: INTENSET
0x10 - Interrupt Enable Set
intflag: INTFLAG
0x14 - Interrupt Flag Status and Clear
asynch: ASYNCH
0x18 - External Interrupt Asynchronous Mode
config: [CONFIG; 2]
0x1c..0x24 - External Interrupt Sense Configuration
debouncen: DEBOUNCEN
0x30 - Debouncer Enable
dprescaler: DPRESCALER
0x34 - Debouncer Prescaler
pinstate: PINSTATE
0x38 - Pin State
Auto Trait Implementations§
impl !Freeze for RegisterBlock
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