Type Definition lpc81x_pac::lpc810::usart0::ctl::ADDRDET_W

source ·
pub type ADDRDET_W<'a, const O: u8> = BitWriter<'a, u32, CTL_SPEC, ADDRDET_A, O>;
Expand description

Field ADDRDET writer - Enable address detect mode.

Implementations§

Disabled. The USART presents all incoming data.

Enabled. The USART receiver ignores incoming data that does not have the most significant bit of the data (typically the 9th bit) = 1. When the data MSB bit = 1, the receiver treats the incoming data normally, generating a received data interrupt. Software can then check the data to see if this is an address that should be handled. If it is, the ADDRDET bit is cleared by software and further incoming data is handled normally.