|
HD404654 Datasheet, PDF (55/109 Pages) Hitachi Semiconductor – 4-Bit Single-Chip Microcomputer | |||
|
◁ |
HD404654 Series
Timer write register C (upper digit) (TWCU: $00F)
Bit
Initial value
Read/Write
Bit name
3
2
1
0
Undefined Undefined Undefined Undefined
W
W
W
W
TWCU3 TWCU2 TWCU1 TWCU0
Figure 40 Timer Write Register C Upper Digit (TWCU)
⢠Timer read register C (TRCL: $00E, TRCU: $00F): Read-only register consisting of a lower digit
(TRCL) and an upper digit (TRCU) that holds the count of the timer C upper digit as shown in figures
41 and 42. The upper digit (TRCU) must be read first. At this time, the count of the timer C upper digit
is obtained, and the count of the timer C lower digit is latched to the lower digit (TRCL). After this, by
reading TRCL, the count of timer C when TRCU is read can be obtained.
Timer read register C (lower digit) (TRCL: $00E)
Bit
Initial value
Read/Write
Bit name
3
2
1
0
Undefined Undefined Undefined Undefined
R
R
R
R
TRCL3 TRCL2 TRCL1 TRCL0
Figure 41 Timer Read Register C Lower Digit (TRCL)
Timer read register C (upper digit) (TRCU: $00F)
Bit
Initial value
Read/Write
Bit name
3
2
1
0
Undefined Undefined Undefined Undefined
R
R
R
R
TRCU3 TRCU2 TRCU1 TRCU0
Figure 42 Timer Read Register C Upper Digit (TRCU)
Timer D
Timer D Functions: Timer D has the following functions.
⢠Free-running/reload timer
⢠External event counter
⢠Timer output operation (toggle, 0, 1, and PWM outputs)
⢠Input capture timer
The block diagram for each operation mode of timer D is shown in figures 43 (A) and (B).
55
|
▷ |