[][src]Struct esp32::uart::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub rx_fifo: RX_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_conf: SWFC_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 mem_cnt_status: MEM_CNT_STATUS,
    pub pospulse: POSPULSE,
    pub negpulse: NEGPULSE,
    pub date: DATE,
    pub id: ID,
    pub tx_fifo: TX_FIFO,
    // some fields omitted
}

Register block

Fields

rx_fifo: RX_FIFO

0x00 - UART_RX_FIFO

int_raw: INT_RAW

0x04 - UART_INT_RAW

int_st: INT_ST

0x08 - UART_INT_ST

int_ena: INT_ENA

0x0c - UART_INT_ENA

int_clr: INT_CLR

0x10 - UART_INT_CLR

clkdiv: CLKDIV

0x14 - UART_CLKDIV

autobaud: AUTOBAUD

0x18 - UART_AUTOBAUD

status: STATUS

0x1c - UART_STATUS

conf0: CONF0

0x20 - UART_CONF0

conf1: CONF1

0x24 - UART_CONF1

lowpulse: LOWPULSE

0x28 - UART_LOWPULSE

highpulse: HIGHPULSE

0x2c - UART_HIGHPULSE

rxd_cnt: RXD_CNT

0x30 - UART_RXD_CNT

flow_conf: FLOW_CONF

0x34 - UART_FLOW_CONF

sleep_conf: SLEEP_CONF

0x38 - UART_SLEEP_CONF

swfc_conf: SWFC_CONF

0x3c - UART_SWFC_CONF

idle_conf: IDLE_CONF

0x40 - UART_IDLE_CONF

rs485_conf: RS485_CONF

0x44 - UART_RS485_CONF

at_cmd_precnt: AT_CMD_PRECNT

0x48 - UART_AT_CMD_PRECNT

at_cmd_postcnt: AT_CMD_POSTCNT

0x4c - UART_AT_CMD_POSTCNT

at_cmd_gaptout: AT_CMD_GAPTOUT

0x50 - UART_AT_CMD_GAPTOUT

at_cmd_char: AT_CMD_CHAR

0x54 - UART_AT_CMD_CHAR

mem_conf: MEM_CONF

0x58 - UART_MEM_CONF

mem_tx_status: MEM_TX_STATUS

0x5c - UART_MEM_TX_STATUS

mem_rx_status: MEM_RX_STATUS

0x60 - UART_MEM_RX_STATUS

mem_cnt_status: MEM_CNT_STATUS

0x64 - UART_MEM_CNT_STATUS

pospulse: POSPULSE

0x68 - UART_POSPULSE

negpulse: NEGPULSE

0x6c - UART_NEGPULSE

date: DATE

0x78 - UART_DATE

id: ID

0x7c - UART_ID

tx_fifo: TX_FIFO

0x200c0000 - UART_TX_FIFO

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, 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.