RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 30 fields pub isr: ISR, pub ifcr: IFCR, pub ccr1: CCR1, pub cndtr1: CNDTR1, pub cpar1: CPAR1, pub cmar1: CMAR1, pub ccr2: CCR2, pub cndtr2: CNDTR2, pub cpar2: CPAR2, pub cmar2: CMAR2, pub ccr3: CCR3, pub cndtr3: CNDTR3, pub cpar3: CPAR3, pub cmar3: CMAR3, pub ccr4: CCR4, pub cndtr4: CNDTR4, pub cpar4: CPAR4, pub cmar4: CMAR4, pub ccr5: CCR5, pub cndtr5: CNDTR5, pub cpar5: CPAR5, pub cmar5: CMAR5, pub ccr6: CCR6, pub cndtr6: CNDTR6, pub cpar6: CPAR6, pub cmar6: CMAR6, pub ccr7: CCR7, pub cndtr7: CNDTR7, pub cpar7: CPAR7, pub cmar7: CMAR7, /* private fields */
}
Expand description

Register block

Fields§

§isr: ISR

0x00 - interrupt status register

§ifcr: IFCR

0x04 - interrupt flag clear register

§ccr1: CCR1

0x08 - channel x configuration register

§cndtr1: CNDTR1

0x0c - channel x number of data register

§cpar1: CPAR1

0x10 - channel x peripheral address register

§cmar1: CMAR1

0x14 - channel x memory address register

§ccr2: CCR2

0x1c - channel x configuration register

§cndtr2: CNDTR2

0x20 - channel x number of data register

§cpar2: CPAR2

0x24 - channel x peripheral address register

§cmar2: CMAR2

0x28 - channel x memory address register

§ccr3: CCR3

0x30 - channel x configuration register

§cndtr3: CNDTR3

0x34 - channel x number of data register

§cpar3: CPAR3

0x38 - channel x peripheral address register

§cmar3: CMAR3

0x3c - channel x memory address register

§ccr4: CCR4

0x44 - channel x configuration register

§cndtr4: CNDTR4

0x48 - channel x number of data register

§cpar4: CPAR4

0x4c - channel x peripheral address register

§cmar4: CMAR4

0x50 - channel x memory address register

§ccr5: CCR5

0x58 - channel x configuration register

§cndtr5: CNDTR5

0x5c - channel x number of data register

§cpar5: CPAR5

0x60 - channel x peripheral address register

§cmar5: CMAR5

0x64 - channel x memory address register

§ccr6: CCR6

0x6c - channel x configuration register

§cndtr6: CNDTR6

0x70 - channel x number of data register

§cpar6: CPAR6

0x74 - channel x peripheral address register

§cmar6: CMAR6

0x78 - channel x memory address register

§ccr7: CCR7

0x80 - channel x configuration register

§cndtr7: CNDTR7

0x84 - channel x number of data register

§cpar7: CPAR7

0x88 - channel x peripheral address register

§cmar7: CMAR7

0x8c - channel x memory address register

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.