Holtek HT66F488 Manual page 130

A/d flash mcu with eeprom
Table of Contents

Advertisement

S C L
S D A
S C L
S D A
When an I
C time-out counter overflow occurs, the counter will stop and the SIMTOEN bit will
2
be cleared to zero and the SIMTOF 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
When an I
C time-out occurs, the I
2
into the following condition:
SIMD� SIMA� SIMC�
SIMC1
The SIMTOF flag can be cleared by the application program. There are 64 time-out period selections
which can be selected using the SIMTOS bits in the SIMTOC register. The time-out duration is
calculated by the formula: ((1~64) × (32/f
about 1ms to 64ms.
SIMTOC Register
Bit
7
�a�e
SIMTOE�
R/W
R/W
POR
Bit 7
SIMTOEN: I
0: Disable
1: Enable
Bit 6
SIMTOF: I
0: No time-out occurred
1: Time-out occurred
Bit 5~0
SIMTOS5~SIMTOS0: I
I
C Time-out clock source is f
2
I
C Time-out time is given by: (SIMTOS [5:0] +1) × (32/f
2
Rev. 1.21
S t a r t
S l a v e A d d r e s s
0
1
1
1
1
0
0
1
0
2
I C t i m e - o u t c o u n t e r r e s e t
o n S C L n e g a t i v e t r a n s i t i o n
I
C Time-out
2
C internal circuitry will be reset and the registers will be reset
2
Register
I
C Registers after Time-out
2
)). This gives a time-out period which ranges from
SUB
6
5
SIMTOF SIMTOS5 SIMTOS4 SIMTOS3 SIMTOS2 SIMTOS1 SIMTOS�
R/W
R/W
R/W
C Time-out Control
2
C Time-out flag
2
C Time-out Time Selection
2
/32
SUB
13�
HT66F488/HT66F489
A/D Flash MCU with EEPROM
S R W
A C K
0
1
0
1
0
2
I C t i m e - o u t
c o u n t e r s t a r t
1
0
0
After I
C Time-out
2
�o change
Reset to POR condition
4
3
2
R/W
R/W
)
SUB
�ove��e� ��� 2�1�
S t o p
C interrrupt vector.
2
1
0
R/W
R/W

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Ht66f489

Table of Contents