[][src]Type Definition esp8266::uart1::uart_conf0::R

type R = R<u32, UART_CONF0>;

Reader of register UART_CONF0

Methods

impl R[src]

pub fn uart_dtr_inv(&self) -> UART_DTR_INV_R[src]

Bit 24 - Set this bit to inverse uart dtr level

pub fn uart_rts_inv(&self) -> UART_RTS_INV_R[src]

Bit 23 - Set this bit to inverse uart rts level

pub fn uart_txd_inv(&self) -> UART_TXD_INV_R[src]

Bit 22 - Set this bit to inverse uart txd level

pub fn uart_dsr_inv(&self) -> UART_DSR_INV_R[src]

Bit 21 - Set this bit to inverse uart dsr level

pub fn uart_cts_inv(&self) -> UART_CTS_INV_R[src]

Bit 20 - Set this bit to inverse uart cts level

pub fn uart_rxd_inv(&self) -> UART_RXD_INV_R[src]

Bit 19 - Set this bit to inverse uart rxd level

pub fn txfifo_rst(&self) -> TXFIFO_RST_R[src]

Bit 18 - Set this bit to reset uart tx fifo

pub fn rxfifo_rst(&self) -> RXFIFO_RST_R[src]

Bit 17 - Set this bit to reset uart rx fifo

pub fn tx_flow_en(&self) -> TX_FLOW_EN_R[src]

Bit 15 - Set this bit to enable uart tx hardware flow control

pub fn uart_loopback(&self) -> UART_LOOPBACK_R[src]

Bit 14 - Set this bit to enable uart loopback test mode

pub fn txd_brk(&self) -> TXD_BRK_R[src]

Bit 8 - RESERVED, DO NOT CHANGE THIS BIT

pub fn sw_dtr(&self) -> SW_DTR_R[src]

Bit 7 - sw dtr

pub fn sw_rts(&self) -> SW_RTS_R[src]

Bit 6 - sw rts

pub fn stop_bit_num(&self) -> STOP_BIT_NUM_R[src]

Bits 4:5 - Set stop bit: 1:1bit 2:1.5bits 3:2bits

pub fn bit_num(&self) -> BIT_NUM_R[src]

Bits 2:3 - Set bit num: 0:5bits 1:6bits 2:7bits 3:8bits

pub fn parity_en(&self) -> PARITY_EN_R[src]

Bit 1 - Set this bit to enable uart parity check

pub fn parity(&self) -> PARITY_R[src]

Bit 0 - Set parity check: 0:even 1:odd, UART CONFIG1