49.5.4 Analog Comparator Control

The UART receiver can be disabled and bypassed to obtain control of the analog comparator by writing a ‘1’ to UART_MR.ACON. The comparator output is monitored and any event on the analog comparator output is reported in the flag UART_SR.ACE. The type of event (rising edge, falling edge, any edge) is configurable in UART_MR.EDGESEL.

The pin URXD is the input of the analog comparator and compared with a predefined threshold configured in UART_MR.OPT_CMPTH.

The analog comparator output is resynchronized on the peripheral clock and reported in UART_CSR.ACO.

Figure 49-12. Analog Comparator Controller