Struct esp32_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 loopback transmitter’s output data signal to receiver’s input data signal.
pub fn rs485rxby_tx_en(&self) -> BitReaderRaw<bool>
pub fn rs485rxby_tx_en(&self) -> BitReaderRaw<bool>
Bit 4 - 1: enable rs485’s transmitter to send data when rs485’s receiver is busy. 0:rs485’s transmitter should not send data when its receiver 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.