The comparator peripheral in the
device compares the voltage levels on two inputs terminals and provides a digital
output based on this comparison. It supports the following key features:
- Programmable hysteresis
- Programmable reference
voltage:
- External reference
voltage (VREF IO)
- Internal reference
voltage (1.4V, 2.5V)
- Integrated 8-bit
reference DAC, the output can also connect to OPA input terminal
internally as an output buffer.
- Configurable operation
modes:
- High speed mode (40ns
propagation delay)
- Lower power mode
(1.5uA power consumption)
- Programmable output glitch
filter delay
- Support output wake up device
from all low power modes
- Output connected to advanced
timer fault handling mechanism
- The IPSEL and IMSEL bits in
comparator registers can be used to select the comparator channel inputs
from device pins or from internal analog modules.
For more details, see the COMP chapter of the
MSPM0 G-Series 80-MHz
Microcontrollers Technical Reference Manual.
The
following tests can be applied as functional safety mechanisms for this module (to
provide diagnostic coverage on a specific function):