Struct mk20d7::uart3::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 22 fields pub bdh: BDH, pub bdl: BDL, pub c1: C1, pub c2: C2, pub s1: S1, pub s2: S2, pub c3: C3, pub d: D, pub ma1: MA1, pub ma2: MA2, pub c4: C4, pub c5: C5, pub ed: ED, pub modem: MODEM, pub ir: IR, pub pfifo: PFIFO, pub cfifo: CFIFO, pub sfifo: SFIFO, pub twfifo: TWFIFO, pub tcfifo: TCFIFO, pub rwfifo: RWFIFO, pub rcfifo: RCFIFO, /* private fields */
}
Expand description

Register block

Fields§

§bdh: BDH

0x00 - UART Baud Rate Registers:High

§bdl: BDL

0x01 - UART Baud Rate Registers: Low

§c1: C1

0x02 - UART Control Register 1

§c2: C2

0x03 - UART Control Register 2

§s1: S1

0x04 - UART Status Register 1

§s2: S2

0x05 - UART Status Register 2

§c3: C3

0x06 - UART Control Register 3

§d: D

0x07 - UART Data Register

§ma1: MA1

0x08 - UART Match Address Registers 1

§ma2: MA2

0x09 - UART Match Address Registers 2

§c4: C4

0x0a - UART Control Register 4

§c5: C5

0x0b - UART Control Register 5

§ed: ED

0x0c - UART Extended Data Register

§modem: MODEM

0x0d - UART Modem Register

§ir: IR

0x0e - UART Infrared Register

§pfifo: PFIFO

0x10 - UART FIFO Parameters

§cfifo: CFIFO

0x11 - UART FIFO Control Register

§sfifo: SFIFO

0x12 - UART FIFO Status Register

§twfifo: TWFIFO

0x13 - UART FIFO Transmit Watermark

§tcfifo: TCFIFO

0x14 - UART FIFO Transmit Count

§rwfifo: RWFIFO

0x15 - UART FIFO Receive Watermark

§rcfifo: RCFIFO

0x16 - UART FIFO Receive Count

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.