English
Language : 

W79E825A Datasheet, PDF (34/127 Pages) Winbond – 8-BIT MICROCONTROLLER
W79E825A/824A/823B/822B Data Sheet
BIT NAME
7-0 I2CLK.[7:0] The I2C clock rate bits.
FUNCTION
I2C TIMER COUNTER REGISTER
Bit: 7
6
5
4
3
2
1
0
-
-
-
-
-
ENTI
DIV4
TIF
Mnemonic: I2TIMER
Address: BFh
BIT NAME
FUNCTION
7~3 -
Reserved.
2 ENTI
Enable I2C 14-bits Timer Counter:
0: Disable 14-bits Timer Counter count.
1: Enable 14-bits Timer Counter count. After enable ENTI and ENSI, the 14-bit
counter will be counted. When SI flag of I2C is set, the counter will stop to
count and 14-bits Timer Counter will be cleared.
1 DIV4
I2C Timer Counter clock source divide function:
0: The 14-bits Timer Counter source clock is Fosc clock.
1: The 14-bits Timer Counter source clock is divided by 4.
0 TIF
The I2C Timer Counter count flag:
0: The 14-bits Timer Counter is not overflow.
1: The 14-bits Timer Counter is overflow. Before enable I2C Timer (both ENTI,
ENSI = [1,1]) the SI must be cleared. If I2C interrupt is enabled. The I2C
interrupt service routine will be executed. This bit is cleared by software.
I2C CONTROL REGISTER
Bit: 7
6
5
4
3
-
ENSI
STA
STO
SI
2
1
AA
-
0
-
Mnemonic: I2CON
Address: C0h
BIT NAME
FUNCTION
7-
Reserved.
0: Disable I2C Serial Function. The SDA and SCL output are in a high impedance
state. SDA and SCL input signals are ignored, I2C is not in the addressed slave
6 ENS1 mode or it is not addressable, and STO bit in I2CON is forced to “0”. No other bits
are affected. P1.2 (SCL) and P1.3 (SDA) may be used as open drain I/O ports.
1: Enable I2C Serial Function. The P1.2 and P1.3 port latches must be to logic 1.
- 34 -