Type Definition lpc81x_pac::lpc810::usart0::cfg::ENABLE_W

source ·
pub type ENABLE_W<'a, const O: u8> = BitWriter<'a, u32, CFG_SPEC, ENABLE_A, O>;
Expand description

Field ENABLE writer - USART Enable.

Implementations§

Disabled. The USART is disabled and the internal state machine and counters are reset. While Enable = 0, all USART interrupts and DMA transfers are disabled. When Enable is set again, CFG and most other control bits remain unchanged. When re-enabled, the USART will immediately be ready to transmit because the transmitter has been reset and is therefore available.

Enabled. The USART is enabled for operation.