UPD75216ACW

Manufacturer Part NumberUPD75216ACW
Description4-BIT SINGLE-CHIP MICROCOMPUTER
ManufacturerNEC
UPD75216ACW datasheet
 


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Page 21
22
Page 22
23
Page 23
24
Page 24
25
Page 25
26
Page 26
27
Page 27
28
Page 28
29
Page 29
30
Page 30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Page 22/72:

TIMER/PULSE GENERATOR

Download datasheet (524Kb)Embed
PrevNext
5.6

TIMER/PULSE GENERATOR

The PD75216A incorporates one channel of timer/pulse generator which can be used as a timer or a pulse
generator. The timer/pulse generator has the following functions.
(a)
Functions available in the timer mode
8-bit interval timer operation (IRQTPG generation) enabling the clock source to be varied at 5 levels
Square wave output to PPO pin
(b)
Functions available in the PWM pulse generation mode
14-bit accuracy PWM pulse output to the PPO pin (Used as a digital-to-analog converter and applicable
to tuning)
2
15
Fixed time interval (
= 7.81 ms : at 4.19 MHz operation) interrupt generation
f
XX
If pulse output is not necessary, the PPO pin can be used as a 1-bit output port.
Note
If the STOP mode is set while the timer/pulse generator is in operation, miss-operation may result.
To prevent that from occurring, preset the timer/pulse generator to the stop state using its mode
register.
Fig. 5-5 Block Diagram of Timer/Pulse Generator (Timer Mode)
8
Modulo Register L (8)
TPGM3
(Set to "1")
Frequency
Divider
f
1/2
X
Prescalar Select Latch (5)
TPGM1
22
Internal Bus
8
MODL
MODH
Modulo Register H (8)
Modulo Latch H (8)
8
Match
Comparator (8)
8
CP
Count Register (8)
Clear
Clear
PD75216A
INTTPG
IRQTPG
Set Signal
Output Buffer
T F/F
Selector
PPO
Set
TPGM4TPGM5 TPGM7