GD32F10x User Manual
511
1: CLK pin is pulled high when SPI is idle
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
18.5.2.
Control register 1 (SPI_CTL1)
Address offset: 0x04
Reset value: 0x0000 0000
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
TBEIE
RBNEIE
ERRIE
Reserved
NSSDRV DMATEN DMAREN
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: Disable TBE interrupt
1: Enable TBE interrupt. An interrupt is generated when the TBE bit is set.
6
RBNEIE
Receive buffer not empty interrupt enable
0: Disable RBNE interrupt
1: Enable RBNE interrupt. An interrupt is generated when the RBNE bit is set.
5
ERRIE
Errors interrupt enable.
0: Disable error interrupt
1: Enable error interrupt. An interrupt is generated when the CRCERR bit or the
CONFERR bit or the RXORERR bit or the TXURERR bit is set.
4:3
Reserved
Must be kept at reset value.
2
NSSDRV
Drive NSS output
0: Disable master NSS output
1: Enable master NSS output
1
DMATEN
Transmit buffer DMA enable
0: Disable transmit buffer DMA
1: Enable transmit buffer DMA, when the TBE bit in SPI_STAT is set, it will be a
DMA request on corresponding DMA channel.
0
DMAREN
Receive buffer DMA enable
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...