Struct esp32c2_hal::pac::uart0::rs485_conf::R
pub struct R(_);
Expand description
Register RS485_CONF
reader
Implementations§
§impl R
impl R
pub fn rs485tx_rx_en(&self) -> BitReaderRaw<bool>
pub fn rs485tx_rx_en(&self) -> BitReaderRaw<bool>
Bit 3 - Set this bit to enable receiver could receive data when the transmitter is transmitting data in rs485 mode.
pub fn rs485rxby_tx_en(&self) -> BitReaderRaw<bool>
pub fn rs485rxby_tx_en(&self) -> BitReaderRaw<bool>
Bit 4 - 1’h1: enable rs485 transmitter to send data when rs485 receiver line is busy.
pub fn rs485_rx_dly_num(&self) -> BitReaderRaw<bool>
pub fn rs485_rx_dly_num(&self) -> BitReaderRaw<bool>
Bit 5 - This register is used to delay the receiver’s internal data signal.
pub fn rs485_tx_dly_num(&self) -> FieldReaderRaw<u8, u8>
pub fn rs485_tx_dly_num(&self) -> FieldReaderRaw<u8, u8>
Bits 6:9 - This register is used to delay the transmitter’s internal data signal.
Methods from Deref<Target = R<RS485_CONF_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<RS485_CONF_SPEC>> for R
impl From<R<RS485_CONF_SPEC>> for R
§fn from(reader: R<RS485_CONF_SPEC>) -> R
fn from(reader: R<RS485_CONF_SPEC>) -> R
Converts to this type from the input type.