8SPI1
28
Copyright © 2018, www.
bluetrum.com. All Rights Reserved
28
Bit
Name
Mode
Default
Description
0: transmit
1: receive
3:2
BUSMODE
WR
0x0
Data bus width select bit
00:3-wire mode; 1bit data in, 1bit data out
01:2-wire mode; 1bit data in/out
10: 2bit bidirectional data bus
11: reserved
1
SPISM
WR
0
Slave mode select bit
0:master mode
1:slave mode
0
SPIEN
WR
0
SPI Enable Bit
0: Disable
1: Enable
Register 8-2SPI1BAUD: SPI Baud Rate Register
Bit
Name
Mode
Default
Description
31:16
-
-
-
Unused
15:0
SPI1BAUD
W
0
SPI Baud Rate
Baud Rate =Fsys clock / (S1)
Register 8-3SPI1CPND: SPI clear pending Register
Bit
Name
Mode
Default
Description
31:17
-
-
-
Unused
16
SPICPND
W
0
Write 1 will clear SPIpending