EasyManua.ls Logo

Allwinner A20 - Page 595

Allwinner A20
812 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 595 / 812
Offset: 0x08
Register Name: SPI_CTL
Default Value: 0x0012_001C
Bit
Read/Write
Default
Description
treats the FIFO as empty.
It is 'self-clearing'. It is not necessary to clear this bit.
8
R/W
0
TF_RST
TXFIFO Reset
Write ‘1’ to reset the control portion of the transmit FIFO and
treats the FIFO as empty.
It is 'self-clearing'. It is not necessary to clear this bit.
7
R/W
0
SSCTL
In master mode, this bit selects the output wave form for the
SPI_SSx signal.
0: SPI_SSx remains asserted between SPI bursts
1: Negate SPI_SSx between SPI bursts
6
R/W
0
LMTF
LSB/ MSB Transfer First select
0: MSB first
1: LSB first
5
R/W
0
DMAMC
SPI DMA Mode Control
0: Normal DMA mode
1: Dedicate DMA mode
4
R/W
1
SSPOL
SPI Chip Select Signal Polarity Control
0: Active high polarity (0 = Idle)
1: Active low polarity (1 = Idle)
3
R/W
1
POL
SPI Clock Polarity Control
0: Active high polarity (0 = Idle)
1: Active low polarity (1 = Idle)
2
R/W
1
PHA
SPI Clock/Data Phase Control
0: Phase 0 (Leading edge for sample data)
1: Phase 1 (Leading edge for setup data)
1
R/W
0
MODE
SPI Function Mode Select

Table of Contents