# SAM3S8 SPI

## Serial Peripheral Interface (SPI) User Interface

### Registers

Register Mapping
Address | Register | Name | Access | Reset
--- | --- | --- | --- | ---
0x40008000 | Control Register | SPI_CR | write-only | -
0x40008004 | Mode Register | SPI_MR | read-write | 0x00000000
0x40008008 | Receive Data Register | SPI_RDR | read-only | 0x00000000
0x4000800C | Transmit Data Register | SPI_TDR | write-only | -
0x40008010 | Status Register | SPI_SR | read-only | 0x000000F0
0x40008014 | Interrupt Enable Register | SPI_IER | write-only | -
0x40008018 | Interrupt Disable Register | SPI_IDR | write-only | -
0x4000801C | Interrupt Mask Register | SPI_IMR | read-only | 0x00000000
0x40008030 | Chip Select Register | SPI_CSR[4] | read-write | 0x0
0x400080E4 | Write Protection Control Register | SPI_WPMR | read-write | 0x00000000
0x400080E8 | Write Protection Status Register | SPI_WPSR | read-only | 0x00000000
0x40008100 | Receive Pointer Register | SPI_RPR | read-write | 0x00000000
0x40008104 | Receive Counter Register | SPI_RCR | read-write | 0x00000000
0x40008108 | Transmit Pointer Register | SPI_TPR | read-write | 0x00000000
0x4000810C | Transmit Counter Register | SPI_TCR | read-write | 0x00000000
0x40008110 | Receive Next Pointer Register | SPI_RNPR | read-write | 0x00000000
0x40008114 | Receive Next Counter Register | SPI_RNCR | read-write | 0x00000000
0x40008118 | Transmit Next Pointer Register | SPI_TNPR | read-write | 0x00000000
0x4000811C | Transmit Next Counter Register | SPI_TNCR | read-write | 0x00000000
0x40008120 | Transfer Control Register | SPI_PTCR | write-only | 0x00000000
0x40008124 | Transfer Status Register | SPI_PTSR | read-only | 0x00000000

### Register Fields

#### SPI Control Register

Name: SPI_CR

Access: write-only

Address: 0x40008000

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | LASTXFER
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
- | - | - | - | - | - | - | -
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
SWRST | - | - | - | - | - | SPIDIS | SPIEN

- SPIEN: SPI Enable

  Value | Name | Description
  --- | --- | ---
  0 | - | No effect.
  1 | - | Enables the SPI to transfer and receive data.

- SPIDIS: SPI Disable

  Value | Name | Description
  --- | --- | ---
  0 | - | No effect.
  1 | - | Disables the SPI.

- SWRST: SPI Software Reset

  Value | Name | Description
  --- | --- | ---
  0 | - | No effect.
  1 | - | Reset the SPI. A software-triggered hardware reset of the SPI interface is performed.

- LASTXFER: Last Transfer

  Value | Name | Description
  --- | --- | ---
  0 | - | No effect.
  1 | - | The current NPCS will be deasserted after the character written in TD has been transferred. When CSAAT is set, this allows to close the communication with the current serial peripheral by raising the corresponding NPCS line as soon as TD transfer has completed.

#### SPI Mode Register

Name: SPI_MR

Access: read-write

Address: 0x40008004

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
DLYBCS
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | PCS
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
- | - | - | - | - | - | - | -
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
LLB | - | WDRBT | MODFDIS | - | PCSDEC | PS | MSTR

- MSTR: Master/Slave Mode

  Value | Name | Description
  --- | --- | ---
  0 | - | SPI is in Slave mode.
  1 | - | SPI is in Master mode.

- PS: Peripheral Select

  Value | Name | Description
  --- | --- | ---
  0 | - | Fixed Peripheral Select.
  1 | - | Variable Peripheral Select.

- PCSDEC: Chip Select Decode

  Value | Name | Description
  --- | --- | ---
  0 | - | The chip selects are directly connected to a peripheral device.
  1 | - | The four chip select lines are connected to a 4- to 16-bit decoder.

