Modes Of Operation - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

Introduction
LPTMR_CSR[TPS]
00
01
10
11
42.2 Introduction
The low-power timer (LPTMR) can be configured to operate as a time counter with
optional prescaler, or as a pulse counter with optional glitch filter, across all power
modes, including the low-leakage modes. It can also continue operating through most
system reset events, allowing it to be used as a time of day counter.
42.2.1 Features
The features of the LPTMR module include:
• 16-bit time counter or pulse counter with compare
• Optional interrupt can generate asynchronous wakeup from any low-power mode
• Hardware trigger output
• Counter supports free-running mode or reset on compare
• Configurable clock source for prescaler/glitch filter
• Configurable input source for pulse counter
• Rising-edge or falling-edge

42.2.2 Modes of operation

The following table describes the operation of the LPTMR module in various modes.
1064
Pulse counter input number
0
1
2
3
Table 42-1. Modes of operation
Modes
Run
The LPTMR operates normally.
The LPTMR continues to operate normally and
Wait
may be configured to exit the low-power mode
by generating an interrupt request.
The LPTMR continues to operate normally and
Stop
may be configured to exit the low-power mode
by generating an interrupt request.
Table continues on the next page...
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Chip input
CMP0 output
LPTMR_ALT1 pin
LPTMR_ALT2 pin
LPTMR_ALT3 pin
Description
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents