English
Language : 

HD404318 Datasheet, PDF (36/66 Pages) Hitachi Semiconductor – 4-bit HMCS400-series microcomputer
HD404318 Series
Timer mode register B1 (TMB1: $009)
Bit
Initial value
Read/Write
Bit name
3
0
W
TMB13
2
0
W
TMB12
1
0
W
TMB11
0
0
W
TMB10
Free-Running/Reload
TMB13 Timer Selection
0
Free-running timer
1
Reload timer
Input Clock Period and Input
TMB12 TMB11 TMB10 Clock Source
0
0
0
2048tcyc
1
512tcyc
1
0
128tcyc
1
32tcyc
1
0
0
8tcyc
1
4tcyc
1
0
2tcyc
1
D2/EVNB (external event input)
Figure 26 Timer Mode Register B1 (TMB1)
Timer mode register B2 (TMB2: $026)
Bit
Initial value
Read/Write
Bit name
3
2
—
0
—
W
Not used TMB22
1
0
W
TMB21
0
0
W
TMB20
TMB21 TMB20
0
0
1
1
0
1
EVNB Edge Detection Selection
No detection
Falling edge detection
Rising edge detection
Rising and falling edge detection
TMB22
0
1
Free-Running/Reload and Input Capture Selection
Free-Running/Reload
Input capture
Figure 27 Timer Mode Register B2 (TMB2)
36