- MODFDIS: Mode Fault Detection

  Value | Name | Description
  --- | --- | ---
  0 | - | Mode fault detection is enabled.
  1 | - | Mode fault detection is disabled.

- WDRBT: Wait Data Read Before Transfer

  Value | Name | Description
  --- | --- | ---
  0 | - | No Effect. In master mode, a transfer can be initiated whatever the state of the Receive Data Register is.
  1 | - | In Master Mode, a transfer can start only if the Receive Data Register is empty, i.e. does not contain any unread data. This mode prevents overrun error in reception.

- LLB: Local Loopback Enable

  Value | Name | Description
  --- | --- | ---
  0 | - | Local loopback path disabled.
  1 | - | Local loopback path enabled

- PCS: Peripheral Chip Select

-

- DLYBCS: Delay Between Chip Selects

-

#### SPI Receive Data Register

Name: SPI_RDR

Access: read-only

Address: 0x40008008

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | PCS
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
RD
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
RD

- RD: Receive Data

-

- PCS: Peripheral Chip Select

-

#### SPI Transmit Data Register

Name: SPI_TDR

Access: write-only

Address: 0x4000800C

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | LASTXFER
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | PCS
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
TD
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
TD

- TD: Transmit Data

-

- PCS: Peripheral Chip Select

-

- LASTXFER: Last Transfer

  Value | Name | Description
  --- | --- | ---
  0 | - | No effect.
  1 | - | The current NPCS will be deasserted after the character written in TD has been transferred. When CSAAT is set, this allows to close the communication with the current serial peripheral by raising the corresponding NPCS line as soon as TD transfer has completed.

#### SPI Status Register

Name: SPI_SR

Access: read-only

Address: 0x40008010

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | SPIENS
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
- | - | - | - | - | UNDES | TXEMPTY | NSSR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
TXBUFE | RXBUFF | ENDTX | ENDRX | OVRES | MODF | TDRE | RDRF

- RDRF: Receive Data Register Full

  Value | Name | Description
  --- | --- | ---
  0 | - | No data has been received since the last read of SPI_RDR
  1 | - | Data has been received and the received data has been transferred from the serializer to SPI_RDR since the last read of SPI_RDR.

- TDRE: Transmit Data Register Empty

  Value | Name | Description
  --- | --- | ---
  0 | - | Data has been written to SPI_TDR and not yet transferred to the serializer.
  1 | - | The last data written in the Transmit Data Register has been transferred to the serializer.

- MODF: Mode Fault Error

  Value | Name | Description
  --- | --- | ---
  0 | - | No Mode Fault has been detected since the last read of SPI_SR.
  1 | - | A Mode Fault occurred since the last read of the SPI_SR.

- OVRES: Overrun Error Status

  Value | Name | Description
  --- | --- | ---
  0 | - | No overrun has been detected since the last read of SPI_SR.
  1 | - | An overrun has occurred since the last read of SPI_SR.

- ENDRX: End of RX buffer

  Value | Name | Description
  --- | --- | ---
  0 | - | The Receive Counter Register has not reached 0 since the last write in SPI_RCR(1) or SPI_RNCR(1).
  1 | - | The Receive Counter Register has reached 0 since the last write in SPI_RCR(1) or SPI_RNCR(1).

- ENDTX: End of TX buffer

  Value | Name | Description
  --- | --- | ---
  0 | - | The Transmit Counter Register has not reached 0 since the last write in SPI_TCR(1) or SPI_TNCR(1).
  1 | - | The Transmit Counter Register has reached 0 since the last write in SPI_TCR(1) or SPI_TNCR(1).

- RXBUFF: RX Buffer Full

  Value | Name | Description
  --- | --- | ---
  0 | - | SPI_RCR(1) or SPI_RNCR(1) has a value other than 0.
  1 | - | Both SPI_RCR(1) and SPI_RNCR(1) have a value of 0.

