
NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 544 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
SPI n Control and Status Register (SPIn_CNTRL)
Register
Offset
R/W
Description
Reset Value
SPIn_CNTRL
n=0,1
0x000
R/W
SPI n Control and Status Register
0x0000_0004
31
30
29
28
27
26
25
24
CLK_POL
Reserved
23
22
21
20
19
18
17
16
Reserved
DUALM
QUADM
DIR_2QM
Reserved
IE
IF
15
14
13
12
11
10
9
8
SLEEP
Reserved
LSB
Tx_NUM
7
6
5
4
3
2
1
0
Tx_BIT_LEN
Tx_NEG
Rx_NEG
GO_BUSY
Bits
Description
[31]
CLK_POL
Clock Polarity
0 = Normal polarity.
1 = Reverse polarity.
[22]
DUALM
Dual I/O Mode Enable Control
0 = Dual I/O mode Disabled.
1 = Dual I/O mode Enabled.
[21]
QUADM
Quad I/O Mode Enable Control
0 = Quad I/O mode Disabled.
1 = Quad I/O mode Enabled.
[20]
DIR_2QM
Quad or Dual I/O Mode Direction Control
0 = Quad or Dual Input mode.
1 = Quad or Dual Output mode.
[17]
IE
Interrupt Enable
0 = Disable SPI Interrupt.
1 = Enable SPI Interrupt.
[16]
IF
Interrupt Flag
0 = The transfer dose not finish yet.
1 = The transfer is done. The interrupt flag is set if it was enable.
NOTE:
This bit is read only, but can be cleared by writing 1 to this bit.
[15:12]
SLEEP
Suspend Interval
0000 = SPI transfer suspended 2 SCLK clock cycle.
0001 = SPI transfer suspended 3 SCLK clock cycle.
0010 = SPI transfer suspended 4 SCLK clock cycle.
0011 = SPI transfer suspended 5 SCLK clock cycle.