English
Language : 

HD404318 Datasheet, PDF (41/68 Pages) Hitachi Semiconductor – 4-bit HMCS400-series microcomputer
Timer mode register C (TMC: $00D)
Bit
Initial value
Read/Write
Bit name
3
0
W
TMC3
2
0
W
TMC2
1
0
W
TMC1
0
0
W
TMC0
HD404318 Series
TMC3
0
1
Free-Running/Reload
Timer Selection
Free-running timer
Reload timer
TMC2
0
1
TMC1
0
1
0
1
TMC0
0
1
0
1
0
1
0
1
Input Clock Period
2048tcyc
1024tcyc
512tcyc
128tcyc
32tcyc
8tcyc
4tcyc
2tcyc
Figure 29 Timer Mode Register C (TMC)
T × (N + 1)
TMC3 = 0
(Free-running
timer)
TMC3 = 1
(Reload timer)
T × 256
T
T × (256 – N)
Notes: T: Input clock period supplied to counter. (The clock source and system clock division ratio are
determined by timer mode register C.)
N: Value of timer write register C. (When N = 255 ($FF), PWM output is fixed low.)
Figure 30 PWM Output Waveform
39