RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 16 fields pub creg0: CREG0, pub m4memmap: M4MEMMAP, pub creg5: CREG5, pub dmamux: DMAMUX, pub flashcfga: FLASHCFGA, pub flashcfgb: FLASHCFGB, pub etbcfg: ETBCFG, pub creg6: CREG6, pub m4txevent: M4TXEVENT, pub chipid: CHIPID, pub m0submemmap: M0SUBMEMMAP, pub m0subtxevent: M0SUBTXEVENT, pub m0apptxevent: M0APPTXEVENT, pub m0appmemmap: M0APPMEMMAP, pub usb0fladj: USB0FLADJ, pub usb1fladj: USB1FLADJ, /* private fields */
}
Expand description

Register block

Fields§

§creg0: CREG0

0x04 - Chip configuration register 32 kHz oscillator output and BOD control register.

§m4memmap: M4MEMMAP

0x100 - ARM Cortex-M4 memory mapping

§creg5: CREG5

0x118 - Chip configuration register 5. Controls JTAG access.

§dmamux: DMAMUX

0x11c - DMA mux control

§flashcfga: FLASHCFGA

0x120 - Flash accelerator configuration register for flash bank A

§flashcfgb: FLASHCFGB

0x124 - Flash accelerator configuration register for flash bank B

§etbcfg: ETBCFG

0x128 - ETB RAM configuration

§creg6: CREG6

0x12c - Chip configuration register 6. Controls multiple functions : Ethernet interface, SCT output, I2S0/1 inputs, EMC clock.

§m4txevent: M4TXEVENT

0x130 - Cortex-M4 TXEV event clear

§chipid: CHIPID

0x200 - Part ID

§m0submemmap: M0SUBMEMMAP

0x308 - ARM Cortex-M0SUB memory mapping

§m0subtxevent: M0SUBTXEVENT

0x314 - Cortex-M0SUB TXEV event clear

§m0apptxevent: M0APPTXEVENT

0x400 - Cortex-M0APP TXEV event clear

§m0appmemmap: M0APPMEMMAP

0x404 - ARM Cortex-M0APP memory mapping

§usb0fladj: USB0FLADJ

0x500 - USB0 frame length adjust register

§usb1fladj: USB1FLADJ

0x600 - USB1 frame length adjust 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.