uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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

Definition at line 194 of file stm32f10x_spi.h.

#define SPI_NSS_Hard   ((uint16_t)0x0000)

Definition at line 193 of file stm32f10x_spi.h.

#define SPI_NSS_Soft   ((uint16_t)0x0200)

Definition at line 192 of file stm32f10x_spi.h.