![Nations N32G43 Series Скачать руководство пользователя страница 564](http://html1.mh-extra.com/html/nations/n32g43-series/n32g43-series_user-manual_3408051564.webp)
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
541
/
631
SPI control register 1 (SPI_CTRL1) (not used in I2S mode)
Address: 0x00
Reset value: 0x0000
Bit field
name
describe
15
BIDIRMODE
Bidirectional data mode enable
0: Select the "two-wire one-way" mode.
1: Select the "one-wire bidirectional " mode.
Note: Not used in I
2
S mode.
14
BIDIROEN
Output enable in bidirectional mode
0: Output disable (receive-only mode).
1: Output enabled (send-only mode).
In master mode, the "one-wire" data line is the MOSI pin, and in slave mode, the "one-wire"
data line is the MISO pin.
Note: Not used in I
2
S mode.
13
CRCEN
Hardware CRC check enable
0: Disable CRC calculation.
1: Enable CRC calculation.
Note: This bit can only be written when SPI is disabled (SPI_CTRL1.SPIEN=0), otherwise an
error will occur.
This bit can only be used in full duplex mode.
Note: Not used in I
2
S mode.
12
CRCNEXT
Send CRC next
0: The next sent value comes from the send buffer.
1: The next send value comes from the CRC register.
Note: This bit should be set immediately after the last data is written in SPI_DAT register.
Note: Not used in I
2
S mode.
11
DATFF
Data frame format
0: 8-bit data frame format is used for sending/receiving.
1: 16-bit data frame format is used for sending/receiving.
Note: This bit can only be written when SPI is disabled (SPI_CTRL1.SPIEN=0), otherwise an
error will occur.
Note: Not used in I
2
S mode.