- TXBUFE: TX Buffer Empty

  Value | Name | Description
  --- | --- | ---
  0 | - | SPI_TCR(1) or SPI_TNCR(1) has a value other than 0.
  1 | - | Both SPI_TCR(1) and SPI_TNCR(1) have a value of 0.

- NSSR: NSS Rising

  Value | Name | Description
  --- | --- | ---
  0 | - | No rising edge detected on NSS pin since last read.
  1 | - | A rising edge occurred on NSS pin since last read.

- TXEMPTY: Transmission Registers Empty

  Value | Name | Description
  --- | --- | ---
  0 | - | As soon as data is written in SPI_TDR.
  1 | - | SPI_TDR and internal shifter are empty. If a transfer delay has been defined, TXEMPTY is set after the completion of such delay.

- UNDES: Underrun Error Status (Slave Mode Only)

  Value | Name | Description
  --- | --- | ---
  0 | - | No underrun has been detected since the last read of SPI_SR.
  1 | - | A transfer begins whereas no data has been loaded in the Transmit Data Register.

- SPIENS: SPI Enable Status

  Value | Name | Description
  --- | --- | ---
  0 | - | SPI is disabled.
  1 | - | SPI is enabled.

#### SPI Interrupt Enable Register

Name: SPI_IER

Access: write-only

Address: 0x40008014

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
- | - | - | - | - | UNDES | TXEMPTY | NSSR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
TXBUFE | RXBUFF | ENDTX | ENDRX | OVRES | MODF | TDRE | RDRF

- RDRF: Receive Data Register Full Interrupt Enable

-

- TDRE: SPI Transmit Data Register Empty Interrupt Enable

-

- MODF: Mode Fault Error Interrupt Enable

-

- OVRES: Overrun Error Interrupt Enable

-

- ENDRX: End of Receive Buffer Interrupt Enable

-

- ENDTX: End of Transmit Buffer Interrupt Enable

-

- RXBUFF: Receive Buffer Full Interrupt Enable

-

- TXBUFE: Transmit Buffer Empty Interrupt Enable

-

- NSSR: NSS Rising Interrupt Enable

-

- TXEMPTY: Transmission Registers Empty Enable

-

- UNDES: Underrun Error Interrupt Enable

-

#### SPI Interrupt Disable Register

Name: SPI_IDR

Access: write-only

Address: 0x40008018

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
- | - | - | - | - | UNDES | TXEMPTY | NSSR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
TXBUFE | RXBUFF | ENDTX | ENDRX | OVRES | MODF | TDRE | RDRF

- RDRF: Receive Data Register Full Interrupt Disable

-

- TDRE: SPI Transmit Data Register Empty Interrupt Disable

-

- MODF: Mode Fault Error Interrupt Disable

-

- OVRES: Overrun Error Interrupt Disable

-

- ENDRX: End of Receive Buffer Interrupt Disable

-

- ENDTX: End of Transmit Buffer Interrupt Disable

-

- RXBUFF: Receive Buffer Full Interrupt Disable

-

- TXBUFE: Transmit Buffer Empty Interrupt Disable

-

- NSSR: NSS Rising Interrupt Disable

-

- TXEMPTY: Transmission Registers Empty Disable

-

- UNDES: Underrun Error Interrupt Disable

-

#### SPI Interrupt Mask Register

Name: SPI_IMR

Access: read-only

Address: 0x4000801C

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
- | - | - | - | - | UNDES | TXEMPTY | NSSR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
TXBUFE | RXBUFF | ENDTX | ENDRX | OVRES | MODF | TDRE | RDRF

- RDRF: Receive Data Register Full Interrupt Mask

-

- TDRE: SPI Transmit Data Register Empty Interrupt Mask

-

- MODF: Mode Fault Error Interrupt Mask

-

- OVRES: Overrun Error Interrupt Mask

-

- ENDRX: End of Receive Buffer Interrupt Mask

-

- ENDTX: End of Transmit Buffer Interrupt Mask

-

- RXBUFF: Receive Buffer Full Interrupt Mask

