[][src]Struct mk66f18::uart0::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,
    pub c7816: C7816,
    pub ie7816: IE7816,
    pub is7816: IS7816,
    pub wp7816: WP7816,
    pub wn7816: WN7816,
    pub wf7816: WF7816,
    pub et7816: ET7816,
    pub tl7816: TL7816,
    pub ap7816a_t0: AP7816A_T0,
    pub ap7816b_t0: AP7816B_T0,
    pub wgp7816_t1: WGP7816_T1,
    pub wp7816c_t1: WP7816C_T1,
    // 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

c7816: C7816

0x18 - UART 7816 Control Register

ie7816: IE7816

0x19 - UART 7816 Interrupt Enable Register

is7816: IS7816

0x1a - UART 7816 Interrupt Status Register

wp7816: WP7816

0x1b - UART 7816 Wait Parameter Register

wn7816: WN7816

0x1c - UART 7816 Wait N Register

wf7816: WF7816

0x1d - UART 7816 Wait FD Register

et7816: ET7816

0x1e - UART 7816 Error Threshold Register

tl7816: TL7816

0x1f - UART 7816 Transmit Length Register

ap7816a_t0: AP7816A_T0

0x3a - UART 7816 ATR Duration Timer Register A

ap7816b_t0: AP7816B_T0

0x3b - UART 7816 ATR Duration Timer Register B

wgp7816_t1: WGP7816_T1

0x3e - UART 7816 Wait and Guard Parameter Register

wp7816c_t1: WP7816C_T1

0x3f - UART 7816 Wait Parameter Register C

Methods

impl RegisterBlock[src]

pub fn wp7816a_t1(&self) -> &WP7816A_T1[src]

0x3c - UART 7816 Wait Parameter Register A

pub fn wp7816a_t1_mut(&self) -> &mut WP7816A_T1[src]

0x3c - UART 7816 Wait Parameter Register A

pub fn wp7816a_t0(&self) -> &WP7816A_T0[src]

0x3c - UART 7816 Wait Parameter Register A

pub fn wp7816a_t0_mut(&self) -> &mut WP7816A_T0[src]

0x3c - UART 7816 Wait Parameter Register A

pub fn wp7816b_t1(&self) -> &WP7816B_T1[src]

0x3d - UART 7816 Wait Parameter Register B

pub fn wp7816b_t1_mut(&self) -> &mut WP7816B_T1[src]

0x3d - UART 7816 Wait Parameter Register B

pub fn wp7816b_t0(&self) -> &WP7816B_T0[src]

0x3d - UART 7816 Wait Parameter Register B

pub fn wp7816b_t0_mut(&self) -> &mut WP7816B_T0[src]

0x3d - UART 7816 Wait Parameter Register B

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self