Struct nrf52840_pac::egu0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub tasks_trigger: [TASKS_TRIGGER; 16],
pub events_triggered: [EVENTS_TRIGGERED; 16],
pub inten: INTEN,
pub intenset: INTENSET,
pub intenclr: INTENCLR,
/* private fields */
}
Expand description
Register block
Fields§
§tasks_trigger: [TASKS_TRIGGER; 16]
0x00..0x40 - Description collection[n]: Trigger n for triggering the corresponding TRIGGERED[n] event
events_triggered: [EVENTS_TRIGGERED; 16]
0x100..0x140 - Description collection[n]: Event number n generated by triggering the corresponding TRIGGER[n] task
inten: INTEN
0x300 - Enable or disable interrupt
intenset: INTENSET
0x304 - Enable interrupt
intenclr: INTENCLR
0x308 - Disable interrupt
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