The tamper interface provides a mechanism to detect unauthorized attempts to access the system such as the opening of the enclosure. There are two types of tamper detection:
Digital: the event is triggered by a digital input IRQ. This is the most common use case and is typically used to detect the enclosure being opened.
Analog: the event is triggered by a change in the output of an analog comparator. This output is the result of comparing the analog input with the comparator’s threshold levels. This tamper is used for monitoring battery levels or other analog sensors.
You can use the tamper interface to detect events in all power modes, including power off with battery backup (coin cell). All events are saved into non-volatile memory and the system is notified as soon as execution is resumed.