|
HD404459 Datasheet, PDF (52/122 Pages) Renesas Technology Corp – 4-bit HMCS400-series microcomputers | |||
|
◁ |
HD404459 Series
Pins R30âR32 are multiplexed with peripheral pins TOB, TOC, and TOD, respectively. The peripheral
function modes of these pins are selected by bits 0 and 1 (TMB20, TMB21) of timer mode register B2
(TMB2: $013), bits 0â2 (TMC20âTMC22) of timer mode register C2 (TMC2: $014), and bits 0â3
(TMD20âTMD23) of timer mode register D2 (TMD2: $015) (figures 32, 33, and 34).
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 32 Timer Mode Register B2 (TMB2)
Timer mode register C2 (TMC2: $014)
Bit
Initial value
Read/Write
Bit name
3
2
â
0
â
R/W
Not used TMC22
1
0
R/W
TMC21
0
0
R/W
TMC20
TMC22 TMC21 TMC20
0
0
0
1
1
0
1
1
0
0
1
1
0
1
R31/TOC mode selection
R31
R31 port
TOC Toggle output
TOC 0 output
TOC 1 output
TOC Not used
TOC Not used
TOC Not used
TOC PWM output
Figure 33 Timer Mode Register C2 (TMC2)
50
|
▷ |