Holtek HT66F20-1 Manual page 155

Flash mcu with eeprom
Table of Contents

Advertisement

HT66F20-1/HT66F30-1/HT68F20-1/HT68F30-1
Flash MCU with EEPROM
RXAK: I
Bit 0
0: Slave receive acknowledge flag
1: Slave does not receive acknowledge flag
The RXAK flag is the receiver acknowledge flag. When the RXAK flag is "0", it
means that a acknowledge signal has been received at the 9th clock, after 8 bits of data
have been transmitted. When the slave device in the transmit mode, the slave device
checks the RXAK flag to determine if the master receiver wishes to receive the next
byte. The slave transmitter will therefore continue sending out data until the RXAK
flag is "1". When this occurs, the slave transmitter will release the SDA line to allow
the master to send a STOP signal to release the I
The SIMD register is used to store the data being transmitted and received. The same register is
used by both the SPI and I
data to be transmitted must be placed in the SIMD register. After the data is received from the
SPI bus, the devices can read it from the SIMD register. Any transmission or reception of data
from the SPI bus must be made via the SIMD register.
• SIMD Register
Bit
7
�a�e
D7
R/W
R/W
POR
x
• SIMA Register
Bit
7
�a�e
IICA�
R/W
R/W
POR
x
Bit 7~1
IICA6~IICA0: I
IICA6~IICA0 is the I
The SIMA register is also used by the SPI interface but has the name SIMC2. The
SIMA register is the location where the 7-bit slave address of the slave device is
stored. Bits 7~1 of the SIMA register define the device slave address. Bit 0 is not
defined.
When a master device, which is connected to the I
matches the slave address in the SIMA register, the slave device will be selected. Note
that the SIMA register is the same register address as SIMC2 which is used by the SPI
interface.
Bit 0
Undefined bit
This bit can be read or written by user software program.
Rev. 1.40
C Bus Receive acknowledge flag
2
C functions. Before the devices write data to the SPI bus, the actual
2
6
5
4
D�
D5
D4
R/W
R/W
R/W
X
x
x
6
5
4
IICA5
IICA4
IICA�
R/W
R/W
R/W
X
x
x
C slave address
2
C slave address bit 6~bit 0.
2
155
C Bus.
2
3
2
1
D�
D�
D1
R/W
R/W
R/W
x
x
x
"x" unknown
3
2
1
IICA�
IICA1
IICA0
R/W
R/W
R/W
x
x
x
"x" unknown
C bus, sends out an address, which
2
�ove��e� ��� �01�
0
D0
R/W
x
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT66F20-1 and is the answer not in the manual?

This manual is also suitable for:

Ht66f30-1Ht68f20-1Ht68f30-1

Table of Contents