SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
LPCOMP consists of two input multiplexors that select between various inputs as shown in Figure 13-1. These inputs are routed to a programmable voltage divider. From there the inputs are routed to the comparator. The comparator has a latching output that latches on the 32kHz clock. The comparator result has a 1-3 clock cycle delay. The entire comparator module can be enabled or disabled by setting or clearing the SYS0.LPCMPCFG[0] EN bit. LFOSC must be enabled before LPCOMP is enabled.