English
Language : 

HD404829R Datasheet, PDF (72/149 Pages) Renesas Technology Corp – AS Microcomputer Incorporating a LCD controller/Driver Circuit
HD404829R Series
Registers for Timer C Operation: By using the following registers, timer C operation modes are selected
and the timer C count is read and written.
Timer mode register C1 (TMC1: $00D)
Timer mode register C2 (TMC2: $014)
Timer write register C (TWCL: $00E, TWCU: $00F)
Timer read register C (TRCL: $00E, TRCU: $00F)
• Timer mode register C1 (TMC1: $00D): Four-bit write-only register that selects the free-running/reload
timer function, input clock source, and the prescaler division ratio as shown in
figure 55. It is reset to $0 by MCU reset.
Writing to this register is valid from the second instruction execution cycle after the execution of the
previous timer mode register C1 write instruction. Setting timer C’s initialization by writing to timer
write register C (TWCL: $00E, TWCU: $00F) must be done after a mode change becomes valid.
Timer mode register C1 (TMC1: $00D)
Bit
Initial value
Read/Write
Bit name
3
0
W
TMC13
2
0
W
TMC12
1
0
W
TMC11
0
0
W
TMC10
TMC13
0
1
Free-running/reload timer selection
Free-running timer
Reload timer
TMC12 TMC11 TMC10 Input clock period
0
0
0
2048tcyc
1
1024tcyc
1
0
512tcyc
1
128tcyc
1
0
0
32tcyc
1
8tcyc
1
0
4tcyc
1
2tcyc
Figure 55 Timer Mode Register C1 (TMC1)
70