[][src]Type Definition lpc54606_pac::usart0::cfg::W

type W = W<u32, CFG>;

Writer for register CFG

Methods

impl W[src]

pub fn enable(&mut self) -> ENABLE_W[src]

Bit 0 - USART Enable.

pub fn datalen(&mut self) -> DATALEN_W[src]

Bits 2:3 - Selects the data size for the USART.

pub fn paritysel(&mut self) -> PARITYSEL_W[src]

Bits 4:5 - Selects what type of parity is used by the USART.

pub fn stoplen(&mut self) -> STOPLEN_W[src]

Bit 6 - Number of stop bits appended to transmitted data. Only a single stop bit is required for received data.

pub fn mode32k(&mut self) -> MODE32K_W[src]

Bit 7 - Selects standard or 32 kHz clocking mode.

pub fn linmode(&mut self) -> LINMODE_W[src]

Bit 8 - LIN break mode enable.

pub fn ctsen(&mut self) -> CTSEN_W[src]

Bit 9 - CTS Enable. Determines whether CTS is used for flow control. CTS can be from the input pin, or from the USART's own RTS if loopback mode is enabled.

pub fn syncen(&mut self) -> SYNCEN_W[src]

Bit 11 - Selects synchronous or asynchronous operation.

pub fn clkpol(&mut self) -> CLKPOL_W[src]

Bit 12 - Selects the clock polarity and sampling edge of received data in synchronous mode.

pub fn syncmst(&mut self) -> SYNCMST_W[src]

Bit 14 - Synchronous mode Master select.

pub fn loop_(&mut self) -> LOOP_W[src]

Bit 15 - Selects data loopback mode.

pub fn oeta(&mut self) -> OETA_W[src]

Bit 18 - Output Enable Turnaround time enable for RS-485 operation.

pub fn autoaddr(&mut self) -> AUTOADDR_W[src]

Bit 19 - Automatic Address matching enable.

pub fn oesel(&mut self) -> OESEL_W[src]

Bit 20 - Output Enable Select.

pub fn oepol(&mut self) -> OEPOL_W[src]

Bit 21 - Output Enable Polarity.

pub fn rxpol(&mut self) -> RXPOL_W[src]

Bit 22 - Receive data polarity.

pub fn txpol(&mut self) -> TXPOL_W[src]

Bit 23 - Transmit data polarity.