pub struct R(/* private fields */);Expand description
Register UART_CONF0 reader
Implementations§
Source§impl R
impl R
Sourcepub fn uart_dtr_inv(&self) -> UART_DTR_INV_R
pub fn uart_dtr_inv(&self) -> UART_DTR_INV_R
Bit 24 - Set this bit to inverse uart dtr level
Sourcepub fn uart_rts_inv(&self) -> UART_RTS_INV_R
pub fn uart_rts_inv(&self) -> UART_RTS_INV_R
Bit 23 - Set this bit to inverse uart rts level
Sourcepub fn uart_txd_inv(&self) -> UART_TXD_INV_R
pub fn uart_txd_inv(&self) -> UART_TXD_INV_R
Bit 22 - Set this bit to inverse uart txd level
Sourcepub fn uart_dsr_inv(&self) -> UART_DSR_INV_R
pub fn uart_dsr_inv(&self) -> UART_DSR_INV_R
Bit 21 - Set this bit to inverse uart dsr level
Sourcepub fn uart_cts_inv(&self) -> UART_CTS_INV_R
pub fn uart_cts_inv(&self) -> UART_CTS_INV_R
Bit 20 - Set this bit to inverse uart cts level
Sourcepub fn uart_rxd_inv(&self) -> UART_RXD_INV_R
pub fn uart_rxd_inv(&self) -> UART_RXD_INV_R
Bit 19 - Set this bit to inverse uart rxd level
Sourcepub fn txfifo_rst(&self) -> TXFIFO_RST_R
pub fn txfifo_rst(&self) -> TXFIFO_RST_R
Bit 18 - Set this bit to reset uart tx fifo
Sourcepub fn rxfifo_rst(&self) -> RXFIFO_RST_R
pub fn rxfifo_rst(&self) -> RXFIFO_RST_R
Bit 17 - Set this bit to reset uart rx fifo
Sourcepub fn tx_flow_en(&self) -> TX_FLOW_EN_R
pub fn tx_flow_en(&self) -> TX_FLOW_EN_R
Bit 15 - Set this bit to enable uart tx hardware flow control
Sourcepub fn uart_loopback(&self) -> UART_LOOPBACK_R
pub fn uart_loopback(&self) -> UART_LOOPBACK_R
Bit 14 - Set this bit to enable uart loopback test mode
Sourcepub fn stop_bit_num(&self) -> STOP_BIT_NUM_R
pub fn stop_bit_num(&self) -> STOP_BIT_NUM_R
Bits 4:5 - Set stop bit: 1:1bit 2:1.5bits 3:2bits
Sourcepub fn parity_en(&self) -> PARITY_EN_R
pub fn parity_en(&self) -> PARITY_EN_R
Bit 1 - Set this bit to enable uart parity check
Methods from Deref<Target = R<UART_CONF0_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more