Struct RegisterBlock

Source
#[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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.