English
Language : 

UPD784938 Datasheet, PDF (255/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 9 TIMER/EVENT COUNTER 0
Figure 9-35. Control Register Settings for Interval Timer Operation (2)
Capture/compare control register 0 (CRC0)
7
6
5
4
3
2
1
0
CRC0 0
0
0
1
1
0
0
0
TM0 cleared by match of CR01 & TM0 contents
TO0 & TO1 both toggle outputs
Figure 9-36. Interval Timer Operation (2) Setting Procedure
Interval timer (2)
Set count value in CR01
CR01 ← n
Set CRC0
CRC0 ← 18H
Start count
CE0 ← 1
; Set 1 in bit 3 of TMC0
INTC01 interrupt
Preliminary User’s Manual U13987EJ1V0UM00
255