![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 341](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630341.webp)
www.geehy.com Page 340
Structure block diagram
Figure 82 I2C Functional Structure Diagram
APB bus
Data
controller
Shift
register
GPIO
SDA
Clock
controller
GPIO
SCL
Control
register
PEC register
CRC
calculation
Control logic circuit
GPIO
ALTE
DMA
Interrupt
The interface can be configured to the following modes:
Slave transmitting
Slave receiving
Master transmitting
Master receiving
In the initial state of I2C interface, the working mode is slave mode. After I2C
interface transmits the start signal, it will automatically switch from slave mode
to master mode.
Functional description
Table 94 Description of Special Terms of I2C Bus
Special terms
Description
Transmitter
Device transmitting data to the bus
Receiver
Device receiving data from the bus
Master
Device that initiates data transmission, generates clock signals and ends data
transmission
Slave
Device addressed by master