Holtek BS83A04C Manual page 88

4-key enhanced touch i/o flash mcu
Table of Contents

Advertisement

SCL
SDA
SCL
SDA
When an I
C time-out counter overflow occurs, the counter will stop and the IICTOEN bit will be
2
cleared to zero and the IICTOF bit will be set high to indicate that a time-out condition has occurred.
The time-out condition will also generate an interrupt which uses the I
I
C time-out occurs, the I
2
following condition:
The IICTOF flag can be cleared by the application program. There are 64 time-out periods which
can be selected using IICTOS bit field in the IICTOC register. The time-out time is given by the
formula: [(1~64)×32]/f
• IICTOC Register
Bit
7
Name
IICTOEN
R/W
R/W
POR
0
IICTOEN: I
Bit 7
0: Disable
1: Enable
IICTOF: I
Bit 6
0: No time-out occurred
1: Time-out occurred
IICTOS5~IICTOS0: I
Bit 5~0
I
C time-out clock source is f
2
I
C time-out time is equal to (IICTOS[5:0]+1)×(32/f
2
Rev. 1.00
4-Key Enhanced Touch I/O Flash MCU
Start
Slave Address
1
0
1
1
1
0
0
1
0
2
I
C time-out counter reset
on SCL negative transition
I
C Time-out
2
C internal circuitry will be reset and the registers will be reset into the
2
Registers
IICD, IICA, IICC0
IICC1
I
C Registers after Time-out
2
. This gives a time-out period which ranges from about 1ms to 64ms.
SUB
6
5
4
IICTOF
IICTOS5
IICTOS4
R/W
R/W
R/W
0
0
0
C Time-out control
2
C Time-out flag
2
C Time-out period selection
2
/32.
SUB
88
SRW
ACK
0
1
0
1
0
2
I
C time-out
counter start
Stop
1
0
0
C interrupt vector. When an
2
After I
C Time-out
2
No change
Reset to POR condition
3
2
IICTOS3
IICTOS2
IICTOS1
R/W
R/W
R/W
0
0
).
SUB
BS83A04C
1
0
IICTOS0
R/W
0
0
March 24, 2020

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BS83A04C and is the answer not in the manual?

Questions and answers

Table of Contents