31.3.3.2.2 Address-mark wakeup
When wake is set, the receiver is configured for address-mark wakeup. In this mode,
UART_C2[RWU] is cleared automatically when the receiver detects a logic 1 in the most
significant bit of a received character.
Address-mark wakeup allows messages to contain idle characters, but requires the msb
be reserved for use in address frames. The logic 1 in the msb of an address frame clears
the UART_C2[RWU] bit before the stop bits are received and sets the UART_S1[RDRF]
flag. In this case, the character with the msb set is received even though the receiver was
sleeping during most of this character time.
31.3.3.2.3 Match address operation
Match address operation is enabled when the UART_C4[MAEN1] or
UART_C4[MAEN2] bit is set. In this function, a frame received by the UART_RX pin
with a logic 1 in the bit position immediately preceding the stop bit is considered an
address and is compared with the associated MA1 or MA2 register. The frame is only
transferred to the receive buffer, and UART_S1[RDRF] is set, if the comparison matches.
All subsequent frames received with a logic 0 in the bit position immediately preceding
the stop bit are considered to be data associated with the address and are transferred to the
receive data buffer. If no marked address match occurs then no transfer is made to the
receive data buffer, and all following frames with logic zero in the bit position
immediately preceding the stop bit are also discarded. If both the UART_C4[MAEN1]
and UART_C4[MAEN2] bits are negated, the receiver operates normally and all data
received is transferred to the receive data buffer.
Match Address operation functions in the same way for both MA1 and MA2 registers.
• If only one of UART_C4[MAEN1] and UART_C4[MAEN2] is asserted, a marked
address is compared only with the associated match register and data is transferred to
the receive data buffer only on a match.
• If UART_C4[MAEN1] and UART_C4[MAEN2] are asserted, a marked address is
compared with both match registers and data is transferred only on a match with
either register.
31.3.4 Additional UART functions
The following sections describe additional UART functions.
Chapter 31 Universal Asynchronous Receiver/Transmitter (UART0)
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
Freescale Semiconductor, Inc.
517