-

- TXBUFE: Transmit Buffer Empty Interrupt Mask

-

- NSSR: NSS Rising Interrupt Mask

-

- TXEMPTY: Transmission Registers Empty Mask

-

- UNDES: Underrun Error Interrupt Mask

-

#### SPI Chip Select Register

Name: SPI_CSR[0:3]

Access: read-write

Address: 0x40008030

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
DLYBCT
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
DLYBS
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
SCBR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
BITS | CSAAT | CSNAAT | NCPHA | CPOL

- CPOL: Clock Polarity

  Value | Name | Description
  --- | --- | ---
  0 | - | The inactive state value of SPCK is logic level zero.
  1 | - | The inactive state value of SPCK is logic level one.

- NCPHA: Clock Phase

  Value | Name | Description
  --- | --- | ---
  0 | - | Data is changed on the leading edge of SPCK and captured on the following edge of SPCK.
  1 | - | Data is captured on the leading edge of SPCK and changed on the following edge of SPCK.

- CSNAAT: Chip Select Not Active After Transfer (Ignored if CSAAT = 1)

  Value | Name | Description
  --- | --- | ---
  0 | - | The Peripheral Chip Select does not rise between two transfers if the SPI_TDR is reloaded before the end of the first transfer and if the two transfers occur on the same Chip Select.
  1 | - | The Peripheral Chip Select rises systematically between each transfer performed on the same slave for a minimal dura- tion of:

- CSAAT: Chip Select Not Active After Transfer (Ignored if CSAAT = 1)

  Value | Name | Description
  --- | --- | ---
  0 | - | The Peripheral Chip Select does not rise between two transfers if the SPI_TDR is reloaded before the end of the first transfer and if the two transfers occur on the same Chip Select.
  1 | - | The Peripheral Chip Select rises systematically between each transfer performed on the same slave for a minimal dura- tion of:

- BITS: Bits Per Transfer

  Value | Name | Description
  --- | --- | ---
  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

- SCBR: Serial Clock Baud Rate

-

- DLYBS: Delay Before SPCK

-

- DLYBCT: Delay Between Consecutive Transfers

-

#### SPI Write Protection Control Register

Name: SPI_WPMR

Access: read-write

Address: 0x400080E4

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
SPIWPKEY
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
SPIWPKEY
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
SPIWPKEY
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
- | - | - | - | - | - | - | SPIWPEN

- SPIWPEN: SPI Write Protection Enable

  Value | Name | Description
  --- | --- | ---
  0 | - | The Write Protection is Disabled
  1 | - | The Write Protection is Enabled

- SPIWPKEY: SPI Write Protection Key Password

-

#### SPI Write Protection Status Register

Name: SPI_WPSR

Access: read-only

Address: 0x400080E8

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
SPIWPVSRC
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
- | - | - | - | - | SPIWPVS

- SPIWPVS: SPI Write Protection Violation Status

  Value | Name | Description
  --- | --- | ---
  0x1 | - | The Write Protection has blocked a Write access to a protected register (since the last read).
  0x2 | - | Software Reset has been performed while Write Protection was enabled (since the last read or since the last write access on SPI_MR, SPI_IER, SPI_IDR or SPI_CSRx).
  0x3 | - | Both Write Protection violation and software reset with Write Protection enabled have occurred since the last read.
  0x4 | - | Write accesses have been detected on SPI_MR (while a chip select was active) or on SPI_CSRi (while the Chip Select "i" was active) since the last read.
  0x5 | - | The Write Protection has blocked a Write access to a protected register and write accesses have been detected on SPI_MR (while a chip select was active) or on SPI_CSRi (while the Chip Select "i" was active) since the last read.
  0x6 | - | Software Reset has been performed while Write Protection was enabled (since the last read or since the last write access on SPI_MR, SPI_IER, SPI_IDR or SPI_CSRx) and some write accesses have been detected on SPI_MR (while a chip select was active) or on SPI_CSRi (while the Chip Select "i" was active) since the last read.
  0x7 | - | - The Write Protection has blocked a Write access to a protected register.and- Software Reset has been performed while Write Protection was enabled.and- Write accesses have been detected on SPI_MR (while a chip select was active) or on SPI_CSRi (while the Chip Select "i" was active) since the last read.

