RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 15 fields pub txbuf: [TXBUF; 256], pub rxbuf: [RXBUF; 256], pub if_: IF, pub ie: IE, pub sr: SR, pub cr: CR, pub ffsz: FFSZ, pub ffthr: FFTHR, pub txtrsz: TXTRSZ, pub frameiv: FRAMEIV, pub framerm: FRAMERM, pub framenr: FRAMENR, pub portsr: PORTSR, pub token: TOKEN, pub otgcsr: OTGCSR, /* private fields */
}
Expand description

Register block

Fields§

§txbuf: [TXBUF; 256]

0x00..0x400 - TXBUF register

§rxbuf: [RXBUF; 256]

0x4000..0x4400 - RXBUF register

§if_: IF

0x4c00 - IF register

§ie: IE

0x4c04 - IE register

§sr: SR

0x4c08 - SR register

§cr: CR

0x4c0c - CR register

§ffsz: FFSZ

0x4c10 - FFSZ register

§ffthr: FFTHR

0x4c14 - FFTHR register

§txtrsz: TXTRSZ

0x4c18 - TXTRSZ register

§frameiv: FRAMEIV

0x5034 - FRAMEIV register

§framerm: FRAMERM

0x5038 - FRAMERM register

§framenr: FRAMENR

0x503c - FRAMENR register

§portsr: PORTSR

0x5054 - PORTSR register

§token: TOKEN

0x5090 - TOKEN register

§otgcsr: OTGCSR

0x5094 - OTGCSR 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, 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.