GD32F20x User Manual
579
Bits
Fields
Descriptions
31:12
Reserved
Must be kept at reset value
11
I2SSEL
I2S mode selection
0: SPI mode
1: I2S mode
This bit should be configured when SPI mode or I2S mode is disabled.
10
I2SEN
I2S enable
0: I2S is disabled
1: I2S is enabled
This bit is not used in SPI mode.
9:8
I2SOPMOD[1:0]
I2S operation mode
00: Slave transmission mode
01: Slave reception mode
10: Master transmission mode
11: Master reception mode
This bit should be configured when I2S mode is disabled.
This bit is not used in SPI mode.
7
PCMSMOD
PCM frame synchronization mode
0: Short frame synchronization
1: long frame synchronization
This bit has a meaning only when PCM standard is used.
This bit should be configured when I2S mode is disabled.
This bit is not used in SPI mode.
6
Reserved
Must be kept at reset value
5:4
I2SSTD[1:0]
I2S standard selection
00: I2S Phillips standard
01: MSB justified standard
10: LSB justified standard
11: PCM standard
These bits should be configured when I2S mode is disabled.
These bits are not used in SPI mode.
3
CKPL
Idle state clock polarity
0: The idle state of I2S_CK is low level
1: The idle state of I2S_CK is high level
This bit should be configured when I2S mode is disabled.
This bit is not used in SPI mode.
2:1
DTLEN[1:0]
Data length
00: 16 bits
01: 24 bits
10: 32 bits
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...