GD32F20x User Manual
578
This register is reset when the CRCEN bit in SPI_CTL0 register or the SPIxRST bit
in RCU
reset
register is set.
21.11.7.
TX CRC register (SPI_TCRC)
Address offset: 0x18
Reset value: 0x0000
This register has to 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
TCR[15:0]
r
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value
15:0
TCR[15:0]
TX CRC register
When the CRCEN bit of SPI_CTL0 is set, the hardware computes the CRC value of
the transmitted bytes and saves them in TCR register. If the Data frame format is
set to 8-bit data, CRC calculation is based on CRC8 standard, and saves the value
in TCR [7:0], when the Data frame format is set to 16-bit data, CRC calculation is
based on CRC16 standard, and saves the value in TCR [15:0].
The hardware computes the CRC value after each transmitted bit, when the TRANS
is set, a read to this register could return an intermediate value. The different frame
format (LF bit of the SPI_CTL0) will get different CRC value.
This register is reset when the CRCEN bit in SPI_CTL0 register or the SPIxRST bit
in RCU
reset
register is set.
21.11.8.
I2S control register (SPI_I2SCTL)
Address offset: 0x1C
Reset value: 0x0000
This register has to 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
Reserved
I2SSEL
I2SEN
I2SOPMOD[1:0]
PCMSMOD Reserved
I2SSTD[1:0]
CKPL
DTLEN[1:0]
CHLEN
rw
rw
rw
rw
rw
rw
rw
rw
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 ...