TIOR2—Timer I/O Control Register 2
www.DataSheet4U.com
Bit
Initial value
Read/Write
Note: Bit functions are the same as for ITU0.
TIER2—Timer Interrupt Enable Register 2
Bit
Initial value
Read/Write
Note: Bit functions are the same as for ITU0.
TSR2—Timer Status Register 2
Bit
7
—
Initial value
1
Read/Write
—
Note: Only 0 can be written, to clear the flag.
*
Bit functions are the same as for ITU0.
7
6
5
—
IOB2
IOB1
1
0
0
—
R/W
R/W
7
6
5
—
—
—
1
1
1
—
—
—
6
5
—
—
1
1
—
—
Overflow flag
0
[Clearing condition]
Read OVF when OVF = 1, then write 0 in OVF.
1
[Setting condition]
The TCNT value overflows (from H'FFFF to H'0000)
or underflows (from H'0000 to H'FFFF)
H'79
4
3
2
IOB0
—
IOA2
0
1
0
R/W
—
R/W
H'7A
4
3
2
—
—
OVIE
1
1
0
—
—
R/W
H'7B
4
3
2
—
—
OVF
1
1
0
—
—
R/(W)
*
The function is the same as ITU0.
777
ITU2
1
0
IOA1
IOA0
0
0
R/W
R/W
ITU2
1
0
IMIEB
IMIEA
0
0
R/W
R/W
ITU2
1
0
IMFB
IMFA
0
0
R/(W)
R/(W)
*
*