8-Bit Timer 1 Tm1 Configuration - NEC mPD780852 Series Preliminary User's Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

7.2 8-Bit Timer 1 TM1 Configuration

8-bit timer 1 TM1 consists of the following hardware.
Timer register
Register
Control register
(1) 8-bit counter 1 (TM1)
TM1 is an 8-bit read-only register which counts the count pulses.
The counter is incremented in synchronization with the rising edge of the count clock. When count value is read
during operation, count clock input is temporary stopped, and then the count value is read. In the following
situations, the count value is set to 00H.
<1> RESET input
<2> Clear TCE1
<3> Match between TM1 and CR1
(2) 8-bit compare register 1 (CR1)
The value set in the CR1 is constantly compared with the 8-bit counter 1 (TM1) count value, and an interrupt
request (INTTM1) is generated if they match.
It is possible to rewrite the value of CR1 within 00H to FFH during count operation.
114
CHAPTER 7 8-BIT TIMER 1 TM1
Table 7-1. 8-Bit Timer 1 TM1 Configuration
Item
8-bit counter 1 (TM1)
8-bit compare register 1 (CR1)
Timer clock select register 1 (TCL1)
8-bit timer mode control register 1 (TMC1)
Preliminary User's Manual U14581EJ3V0UM00
Configuration

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780851Mpd780851aMpd780852aMpd78f0852

Table of Contents