English
Language : 

HD404639R Datasheet, PDF (66/135 Pages) Renesas Technology Corp – 4-Bit Single-Chip Microcomputer
HD404639R Series
Writing to this register is valid from the second instruction execution cycle after the execution of the
previous timer mode register B1 write instruction. Setting timer B’s initialization by writing to timer
write register B (TWBL: $00A, TWBU: $00B) must be done after a mode change becomes valid.
Timer mode register B1 (TMB1: $009)
Bit
3
2
1
Initial value
0
0
0
Read/Write
W
W
W
Bit name
TMB13 TMB12 TMB11
0
0
W
TMB10
Free-running/reload
TMB13 timer selection
0
Free-running timer
1
Reload timer
TMB12 TMB11 TMB10
0
0
0
1
1
0
1
1
0
0
1
1
0
1
Input clock period and input
clock source
2048tcyc
512tcyc
128tcyc
32tcyc
8tcyc
4tcyc
2tcyc
R33/EVNB (external event input)
Figure 44 Timer Mode Register B1 (TMB1)
• Timer mode register B2 (TMB2: $013): Two-bit read/write register that selects the timer B output
mode as shown in figure 45. It is reset to $0 by MCU reset.
Timer mode register B2 (TMB2: $013)
Bit
Initial value
Read/Write
Bit name
3
2
1
—
—
0
—
—
R/W
Not used Not used TMB21
0
0
R/W
TMB20
TMB21 TMB20
0
0
1
1
0
1
R30/TOB mode selection
R30
R30 port
TOB Toggle output
TOB 0 output
TOB 1 output
Figure 45 Timer Mode Register B2 (TMB2)
64