MS51
Nov. 28, 2019
Page
428
of 491
Rev 1.00
MS51
32K
SE
RIES
TE
CHNICAL RE
F
EREN
CE MA
N
UAL
I2TOC
– I
2
C Time-out Counter
Register
SFR Address
Reset Value
I2TOC
BFH, Page 0
0000_0000 b
7
6
5
4
3
2
1
0
-
-
-
-
-
I2TOCEN
DIV
I2TOF
-
-
-
-
-
R/W
R/W
R/W
Bit
Name
Description
2
I2TOCEN
I
2
C time-out counter enable
0 = I
2
C time-out counter Disabled.
1 = I
2
C time-out counter Enabled.
Note:
please always enable I
2
C interrupt when enable I
2
C time-out counter function
1
DIV
I
2
C time-out counter clock divider
0 = The clock of I
2
C time-out counter is F
SYS
/1.
1 = The clock of I
2
C time-out counter is F
SYS
/4.
0
I2TOF
I
2
C time-out flag
This flag is set by hardware if 14-bit I
2
C time-out counter overflows. It is cleared by software.