MG32F157 Standard Peripherals Firmware Library
Macros
SPI_Slave_Select_management

Macros

#define SPI_NSS_Soft   ((uint16_t)0x0200)
 
#define SPI_NSS_Hard   ((uint16_t)0x0000)
 
#define IS_SPI_NSS(NSS)
 

Detailed Description

Macro Definition Documentation

◆ IS_SPI_NSS

#define IS_SPI_NSS (   NSS)
Value:
(((NSS) == SPI_NSS_Soft) || \
((NSS) == SPI_NSS_Hard))