Holtek HT32F52220 User Manual page 299

32-bit microcontroller with arm cortex-m0+ core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230
Bits
Field
[2]
ADRS
[1]
STO
[0]
STA
Rev. 1.10
Descriptions
Address Transmit (master mode) / Address Receive (slave mode) Flag
Address Sent in Master Mode
0: Address frame has not been transmitted
1: Address frame has been transmitted
For the 7-bit addressing mode, this bit is set after the master device receives the
address frame acknowledge bit sent from the slave device. For the 10-bit addressing
mode, this bit is set after receiving the acknowledge bit of the first header byte and
the second address.
Address Matched in Slave Mode
0: I
C interface is not addressed
2
1: I
2
C interface is addressed as slave
When the I
2
C interface has received the calling address that matches the address
defined in the I2CADDR register together with the AA bit being set to 1 in the I2CCR
register, it will be switched to a slave mode. This flag is cleared automatically after
the I2CSR register has been read.
STOP Condition Detected Flag
0: No STOP condition detected
1: STOP condition detected in slave mode
This bit is only available for the slave mode and is cleared automatically after the
I2CSR register is read.
START Condition Transmit
0: No START condition detected
1: START condition is transmitted in master mode
This bit is only available for the master mode and is cleared automatically after the
I2CSR register is read.
299 of 366
November 09, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ht32f52230

Table of Contents