Struct esp32c2::uart0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 33 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 rx_filt: RX_FILT,
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 txbrk_conf: TXBRK_CONF,
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 clk_conf: CLK_CONF,
pub date: DATE,
pub id: ID,
}Expand description
Register block
Fields
fifo: FIFO0x00 - FIFO data register
int_raw: INT_RAW0x04 - Raw interrupt status
int_st: INT_ST0x08 - Masked interrupt status
int_ena: INT_ENA0x0c - Interrupt enable bits
int_clr: INT_CLR0x10 - Interrupt clear bits
clkdiv: CLKDIV0x14 - Clock divider configuration
rx_filt: RX_FILT0x18 - Rx Filter configuration
status: STATUS0x1c - UART status register
conf0: CONF00x20 - a
conf1: CONF10x24 - Configuration register 1
lowpulse: LOWPULSE0x28 - Autobaud minimum low pulse duration register
highpulse: HIGHPULSE0x2c - Autobaud minimum high pulse duration register
rxd_cnt: RXD_CNT0x30 - Autobaud edge change count register
flow_conf: FLOW_CONF0x34 - Software flow-control configuration
sleep_conf: SLEEP_CONF0x38 - Sleep-mode configuration
swfc_conf0: SWFC_CONF00x3c - Software flow-control character configuration
swfc_conf1: SWFC_CONF10x40 - Software flow-control character configuration
txbrk_conf: TXBRK_CONF0x44 - Tx Break character configuration
idle_conf: IDLE_CONF0x48 - Frame-end idle configuration
rs485_conf: RS485_CONF0x4c - RS485 mode configuration
at_cmd_precnt: AT_CMD_PRECNT0x50 - Pre-sequence timing configuration
at_cmd_postcnt: AT_CMD_POSTCNT0x54 - Post-sequence timing configuration
at_cmd_gaptout: AT_CMD_GAPTOUT0x58 - Timeout configuration
at_cmd_char: AT_CMD_CHAR0x5c - AT escape sequence detection configuration
mem_conf: MEM_CONF0x60 - UART threshold and allocation configuration
mem_tx_status: MEM_TX_STATUS0x64 - Tx-FIFO write and read offset address.
mem_rx_status: MEM_RX_STATUS0x68 - Rx-FIFO write and read offset address.
fsm_status: FSM_STATUS0x6c - UART transmit and receive status.
pospulse: POSPULSE0x70 - Autobaud high pulse register
negpulse: NEGPULSE0x74 - Autobaud low pulse register
clk_conf: CLK_CONF0x78 - UART core clock configuration
date: DATE0x7c - UART Version register
id: ID0x80 - UART ID register