BS85B12-3 HOLTEK [Holtek Semiconductor Inc], BS85B12-3 Datasheet - Page 131

no-image

BS85B12-3

Manufacturer Part Number
BS85B12-3
Description
Touch Key Flash Type 8-Bit MCU with LCD/LED Driver
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
BS85B12-3/BS85C20-3
Touch Key Flash MCU with LCD/LED Driver
Rev. 1.00
I
2
C Time-out Control
In order to reduce the problem of I
time-out function is provided. If the clock source to the I
period, the I
The time-out counter starts counting on an I
cleared by an SCL falling edge. Before the next SCL falling edge arrives, if the time elapsed is greater
than the time-out setup by the I2CTOC register, then a time-out condition will occur. The time-out
function will stop when an I
When an I
cleared to zero and the I2CTF bit will be set high to indicate that a time-out condition as occurred. The
time-out condition will also generate an interrupt which uses the I
time-out occurs the I
condition:
The I2CTOF flag can be cleared by the application program. There are 64 time-out periods which can
be selected using bits in the I2CTOC register. The time-out time is given by the formula:
((1~64)
continuously enabled.
32) / f
2
C time-out counter overflow occurs, the counter will stop and the I2CTOEN bit will be
2
C circuitry and registers will be reset.
SIMDR, SIMAR, SIMC0
SIMC1
LIRC
. This gives a range of about 1ms to 64ms. Note also that the LIRC oscillator is
2
C internal circuitry will be reset and the registers will be reset into the following
Register
I
2
2
C Registers After Time-out
C STOP condition occurs.
2
C lockup due to reception of erroneous clock sources, clock, a
125
I
2
C Time-out
No change
Reset to POR condition
2
C bus START & address match condition, and is
After I
2
C Time-out
2
C is not received then after a fixed time
2
C interrrupt vector. When an I
February 1, 2011
2
C

Related parts for BS85B12-3