
GD32F403xx User Manual
489
0
CKPH
Clock phase selection
0: Capture the first data at the first clock transition
1: Capture the first data at the second clock transition
19.5.2.
Control register 1 (SPI_CTL1)
Address offset: 0x04
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
TBEIE
RBNEIE
ERRIE
TMOD
NSSP
NSSDRV DMATEN DMAREN
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:8
Reserved
Must be kept at reset value.
7
TBEIE
Transmit buffer empty interrupt enable
0: TBE interrupt is disabled
1: TBE interrupt is enabled. An interrupt is generated when the TBE bit is set.
6
RBNEIE
Receive buffer not empty interrupt enable
0: RBNE interrupt is disabled
1: RBNE interrupt is enabled. An interrupt is generated when the RBNE bit is set.
5
ERRIE
Errors interrupt enable.
0: Error interrupt is disabled.
1: Error interrupt is enabled . An interrupt is generated when the CRCERR bit or
the CONFERR bit or the RXORERR bit or the TXURERR bit is set.
4
TMOD
SPI TI mode enable
0: SPI TI Mode Disabled
1: SPI TI Mode Enabled
3
NSSP
SPI NSS pulse mode enable
0: SPI NSS Pulse Mode Disable
1: SPI NSS Pulse Mode Enable
2
NSSDRV
Drive NSS output
0: NSS output is disabled
1: NSS output is enabled
If the NSS pin is configured as output, the NSS pin is pulled low in master mode
when SPI is enabled.
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...