
LC82161B-E
No.7775-17/19
Multifunction Timer
The multifunction timer (MTM) consists of two 16-bit channels (systems).
Each channel has two data registers and the operating mode and prescaler settings can be set individually for each
channel.
Each channel supports the following operating modes.
— Waveform output based on a compare/match operation:
Either a 0 output, a 1 output, or a toggle output can be selected.
— Counter clear function:
The counter can be cleared by compare match events.
— Synchronous operation:
Simultaneous write to multiple timer/counters (TCNT).
Simultaneous clear by compare/match.
Simultaneous input or output from various registers based on synchronous counter operations.
— Buffer operation:
Automatic rewrite of the output compare registers is supported.
Buffer Operation:
A value from a data register can be transferred to a compare buffer on the occurrence of a compare match, a counter clear,
or an overflow.
Interrupts:
Each channel is provided with two shared-function match interrupts and one overflow interrupt. Requests for these
interrupts can be generated independently.
Watchdog Timer
The LC82161B provides a watchdog timer for system monitoring. This device is independent of the basic timer.
The basic timer counts a fixed period and generates the basic timer interrupt based on that count. In contrast, the watchdog
timer counts a fixed period and generates either the watchdog timer interrupt or a system reset based on that count.
Watchdog timer (can also be used to generate the watchdog timer interrupt)
— Counter operating clock selection function
— Operating mode switching function (switches between the watchdog timer interrupt and reset functions)
— Reset or interrupt signal generation at overflow
— Watchdog timer reset signal external output enable/disable function
— Watchdog timer start/stop function
Basic timer
— Counter operating clock selection function
— Interrupt signal generation at overflow
— Basic timer start/stop function