[][src]Struct k22f::uart1::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    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,
    // some fields omitted
}

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.