Type Alias esp32::uart0::idle_conf::W

source ·
pub type W = W<IDLE_CONF_SPEC>;
Expand description

Register IDLE_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W<'_, IDLE_CONF_SPEC>

Bits 0:9 - when receiver takes more time than this register value to receive a byte data. it will produce frame end signal for uhci to stop receiving data.

source

pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W<'_, IDLE_CONF_SPEC>

Bits 10:19 - This register is used to configure the duration time between transfers.

source

pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W<'_, IDLE_CONF_SPEC>

Bits 20:27 - This register is used to configure the num of 0 send after the process of sending data is done. it is active when txd_brk is set to 1.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual