GD32F10x User Manual
517
01: 24 bits
10: 32 bits
11: Reserved
These bits should be configured when I2S mode is disabled.
These bits are not used in SPI mode.
0
CHLEN
Channel length
0: 16 bits
1: 32 bits
The channel length must be equal to or greater than the data length.
This bit should be configured when I2S mode is disabled.
This bit is not used in SPI mode.
18.5.9.
I2S clock prescaler register (SPI_I2SPSC)
Address offset: 0x20
Reset value: 0x0000 0002
This register can be accessed by byte (8-bit) or half-word (16-bit) or 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
Reserved
MCKOEN
OF
DIV[7:0]
rw
rw
rw
Bits
Fields
Descriptions
31:10
Reserved
Must be kept at reset value
9
MCKOEN
I2S_MCK output enable
0: Disable I2S_MCK output
1: Enable I2S_MCK output
This bit should be configured when I2S mode is disabled.
This bit is not used in SPI mode.
8
OF
Odd factor for the prescaler
0: Real divider value is DIV * 2
1: Real divider value is DIV * 2 + 1
This bit should be configured when I2S mode is disabled.
This bit is not used in SPI mode.
7:0
DIV[7:0]
Dividing factor for the prescaler
Real divider value is DIV * 2 + OF.
DIV must not be 0.
These bits should be configured when I2S mode is disabled.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...