| NUC472_NUC442_BSP V3.04.000 The Board Support Package for NUC472/NUC442

Modules | Macros
SPI Exported Constants
NUC472/NUC442 Device Driver » SPI Driver
Collaboration diagram for SPI Exported Constants:

## Modules
| SPI Exported Functions

## Macros
#define | SPI_MODE_0
#define | SPI_MODE_1
#define | SPI_MODE_2
#define | SPI_MODE_3
#define | SPI_SLAVE
#define | SPI_MASTER
#define | SPI_SS0
#define | SPI_SS1
#define | SPI_SS_ACTIVE_HIGH
#define | SPI_SS_ACTIVE_LOW
#define | SPI_UNITIEN_MASK
#define | SPI_SSINAIEN_MASK
#define | SPI_SSACTIEN_MASK
#define | SPI_SLVURIEN_MASK
#define | SPI_SLVBEIEN_MASK
#define | SPI_SLVTOIEN_MASK
#define | SPI_FIFO_TXTHIEN_MASK
#define | SPI_FIFO_RXTHIEN_MASK
#define | SPI_FIFO_RXOVIEN_MASK
#define | SPI_FIFO_TXUFIEN_MASK
#define | SPI_FIFO_RXTOIEN_MASK

## Detailed Description

## Macro Definition Documentation

## ◆ SPI_FIFO_RXOVIEN_MASK

#define SPI_FIFO_RXOVIEN_MASK

Receive FIFO Overrun interrupt enable mask

Definition at line 54 of file spi.h.

## ◆ SPI_FIFO_RXTHIEN_MASK

#define SPI_FIFO_RXTHIEN_MASK

Receive FIFO Threshold interrupt enable mask

Definition at line 53 of file spi.h.

## ◆ SPI_FIFO_RXTOIEN_MASK

#define SPI_FIFO_RXTOIEN_MASK

Slave Receive Time-out interrupt enable mask

Definition at line 56 of file spi.h.

## ◆ SPI_FIFO_TXTHIEN_MASK

#define SPI_FIFO_TXTHIEN_MASK

Transmit FIFO Threshold interrupt enable mask

Definition at line 52 of file spi.h.

## ◆ SPI_FIFO_TXUFIEN_MASK

#define SPI_FIFO_TXUFIEN_MASK

Slave Transmit Under Run interrupt enable mask

Definition at line 55 of file spi.h.

## ◆ SPI_MASTER

#define SPI_MASTER

Set as master

Definition at line 39 of file spi.h.

## ◆ SPI_MODE_0

#define SPI_MODE_0

CLKP=0; RX_NEG=0; TX_NEG=1

Definition at line 33 of file spi.h.

## ◆ SPI_MODE_1

#define SPI_MODE_1

CLKP=0; RX_NEG=1; TX_NEG=0

Definition at line 34 of file spi.h.

## ◆ SPI_MODE_2

#define SPI_MODE_2

CLKP=1; RX_NEG=1; TX_NEG=0

Definition at line 35 of file spi.h.

## ◆ SPI_MODE_3

#define SPI_MODE_3

CLKP=1; RX_NEG=0; TX_NEG=1

Definition at line 36 of file spi.h.

## ◆ SPI_SLAVE

#define SPI_SLAVE

Set as slave

Definition at line 38 of file spi.h.

## ◆ SPI_SLVBEIEN_MASK

#define SPI_SLVBEIEN_MASK

Slave Mode Error 0 interrupt enable mask

Definition at line 50 of file spi.h.

## ◆ SPI_SLVTOIEN_MASK

#define SPI_SLVTOIEN_MASK

Slave Mode Time-out interrupt enable mask

Definition at line 51 of file spi.h.

## ◆ SPI_SLVURIEN_MASK

#define SPI_SLVURIEN_MASK

Slave Mode Error 1 interrupt enable mask

Definition at line 49 of file spi.h.

## ◆ SPI_SS0

#define SPI_SS0

Set SS0

Definition at line 41 of file spi.h.

## ◆ SPI_SS1

#define SPI_SS1

Set SS1

Definition at line 42 of file spi.h.

## ◆ SPI_SS_ACTIVE_HIGH

#define SPI_SS_ACTIVE_HIGH

SS active high

Definition at line 43 of file spi.h.

## ◆ SPI_SS_ACTIVE_LOW

#define SPI_SS_ACTIVE_LOW

SS active low

Definition at line 44 of file spi.h.

## ◆ SPI_SSACTIEN_MASK

#define SPI_SSACTIEN_MASK

Slave Slave Active interrupt enable mask

Definition at line 48 of file spi.h.

## ◆ SPI_SSINAIEN_MASK

#define SPI_SSINAIEN_MASK

Slave Slave Inactive interrupt enable mask

Definition at line 47 of file spi.h.

## ◆ SPI_UNITIEN_MASK

#define SPI_UNITIEN_MASK

Interrupt enable mask

Definition at line 46 of file spi.h.