- SPIWPVSRC: SPI Write Protection Violation Source

-

#### SPI Receive Pointer Register

Name: SPI_RPR

Access: read-write

Address: 0x40008100

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
RXPTR
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
RXPTR
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
RXPTR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
RXPTR

- RXPTR: Receive Pointer Register

-

#### SPI Receive Counter Register

Name: SPI_RCR

Access: read-write

Address: 0x40008104

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
RXCTR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
RXCTR

- RXCTR: Receive Counter Register

-

#### SPI Transmit Pointer Register

Name: SPI_TPR

Access: read-write

Address: 0x40008108

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
TXPTR
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
TXPTR
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
TXPTR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
TXPTR

- TXPTR: Transmit Counter Register

-

#### SPI Transmit Counter Register

Name: SPI_TCR

Access: read-write

Address: 0x4000810C

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
TXCTR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
TXCTR

- TXCTR: Transmit Counter Register

-

#### SPI Receive Next Pointer Register

Name: SPI_RNPR

Access: read-write

Address: 0x40008110

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
RXNPTR
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
RXNPTR
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
RXNPTR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
RXNPTR

- RXNPTR: Receive Next Pointer

-

#### SPI Receive Next Counter Register

Name: SPI_RNCR

Access: read-write

Address: 0x40008114

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
RXNCTR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
RXNCTR

- RXNCTR: Receive Next Counter

-

#### SPI Transmit Next Pointer Register

Name: SPI_TNPR

Access: read-write

Address: 0x40008118

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
TXNPTR
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
TXNPTR
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
TXNPTR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
TXNPTR

- TXNPTR: Transmit Next Pointer

-

#### SPI Transmit Next Counter Register

Name: SPI_TNCR

Access: read-write

Address: 0x4000811C

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
TXNCTR
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
TXNCTR

- TXNCTR: Transmit Counter Next

-

#### SPI Transfer Control Register

Name: SPI_PTCR

Access: write-only

Address: 0x40008120

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
- | - | - | - | - | - | TXTDIS | TXTEN
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
- | - | - | - | - | - | RXTDIS | RXTEN

- RXTEN: Receiver Transfer Enable

  Value | Name | Description
  --- | --- | ---
  0 | - | No effect.
  1 | - | Enables PDC receiver channel requests if RXTDIS is not set.

- RXTDIS: Receiver Transfer Disable

  Value | Name | Description
  --- | --- | ---
  0 | - | No effect.
  1 | - | Disables the PDC receiver channel requests.

- TXTEN: Transmitter Transfer Enable

  Value | Name | Description
  --- | --- | ---
  0 | - | No effect.
  1 | - | Enables the PDC transmitter channel requests.

- TXTDIS: Transmitter Transfer Disable

  Value | Name | Description
  --- | --- | ---
  0 | - | No effect.
  1 | - | Disables the PDC transmitter channel requests.

#### SPI Transfer Status Register

Name: SPI_PTSR

Access: read-only

Address: 0x40008124

31 | 30 | 29 | 28 | 27 | 26 | 25 | 24
- | - | - | - | - | - | - | -
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16
- | - | - | - | - | - | - | -
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8
- | - | - | - | - | - | - | TXTEN
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
- | - | - | - | - | - | - | RXTEN

- RXTEN: Receiver Transfer Enable

  Value | Name | Description
  --- | --- | ---
  0 | - | PDC Receiver channel requests are disabled.
  1 | - | PDC Receiver channel requests are enabled.

- TXTEN: Transmitter Transfer Enable

  Value | Name | Description
  --- | --- | ---
  0 | - | PDC Transmitter channel requests are disabled.
  1 | - | PDC Transmitter channel requests are enabled.