[][src]Struct esp8266::uart0::uart_conf0::W

pub struct W(_);

Writer for register UART_CONF0

Implementations

impl W[src]

pub fn uart_dtr_inv(&mut self) -> UART_DTR_INV_W<'_>[src]

Bit 24 - Set this bit to inverse uart dtr level

pub fn uart_rts_inv(&mut self) -> UART_RTS_INV_W<'_>[src]

Bit 23 - Set this bit to inverse uart rts level

pub fn uart_txd_inv(&mut self) -> UART_TXD_INV_W<'_>[src]

Bit 22 - Set this bit to inverse uart txd level

pub fn uart_dsr_inv(&mut self) -> UART_DSR_INV_W<'_>[src]

Bit 21 - Set this bit to inverse uart dsr level

pub fn uart_cts_inv(&mut self) -> UART_CTS_INV_W<'_>[src]

Bit 20 - Set this bit to inverse uart cts level

pub fn uart_rxd_inv(&mut self) -> UART_RXD_INV_W<'_>[src]

Bit 19 - Set this bit to inverse uart rxd level

pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W<'_>[src]

Bit 18 - Set this bit to reset uart tx fifo

pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W<'_>[src]

Bit 17 - Set this bit to reset uart rx fifo

pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W<'_>[src]

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

pub fn uart_loopback(&mut self) -> UART_LOOPBACK_W<'_>[src]

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

pub fn txd_brk(&mut self) -> TXD_BRK_W<'_>[src]

Bit 8 - RESERVED, DO NOT CHANGE THIS BIT

pub fn sw_dtr(&mut self) -> SW_DTR_W<'_>[src]

Bit 7 - sw dtr

pub fn sw_rts(&mut self) -> SW_RTS_W<'_>[src]

Bit 6 - sw rts

pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W<'_>[src]

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

pub fn bit_num(&mut self) -> BIT_NUM_W<'_>[src]

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

pub fn parity_en(&mut self) -> PARITY_EN_W<'_>[src]

Bit 1 - Set this bit to enable uart parity check

pub fn parity(&mut self) -> PARITY_W<'_>[src]

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

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

Writes raw bits to the register.

Methods from Deref<Target = W<UART_CONF0_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux)[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<UART_CONF0_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<UART_CONF0_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.