#[repr(C)]pub struct RegisterBlock {
pub tasks_trigger: [TASKS_TRIGGER; 16],
pub subscribe_trigger: [SUBSCRIBE_TRIGGER; 16],
pub events_triggered: [EVENTS_TRIGGERED; 16],
pub publish_triggered: [PUBLISH_TRIGGERED; 16],
pub inten: INTEN,
pub intenset: INTENSET,
pub intenclr: INTENCLR,
/* private fields */
}
Expand description
Register block
Fields§
§tasks_trigger: [TASKS_TRIGGER; 16]
0x00 - Description collection: Trigger n for triggering the corresponding TRIGGERED[n] event
subscribe_trigger: [SUBSCRIBE_TRIGGER; 16]
0x80 - Description collection: Subscribe configuration for task TRIGGER[n]
events_triggered: [EVENTS_TRIGGERED; 16]
0x100 - Description collection: Event number n generated by triggering the corresponding TRIGGER[n] task
publish_triggered: [PUBLISH_TRIGGERED; 16]
0x180 - Description collection: Publish configuration for event TRIGGERED[n]
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