| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Clock Phase Definition
BLUENRG1 Peripheral Driver » SPI Peripheral » Exported Constants

## Macros

#define | SPI_CPHA_1Edge ((uint8_t)0)
#define | SPI_CPHA_2Edge ((uint8_t)1)
#define | IS_SPI_CPHA(CPHA)

## Detailed Description

## Macro Definition Documentation

#define IS_SPI_CPHA | ( |  | CPHA | ) |

Value:
(((CPHA) == SPI_CPHA_1Edge) || \
((CPHA) == SPI_CPHA_2Edge))
SPI_CPHA_2Edge
#define SPI_CPHA_2Edge
Definition: BlueNRG1_spi.h:186
SPI_CPHA_1Edge
#define SPI_CPHA_1Edge
Definition: BlueNRG1_spi.h:185

Definition at line 189 of file BlueNRG1_spi.h.

#define SPI_CPHA_1Edge ((uint8_t)0)

Clock phase 1st edge

Definition at line 185 of file BlueNRG1_spi.h.

#define SPI_CPHA_2Edge ((uint8_t)1)

Clock phase 2nd edge

Definition at line 186 of file BlueNRG1_spi.h.