Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 18 fields pub interrupt_state: INTERRUPT_STATE, pub terminate_state: TERMINATE_STATE, pub terminate_clear: TERMINATE_CLEAR, pub error_state: ERROR_STATE, pub error_clear: ERROR_CLEAR, pub terminate_state_raw: TERMINATE_STATE_RAW, pub error_state_raw: ERROR_STATE_RAW, pub channel_state: CHANNEL_STATE, pub burst_request: BURST_REQUEST, pub single_request: SINGLE_REQUEST, pub last_burst_request: LAST_BURST_REQUEST, pub last_single_request: LAST_SINGLE_REQUEST, pub config: CONFIG, pub synchronize: SYNCHRONIZE, pub channel0: CHANNEL, pub channel1: CHANNEL, pub channel2: CHANNEL, pub channel3: CHANNEL, /* private fields */
}
Expand description

Register block

Fields§

§interrupt_state: INTERRUPT_STATE

0x00 - ??

§terminate_state: TERMINATE_STATE

0x04 - ??

§terminate_clear: TERMINATE_CLEAR

0x08 - ??

§error_state: ERROR_STATE

0x0c - ??

§error_clear: ERROR_CLEAR

0x10 - ??

§terminate_state_raw: TERMINATE_STATE_RAW

0x14 - ??

§error_state_raw: ERROR_STATE_RAW

0x18 - ??

§channel_state: CHANNEL_STATE

0x1c - ??

§burst_request: BURST_REQUEST

0x20 - ??

§single_request: SINGLE_REQUEST

0x24 - ??

§last_burst_request: LAST_BURST_REQUEST

0x28 - ??

§last_single_request: LAST_SINGLE_REQUEST

0x2c - ??

§config: CONFIG

0x30 - ??

§synchronize: SYNCHRONIZE

0x34 - ??

§channel0: CHANNEL

0x100..0x114 - Direct Memory Access channel

§channel1: CHANNEL

0x200..0x214 - Direct Memory Access channel

§channel2: CHANNEL

0x300..0x314 - Direct Memory Access channel

§channel3: CHANNEL

0x400..0x414 - Direct Memory Access channel

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.