pub struct W(/* private fields */);
Expand description
Register UART_CONF0
writer
Implementations§
Source§impl W
impl W
Sourcepub fn uart_dtr_inv(&mut self) -> UART_DTR_INV_W<'_>
pub fn uart_dtr_inv(&mut self) -> UART_DTR_INV_W<'_>
Bit 24 - Set this bit to inverse uart dtr level
Sourcepub fn uart_rts_inv(&mut self) -> UART_RTS_INV_W<'_>
pub fn uart_rts_inv(&mut self) -> UART_RTS_INV_W<'_>
Bit 23 - Set this bit to inverse uart rts level
Sourcepub fn uart_txd_inv(&mut self) -> UART_TXD_INV_W<'_>
pub fn uart_txd_inv(&mut self) -> UART_TXD_INV_W<'_>
Bit 22 - Set this bit to inverse uart txd level
Sourcepub fn uart_dsr_inv(&mut self) -> UART_DSR_INV_W<'_>
pub fn uart_dsr_inv(&mut self) -> UART_DSR_INV_W<'_>
Bit 21 - Set this bit to inverse uart dsr level
Sourcepub fn uart_cts_inv(&mut self) -> UART_CTS_INV_W<'_>
pub fn uart_cts_inv(&mut self) -> UART_CTS_INV_W<'_>
Bit 20 - Set this bit to inverse uart cts level
Sourcepub fn uart_rxd_inv(&mut self) -> UART_RXD_INV_W<'_>
pub fn uart_rxd_inv(&mut self) -> UART_RXD_INV_W<'_>
Bit 19 - Set this bit to inverse uart rxd level
Sourcepub fn txfifo_rst(&mut self) -> TXFIFO_RST_W<'_>
pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W<'_>
Bit 18 - Set this bit to reset uart tx fifo
Sourcepub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W<'_>
pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W<'_>
Bit 17 - Set this bit to reset uart rx fifo
Sourcepub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W<'_>
pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W<'_>
Bit 15 - Set this bit to enable uart tx hardware flow control
Sourcepub fn uart_loopback(&mut self) -> UART_LOOPBACK_W<'_>
pub fn uart_loopback(&mut self) -> UART_LOOPBACK_W<'_>
Bit 14 - Set this bit to enable uart loopback test mode
Sourcepub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W<'_>
pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W<'_>
Bits 4:5 - Set stop bit: 1:1bit 2:1.5bits 3:2bits
Sourcepub fn bit_num(&mut self) -> BIT_NUM_W<'_>
pub fn bit_num(&mut self) -> BIT_NUM_W<'_>
Bits 2:3 - Set bit num: 0:5bits 1:6bits 2:7bits 3:8bits
Sourcepub fn parity_en(&mut self) -> PARITY_EN_W<'_>
pub fn parity_en(&mut self) -> PARITY_EN_W<'_>
Bit 1 - Set this bit to enable uart parity check
Methods from Deref<Target = W<UART_CONF0_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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