English
Language : 

HD404054 Datasheet, PDF (59/101 Pages) Hitachi Semiconductor – HMCS400-series microcomputers designed to increase program productivity with large-capacity memory
HD404054 Series/HD404094 Series
• Timer mode register D2 (TMD2: $015): Four-bit read/write register that selects the timer D output
mode and input capture operation as shown in figure 42. It is reset to $0 by MCU reset.
Timer mode register D2 (TMD2: $015)
Bit
3
2
1
0
Initial value
0
0
0
0
Read/Write
R/W
R/W
R/W
R/W
Bit name
TMD23 TMD22 TMD21 TMD20
TMD23 TMD22 TMD21 TMD20
0
0
0
0
1
1
0
1
1
0
0
1
1
0
1
1
×
×
×
R32/TOD mode selection
R32
R32 port
TOD Toggle output
TOD 0 output
TOD 1 output
—
Inhibited
TOD
R32
PWM output
Input capture (R32 port)
× : Don’t care
Figure 42 Timer Mode Register D2 (TMD2)
• Timer write register D (TWDL: $011, TWDU: $012): Write-only register consisting of a lower digit
(TWDL) and an upper digit (TWDU) as shown in figures 43 and 44. The operation of timer write
register D is basically the same as that of timer write register C (TWCL: $00E, TWCU: $00F).
Timer write register D (lower digit) (TWDL: $011)
Bit
Initial value
Read/Write
Bit name
3
0
W
TWDL3
2
0
W
TWDL2
1
0
W
TWDL1
0
0
W
TWDL0
Figure 43 Timer Write Register D Lower Digit (TWDL)
59