| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

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

## Macros

#define | SPI_Mode_Master ((uint8_t)0x00)
#define | SPI_Mode_Slave ((uint8_t)0x01)
#define | IS_SPI_MODE(MODE)

## Detailed Description

## Macro Definition Documentation

#define IS_SPI_MODE | ( |  | MODE | ) |

Value:
(((MODE) == SPI_Mode_Master) || \
((MODE) == SPI_Mode_Slave))
SPI_Mode_Master
#define SPI_Mode_Master
Definition: BlueNRG1_spi.h:113
SPI_Mode_Slave
#define SPI_Mode_Slave
Definition: BlueNRG1_spi.h:114

Definition at line 117 of file BlueNRG1_spi.h.

#define SPI_Mode_Master ((uint8_t)0x00)

Master mode

Definition at line 113 of file BlueNRG1_spi.h.

#define SPI_Mode_Slave ((uint8_t)0x01)

Slave mode

Definition at line 114 of file BlueNRG1_spi.h.