Chapter 6 16-Bit Timer 20; 16-Bit Timer 20 Functions; 16-Bit Timer 20 Configuration - NEC PD789488 User Manual

Pd789489 subseries 8-bit single-chip microcontrollers
Table of Contents

Advertisement

6.1 16-Bit Timer 20 Functions

16-bit timer 20 has the following functions.
• Timer interrupt
• Timer output
• Count value capture
(1)
Timer interrupt
An interrupt is generated when a count value and compare value match.
(2)
Timer output
Timer output can be controlled when a count value and compare value match.
(3)
Count value capture
The count value of 16-bit timer counter 20 (TM20) is latched into a capture register in synchronization with
the capture trigger and retained.

6.2 16-Bit Timer 20 Configuration

16-bit timer 20 includes the following hardware.
Item
Timer counters
Registers
Timer outputs
Control registers
108

CHAPTER 6 16-BIT TIMER 20

Table 6-1. 16-Bit Timer 20 Configuration
16 bits × 1 (TM20)
16 bits × 1 (CR20)
Compare register:
Capture register:
16 bits × 1 (TCP20)
1 (TO20)
16-bit timer mode control register 20 (TMC20)
Port mode register 3 (PM3)
Port 3 (P3)
User's Manual U15331EJ4V1UD
Configuration

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd78f9488Pd78f9489Pd789489

Table of Contents