| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

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

## Macros

#define | SPI_FULL_DUPLEX_MODE ((uint32_t)0x00000000)
#define | SPI_TRANSMIT_MODE ((uint32_t)0x00000001)
#define | SPI_RECEIVE_MODE ((uint32_t)0x00000002)
#define | SPI_COMBINED_MODE ((uint32_t)0x00000003)
#define | IS_SPI_COM_MODE(MODE)

## Detailed Description

## Macro Definition Documentation

#define IS_SPI_COM_MODE | ( |  | MODE | ) |

Value:
(((MODE) == SPI_FULL_DUPLEX_MODE) || \
((MODE) == SPI_TRANSMIT_MODE) || \
((MODE) == SPI_RECEIVE_MODE) || \
((MODE) == SPI_COMBINED_MODE))
SPI_COMBINED_MODE
#define SPI_COMBINED_MODE
Definition: BlueNRG1_spi.h:96
SPI_FULL_DUPLEX_MODE
#define SPI_FULL_DUPLEX_MODE
Definition: BlueNRG1_spi.h:93
SPI_TRANSMIT_MODE
#define SPI_TRANSMIT_MODE
Definition: BlueNRG1_spi.h:94
SPI_RECEIVE_MODE
#define SPI_RECEIVE_MODE
Definition: BlueNRG1_spi.h:95

Definition at line 99 of file BlueNRG1_spi.h.

#define SPI_COMBINED_MODE ((uint32_t)0x00000003)

Definition at line 96 of file BlueNRG1_spi.h.

#define SPI_FULL_DUPLEX_MODE ((uint32_t)0x00000000)

Definition at line 93 of file BlueNRG1_spi.h.

#define SPI_RECEIVE_MODE ((uint32_t)0x00000002)

Definition at line 95 of file BlueNRG1_spi.h.

#define SPI_TRANSMIT_MODE ((uint32_t)0x00000001)

Definition at line 94 of file BlueNRG1_spi.h.