#[repr(C)]
pub struct RegisterBlock {
Show 31 fields pub fifo: FIFO, pub int_raw: INT_RAW, pub int_st: INT_ST, pub int_ena: INT_ENA, pub int_clr: INT_CLR, pub clkdiv: CLKDIV, pub autobaud: AUTOBAUD, pub status: STATUS, pub conf0: CONF0, pub conf1: CONF1, pub lowpulse: LOWPULSE, pub highpulse: HIGHPULSE, pub rxd_cnt: RXD_CNT, pub flow_conf: FLOW_CONF, pub sleep_conf: SLEEP_CONF, pub swfc_conf0: SWFC_CONF0, pub swfc_conf1: SWFC_CONF1, pub idle_conf: IDLE_CONF, pub rs485_conf: RS485_CONF, pub at_cmd_precnt: AT_CMD_PRECNT, pub at_cmd_postcnt: AT_CMD_POSTCNT, pub at_cmd_gaptout: AT_CMD_GAPTOUT, pub at_cmd_char: AT_CMD_CHAR, pub mem_conf: MEM_CONF, pub mem_tx_status: MEM_TX_STATUS, pub mem_rx_status: MEM_RX_STATUS, pub fsm_status: FSM_STATUS, pub pospulse: POSPULSE, pub negpulse: NEGPULSE, pub date: DATE, pub id: ID,
}
Expand description

Register block

Fields§

§fifo: FIFO

0x00 - FIFO data register

§int_raw: INT_RAW

0x04 - Raw interrupt status

§int_st: INT_ST

0x08 - Masked interrupt status

§int_ena: INT_ENA

0x0c - Interrupt enable bits

§int_clr: INT_CLR

0x10 - Interrupt clear bits

§clkdiv: CLKDIV

0x14 - Clock divider configuration

§autobaud: AUTOBAUD

0x18 - Autobaud configuration register

§status: STATUS

0x1c - UART status register

§conf0: CONF0

0x20 - Configuration register 0

§conf1: CONF1

0x24 - Configuration register 1

§lowpulse: LOWPULSE

0x28 - Autobaud minimum low pulse duration register

§highpulse: HIGHPULSE

0x2c - Autobaud minimum high pulse duration register

§rxd_cnt: RXD_CNT

0x30 - Autobaud edge change count register

§flow_conf: FLOW_CONF

0x34 - Software flow control configuration

§sleep_conf: SLEEP_CONF

0x38 - Sleep mode configuration

§swfc_conf0: SWFC_CONF0

0x3c - Software flow control character configuration

§swfc_conf1: SWFC_CONF1

0x40 - Software flow-control character configuration

§idle_conf: IDLE_CONF

0x44 - Frame end idle time configuration

§rs485_conf: RS485_CONF

0x48 - RS485 mode configuration

§at_cmd_precnt: AT_CMD_PRECNT

0x4c - Pre-sequence timing configuration

§at_cmd_postcnt: AT_CMD_POSTCNT

0x50 - Post-sequence timing configuration

§at_cmd_gaptout: AT_CMD_GAPTOUT

0x54 - Timeout configuration

§at_cmd_char: AT_CMD_CHAR

0x58 - AT escape sequence selection configuration

§mem_conf: MEM_CONF

0x5c - UART threshold and allocation configuration

§mem_tx_status: MEM_TX_STATUS

0x60 - TX FIFO write and read offset address

§mem_rx_status: MEM_RX_STATUS

0x64 - RX FIFO write and read offset address

§fsm_status: FSM_STATUS

0x68 - UART transmitter and receiver status

§pospulse: POSPULSE

0x6c - Autobaud high pulse register

§negpulse: NEGPULSE

0x70 - Autobaud low pulse register

§date: DATE

0x74 - UART version control register

§id: ID

0x78 - UART ID register

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.