![GigaDevice Semiconductor GD32A50 Series Скачать руководство пользователя страница 538](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32a50-series/gd32a50-series_user-manual_2225782538.webp)
GD32A50x User Manual
538
(write) + slave address byte 2 + R header of 10-bit address (read).
1: The 10 bit master receive address sequence is RESTART + header of 10-bit
address (read).
Note:
When the START bit is set, this bit can not be changed.
11
ADD10EN
10-bit addressing mode enable in master mode
0: 7-bit addressing in master mode
1: 10-bit addressing in master mode
Note:
When the START bit is set, this bit can not be modified.
10
TRDIR
Transfer direction in master mode
0: Master transmit
1: Master receive
Note:
When the START bit is set, this bit can not be modified.
9:0
SADDRESS[9:0]
Slave address to be sent
SADDRESS[9:8]: Slave address bit 9:8
If ADD10EN = 0, these bits have no effect.
If ADD10EN = 1, these bits should be written with bits 9:8 of the slave address to
be sent.
SADDRESS[7:1]: Slave address bit 7:1
If ADD10EN = 0, these bits should be written with the 7-bit slave address to be sent.
If ADD10EN = 1, these bits should be written with bits 7:1 of the slave address to
be sent.
SADDRESS0: Slave address bit 0
If ADD10EN = 0, this bit has no effect.
If ADD10EN = 1, this bit should be written with bit 0 of the slave address to be sent
Note:
When the START bit is set, the bit filed can not be modified.
20.4.3.
Slave address register 0 (I2C_SADDR0)
Address offset: 0x08
Reset value: 0x0000 0000
This register can be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ADDRES
SEN
Reserved
ADDFOR
MAT
ADDRESS[9:8]
ADDRESS[7:1]
ADDRES
S0
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.