Struct mk20d7::uart2::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