\n
address_offset : 0x0 Bytes (0x0)
size : 0x50 byte (0x0)
mem_usage : registers
protection : not protected
Control Register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0
SPIEN : SPI Enable
bits : 0 - 0 (1 bit)
access : write-only
SPIDIS : SPI Disable
bits : 1 - 1 (1 bit)
access : write-only
SWRST : SPI Software Reset
bits : 7 - 7 (1 bit)
access : write-only
LASTXFER : Last Transfer
bits : 24 - 24 (1 bit)
access : write-only
Status Register
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
RDRF : Receive Data Register Full
bits : 0 - 0 (1 bit)
access : read-only
TDRE : Transmit Data Register Empty
bits : 1 - 1 (1 bit)
access : read-only
MODF : Mode Fault Error
bits : 2 - 2 (1 bit)
access : read-only
OVRES : Overrun Error Status
bits : 3 - 3 (1 bit)
access : read-only
NSSR : NSS Rising
bits : 8 - 8 (1 bit)
access : read-only
TXEMPTY : Transmission Registers Empty
bits : 9 - 9 (1 bit)
access : read-only
SPIENS : SPI Enable Status
bits : 16 - 16 (1 bit)
access : read-only
Chip Select Register
address_offset : 0x108 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CPOL : Clock Polarity
bits : 0 - 0 (1 bit)
access : read-write
NCPHA : Clock Phase
bits : 1 - 1 (1 bit)
access : read-write
CSNAAT : Chip Select Not Active After Transfer (Ignored if CSAAT = 1)
bits : 2 - 2 (1 bit)
access : read-write
CSAAT : Chip Select Active After Transfer
bits : 3 - 3 (1 bit)
access : read-write
BITS : Bits Per Transfer
bits : 4 - 7 (4 bit)
access : read-write
Enumeration:
0x0 : 8_BIT
8 bits for transfer
0x1 : 9_BIT
9 bits for transfer
0x2 : 10_BIT
10 bits for transfer
0x3 : 11_BIT
11 bits for transfer
0x4 : 12_BIT
12 bits for transfer
0x5 : 13_BIT
13 bits for transfer
0x6 : 14_BIT
14 bits for transfer
0x7 : 15_BIT
15 bits for transfer
0x8 : 16_BIT
16 bits for transfer
End of enumeration elements list.
SCBR : Serial Clock Baud Rate
bits : 8 - 15 (8 bit)
access : read-write
DLYBS : Delay Before SPCK
bits : 16 - 23 (8 bit)
access : read-write
DLYBCT : Delay Between Consecutive Transfers
bits : 24 - 31 (8 bit)
access : read-write
Interrupt Enable Register
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0
RDRF : Receive Data Register Full Interrupt Enable
bits : 0 - 0 (1 bit)
access : write-only
TDRE : SPI Transmit Data Register Empty Interrupt Enable
bits : 1 - 1 (1 bit)
access : write-only
MODF : Mode Fault Error Interrupt Enable
bits : 2 - 2 (1 bit)
access : write-only
OVRES : Overrun Error Interrupt Enable
bits : 3 - 3 (1 bit)
access : write-only
NSSR : NSS Rising Interrupt Enable
bits : 8 - 8 (1 bit)
access : write-only
TXEMPTY : Transmission Registers Empty Enable
bits : 9 - 9 (1 bit)
access : write-only
Interrupt Disable Register
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0
RDRF : Receive Data Register Full Interrupt Disable
bits : 0 - 0 (1 bit)
access : write-only
TDRE : SPI Transmit Data Register Empty Interrupt Disable
bits : 1 - 1 (1 bit)
access : write-only
MODF : Mode Fault Error Interrupt Disable
bits : 2 - 2 (1 bit)
access : write-only
OVRES : Overrun Error Interrupt Disable
bits : 3 - 3 (1 bit)
access : write-only
NSSR : NSS Rising Interrupt Disable
bits : 8 - 8 (1 bit)
access : write-only
TXEMPTY : Transmission Registers Empty Disable
bits : 9 - 9 (1 bit)
access : write-only
Interrupt Mask Register
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
RDRF : Receive Data Register Full Interrupt Mask
bits : 0 - 0 (1 bit)
access : read-only
TDRE : SPI Transmit Data Register Empty Interrupt Mask
bits : 1 - 1 (1 bit)
access : read-only
MODF : Mode Fault Error Interrupt Mask
bits : 2 - 2 (1 bit)
access : read-only
OVRES : Overrun Error Interrupt Mask
bits : 3 - 3 (1 bit)
access : read-only
NSSR : NSS Rising Interrupt Mask
bits : 8 - 8 (1 bit)
access : read-only
TXEMPTY : Transmission Registers Empty Mask
bits : 9 - 9 (1 bit)
access : read-only
Mode Register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
MSTR : Master/Slave Mode
bits : 0 - 0 (1 bit)
access : read-write
PS : Peripheral Select
bits : 1 - 1 (1 bit)
access : read-write
PCSDEC : Chip Select Decode
bits : 2 - 2 (1 bit)
access : read-write
MODFDIS : Mode Fault Detection
bits : 4 - 4 (1 bit)
access : read-write
WDRBT : Wait Data Read Before Transfer
bits : 5 - 5 (1 bit)
access : read-write
LLB : Local Loopback Enable
bits : 7 - 7 (1 bit)
access : read-write
PCS : Peripheral Chip Select
bits : 16 - 19 (4 bit)
access : read-write
DLYBCS : Delay Between Chip Selects
bits : 24 - 31 (8 bit)
access : read-write
Chip Select Register
address_offset : 0x60 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CPOL : Clock Polarity
bits : 0 - 0 (1 bit)
access : read-write
NCPHA : Clock Phase
bits : 1 - 1 (1 bit)
access : read-write
CSNAAT : Chip Select Not Active After Transfer (Ignored if CSAAT = 1)
bits : 2 - 2 (1 bit)
access : read-write
CSAAT : Chip Select Active After Transfer
bits : 3 - 3 (1 bit)
access : read-write
BITS : Bits Per Transfer
bits : 4 - 7 (4 bit)
access : read-write
Enumeration:
0x0 : 8_BIT
8 bits for transfer
0x1 : 9_BIT
9 bits for transfer
0x2 : 10_BIT
10 bits for transfer
0x3 : 11_BIT
11 bits for transfer
0x4 : 12_BIT
12 bits for transfer
0x5 : 13_BIT
13 bits for transfer
0x6 : 14_BIT
14 bits for transfer
0x7 : 15_BIT
15 bits for transfer
0x8 : 16_BIT
16 bits for transfer
End of enumeration elements list.
SCBR : Serial Clock Baud Rate
bits : 8 - 15 (8 bit)
access : read-write
DLYBS : Delay Before SPCK
bits : 16 - 23 (8 bit)
access : read-write
DLYBCT : Delay Between Consecutive Transfers
bits : 24 - 31 (8 bit)
access : read-write
Receive Data Register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
RD : Receive Data
bits : 0 - 15 (16 bit)
access : read-only
PCS : Peripheral Chip Select
bits : 16 - 19 (4 bit)
access : read-only
Chip Select Register
address_offset : 0x94 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CPOL : Clock Polarity
bits : 0 - 0 (1 bit)
access : read-write
NCPHA : Clock Phase
bits : 1 - 1 (1 bit)
access : read-write
CSNAAT : Chip Select Not Active After Transfer (Ignored if CSAAT = 1)
bits : 2 - 2 (1 bit)
access : read-write
CSAAT : Chip Select Active After Transfer
bits : 3 - 3 (1 bit)
access : read-write
BITS : Bits Per Transfer
bits : 4 - 7 (4 bit)
access : read-write
Enumeration:
0x0 : 8_BIT
8 bits for transfer
0x1 : 9_BIT
9 bits for transfer
0x2 : 10_BIT
10 bits for transfer
0x3 : 11_BIT
11 bits for transfer
0x4 : 12_BIT
12 bits for transfer
0x5 : 13_BIT
13 bits for transfer
0x6 : 14_BIT
14 bits for transfer
0x7 : 15_BIT
15 bits for transfer
0x8 : 16_BIT
16 bits for transfer
End of enumeration elements list.
SCBR : Serial Clock Baud Rate
bits : 8 - 15 (8 bit)
access : read-write
DLYBS : Delay Before SPCK
bits : 16 - 23 (8 bit)
access : read-write
DLYBCT : Delay Between Consecutive Transfers
bits : 24 - 31 (8 bit)
access : read-write
Transmit Data Register
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0
TD : Transmit Data
bits : 0 - 15 (16 bit)
access : write-only
PCS : Peripheral Chip Select
bits : 16 - 19 (4 bit)
access : write-only
LASTXFER : Last Transfer
bits : 24 - 24 (1 bit)
access : write-only
Chip Select Register
address_offset : 0xCC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CPOL : Clock Polarity
bits : 0 - 0 (1 bit)
access : read-write
NCPHA : Clock Phase
bits : 1 - 1 (1 bit)
access : read-write
CSNAAT : Chip Select Not Active After Transfer (Ignored if CSAAT = 1)
bits : 2 - 2 (1 bit)
access : read-write
CSAAT : Chip Select Active After Transfer
bits : 3 - 3 (1 bit)
access : read-write
BITS : Bits Per Transfer
bits : 4 - 7 (4 bit)
access : read-write
Enumeration:
0x0 : 8_BIT
8 bits for transfer
0x1 : 9_BIT
9 bits for transfer
0x2 : 10_BIT
10 bits for transfer
0x3 : 11_BIT
11 bits for transfer
0x4 : 12_BIT
12 bits for transfer
0x5 : 13_BIT
13 bits for transfer
0x6 : 14_BIT
14 bits for transfer
0x7 : 15_BIT
15 bits for transfer
0x8 : 16_BIT
16 bits for transfer
End of enumeration elements list.
SCBR : Serial Clock Baud Rate
bits : 8 - 15 (8 bit)
access : read-write
DLYBS : Delay Before SPCK
bits : 16 - 23 (8 bit)
access : read-write
DLYBCT : Delay Between Consecutive Transfers
bits : 24 - 31 (8 bit)
access : read-write
Write Protection Control Register
address_offset : 0xE4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SPIWPEN : SPI Write Protection Enable
bits : 0 - 0 (1 bit)
access : read-write
SPIWPKEY : SPI Write Protection Key Password
bits : 8 - 31 (24 bit)
access : read-write
Write Protection Status Register
address_offset : 0xE8 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
SPIWPVS : SPI Write Protection Violation Status
bits : 0 - 2 (3 bit)
access : read-only
SPIWPVSRC : SPI Write Protection Violation Source
bits : 8 - 15 (8 bit)
access : read-only
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.