11 Analog Peripheral Manager (APM)

The APM is a special timer that automatically turns on/off (user-set) analog peripherals inside the microcontroller to save power. The APM uses a 16-bit base timer that runs continuously from a user-configurable prescaled clock source. When the base timer matches the event Start 1, the offset timer (24-bits) starts. The offset timer is used with the events Stop 1/Start 2/Stop 2. When Stop 2 occurs, the offset timer stops again. The offset timer uses the nonprescaled version of the base timer’s clock source for counting.