English
Language : 

W79E217A Datasheet, PDF (64/207 Pages) Winbond – 8-bit Microcontroller
Preliminary W79E217A Data Sheet
I2C ADDRESS REGISTER
Bit:
7
6
5
4
3
2
1
0
I2ADDR.7 I2ADDR.6 I2ADDR.5 I2ADDR.4 I2ADDR.3 I2ADDR.2 I2ADDR.1 GC
Mnemonic: I2ADDR
Address: EAh
BIT NAME
7-1 I2ADDR
0 GC
FUNCTION
I2C Slave Address. The contents of the register are irrelevant when I2C is in
master mode. In the slave mode, the seven most significant bits must be loaded
with the MCU’s own slave address. The I2C hardware will react if the contents of
I2ADDR are matched with the received slave address.
Enable General Call Function. The GC bit is set the I2C port hardware will
respond to General Call address (00H). Clear GC bit to disable general call
function.
NVM HIGH BYTE ADDRESS
Bit:
7
6
-
-
Mnemonic: NVMADDRH
BIT
7-3
2-0
NAME
-
NVMADDRH.10 ~
NVMADDRH.8
5
4
-
-
Reserved.
3
2
1
0
-
NVMADDR NVMADDR NVMADDR
H.10
H.9
H.8
Address: EBh
FUNCTION
The NVM High byte address
I2C DATA REGISTER
Bit:
7
6
5
4
3
2
1
0
I2DAT.7 I2DAT.6 I2DAT.5 I2DAT.4 I2DAT.3 I2DAT.2 I2DAT.1 I2DAT.0
Mnemonic: I2DAT
I2DAT.7-0
The data register of I2C channel.
Address: ECh
I2C STATUS REGISTER
Bit:
7
6
5
4
3
2
1
0
B7
B6
B5
B4
B3
0
0
0
Mnemonic: I2STATUS
Address: EDh
BIT NAME
FUNCTION
The Status Register of I2C. The three least significant bits are always 0. The five
most significant bits contain the status code. There are 23 possible status codes.
When I2STATUS contains F8H, no serial interrupt is requested. All other I2STATUS
values correspond to defined I2C states. When each of these states is entered, the
7-0
I2STATUS
I2C1 interrupt is requested (SI = 1). A valid status code is present in I2STATUS one
machine cycle after SI is set by hardware and is still present one machine cycle after
SI has been reset by software. In addition, states 00H stands for a Bus Error. A Bus
Error occurs when a START or STOP condition is present at an illegal position in the
formation frame. Example of illegal position are during the serial transfer of an
address byte, a data byte or an acknowledge bit.
- 64 -
Publication Release Date: December 14, 2007
Revision A3.0