| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Flags Definition
BLUENRG1 Peripheral Driver » SPI Peripheral » Exported Constants

## Macros

#define | SPI_FLAG_TFE ((uint8_t)0x01)
#define | SPI_FLAG_TNF ((uint8_t)0x02)
#define | SPI_FLAG_RNE ((uint8_t)0x04)
#define | SPI_FLAG_RFF ((uint8_t)0x08)
#define | SPI_FLAG_BSY ((uint8_t)0x10)
#define | IS_SPI_GET_FLAG(FLAG)

## Detailed Description

## Macro Definition Documentation

#define IS_SPI_GET_FLAG | ( |  | FLAG | ) |

Value:
(((FLAG) == SPI_FLAG_TFE) || ((FLAG) == SPI_FLAG_TNF) || \
((FLAG) == SPI_FLAG_RNE) || ((FLAG) == SPI_FLAG_RFF) || \
((FLAG) == SPI_FLAG_BSY))
SPI_FLAG_RNE
#define SPI_FLAG_RNE
Definition: BlueNRG1_spi.h:230
SPI_FLAG_TNF
#define SPI_FLAG_TNF
Definition: BlueNRG1_spi.h:229
SPI_FLAG_BSY
#define SPI_FLAG_BSY
Definition: BlueNRG1_spi.h:232
SPI_FLAG_RFF
#define SPI_FLAG_RFF
Definition: BlueNRG1_spi.h:231
SPI_FLAG_TFE
#define SPI_FLAG_TFE
Definition: BlueNRG1_spi.h:228

Definition at line 235 of file BlueNRG1_spi.h.

#define SPI_FLAG_BSY ((uint8_t)0x10)

Busy flag

Definition at line 232 of file BlueNRG1_spi.h.

#define SPI_FLAG_RFF ((uint8_t)0x08)

Rx FIFO full flag

Definition at line 231 of file BlueNRG1_spi.h.

#define SPI_FLAG_RNE ((uint8_t)0x04)

Rx FIFO not empty flag

Definition at line 230 of file BlueNRG1_spi.h.

#define SPI_FLAG_TFE ((uint8_t)0x01)

Tx FIFO empty flag

Definition at line 228 of file BlueNRG1_spi.h.

#define SPI_FLAG_TNF ((uint8_t)0x02)

Tx FIFO not full flag

Definition at line 229 of file BlueNRG1_spi.h.