| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Endian Format Definition
BLUENRG1 Peripheral Driver » SPI Peripheral » Exported Constants

## Macros

#define | SPI_ENDIAN_MSByte_MSBit ((uint8_t)0)
#define | SPI_ENDIAN_LSByte_MSBit ((uint8_t)1)
#define | SPI_ENDIAN_MSByte_LSBit ((uint8_t)2)
#define | SPI_ENDIAN_LSByte_LSBit ((uint8_t)3)
#define | IS_SPI_ENDIAN(FORMAT)

## Detailed Description

## Macro Definition Documentation

#define IS_SPI_ENDIAN | ( |  | FORMAT | ) |

Value:
( ((FORMAT) == SPI_ENDIAN_MSByte_MSBit) || \
((FORMAT) == SPI_ENDIAN_LSByte_MSBit) || \
((FORMAT) == SPI_ENDIAN_MSByte_LSBit) || \
((FORMAT) == SPI_ENDIAN_LSByte_LSBit))
SPI_ENDIAN_LSByte_MSBit
#define SPI_ENDIAN_LSByte_MSBit
Definition: BlueNRG1_spi.h:280
SPI_ENDIAN_MSByte_LSBit
#define SPI_ENDIAN_MSByte_LSBit
Definition: BlueNRG1_spi.h:281
SPI_ENDIAN_MSByte_MSBit
#define SPI_ENDIAN_MSByte_MSBit
Definition: BlueNRG1_spi.h:279
SPI_ENDIAN_LSByte_LSBit
#define SPI_ENDIAN_LSByte_LSBit
Definition: BlueNRG1_spi.h:282

This macro checks if IS_SPI_ENDIAN is a valid FORMAT value

Definition at line 285 of file BlueNRG1_spi.h.

#define SPI_ENDIAN_LSByte_LSBit ((uint8_t)3)

Endian format LSByte first and LSbit first

Definition at line 282 of file BlueNRG1_spi.h.

#define SPI_ENDIAN_LSByte_MSBit ((uint8_t)1)

Endian format LSByte first and MSbit first

Definition at line 280 of file BlueNRG1_spi.h.

#define SPI_ENDIAN_MSByte_LSBit ((uint8_t)2)

Endian format MSByte first and LSbit first

Definition at line 281 of file BlueNRG1_spi.h.

#define SPI_ENDIAN_MSByte_MSBit ((uint8_t)0)

Endian format MSByte first and MSbit first

Definition at line 279 of file BlueNRG1_spi.h.