Struct esp32::uart0::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 30 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_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, /* private fields */
}
Expand description

Register block

Fields§

§fifo: FIFO

0x00 -

§int_raw: INT_RAW

0x04 -

§int_st: INT_ST

0x08 -

§int_ena: INT_ENA

0x0c -

§int_clr: INT_CLR

0x10 -

§clkdiv: CLKDIV

0x14 -

§autobaud: AUTOBAUD

0x18 -

§status: STATUS

0x1c -

§conf0: CONF0

0x20 -

§conf1: CONF1

0x24 -

§lowpulse: LOWPULSE

0x28 -

§highpulse: HIGHPULSE

0x2c -

§rxd_cnt: RXD_CNT

0x30 -

§flow_conf: FLOW_CONF

0x34 -

§sleep_conf: SLEEP_CONF

0x38 -

§swfc_conf: SWFC_CONF

0x3c -

§idle_conf: IDLE_CONF

0x40 -

§rs485_conf: RS485_CONF

0x44 -

§at_cmd_precnt: AT_CMD_PRECNT

0x48 -

§at_cmd_postcnt: AT_CMD_POSTCNT

0x4c -

§at_cmd_gaptout: AT_CMD_GAPTOUT

0x50 -

§at_cmd_char: AT_CMD_CHAR

0x54 -

§mem_conf: MEM_CONF

0x58 -

§mem_tx_status: MEM_TX_STATUS

0x5c -

§mem_rx_status: MEM_RX_STATUS

0x60 -

§mem_cnt_status: MEM_CNT_STATUS

0x64 -

§pospulse: POSPULSE

0x68 -

§negpulse: NEGPULSE

0x6c -

§date: DATE

0x78 -

§id: ID

0x7c -

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.