| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Data Size Definition
BLUENRG1 Peripheral Driver » SPI Peripheral » Exported Constants

## Macros

#define | SPI_DataSize_32b ((uint8_t)0x1F)
#define | SPI_DataSize_31b ((uint8_t)0x1E)
#define | SPI_DataSize_30b ((uint8_t)0x1D)
#define | SPI_DataSize_29b ((uint8_t)0x1C)
#define | SPI_DataSize_28b ((uint8_t)0x1B)
#define | SPI_DataSize_27b ((uint8_t)0x1A)
#define | SPI_DataSize_26b ((uint8_t)0x19)
#define | SPI_DataSize_25b ((uint8_t)0x18)
#define | SPI_DataSize_24b ((uint8_t)0x17)
#define | SPI_DataSize_23b ((uint8_t)0x16)
#define | SPI_DataSize_22b ((uint8_t)0x15)
#define | SPI_DataSize_21b ((uint8_t)0x14)
#define | SPI_DataSize_20b ((uint8_t)0x13)
#define | SPI_DataSize_19b ((uint8_t)0x12)
#define | SPI_DataSize_18b ((uint8_t)0x11)
#define | SPI_DataSize_17b ((uint8_t)0x10)
#define | SPI_DataSize_16b ((uint8_t)0x0F)
#define | SPI_DataSize_15b ((uint8_t)0x0E)
#define | SPI_DataSize_14b ((uint8_t)0x0D)
#define | SPI_DataSize_13b ((uint8_t)0x0C)
#define | SPI_DataSize_12b ((uint8_t)0x0B)
#define | SPI_DataSize_11b ((uint8_t)0x0A)
#define | SPI_DataSize_10b ((uint8_t)0x09)
#define | SPI_DataSize_9b ((uint8_t)0x08)
#define | SPI_DataSize_8b ((uint8_t)0x07)
#define | SPI_DataSize_7b ((uint8_t)0x06)
#define | SPI_DataSize_6b ((uint8_t)0x05)
#define | SPI_DataSize_5b ((uint8_t)0x04)
#define | SPI_DataSize_4b ((uint8_t)0x03)
#define | IS_SPI_DATASIZE(DATASIZE) ((DATASIZE > 2) && (DATASIZE < 0x20))

## Detailed Description

## Macro Definition Documentation

#define IS_SPI_DATASIZE | ( |  | DATASIZE | ) | ((DATASIZE > 2) && (DATASIZE < 0x20))

Definition at line 159 of file BlueNRG1_spi.h.

#define SPI_DataSize_10b ((uint8_t)0x09)

10-bit data size

Definition at line 150 of file BlueNRG1_spi.h.

#define SPI_DataSize_11b ((uint8_t)0x0A)

11-bit data size

Definition at line 149 of file BlueNRG1_spi.h.

#define SPI_DataSize_12b ((uint8_t)0x0B)

12-bit data size

Definition at line 148 of file BlueNRG1_spi.h.

#define SPI_DataSize_13b ((uint8_t)0x0C)

13-bit data size

Definition at line 147 of file BlueNRG1_spi.h.

#define SPI_DataSize_14b ((uint8_t)0x0D)

14-bit data size

Definition at line 146 of file BlueNRG1_spi.h.

#define SPI_DataSize_15b ((uint8_t)0x0E)

15-bit data size

Definition at line 145 of file BlueNRG1_spi.h.

#define SPI_DataSize_16b ((uint8_t)0x0F)

16-bit data size

Definition at line 144 of file BlueNRG1_spi.h.

#define SPI_DataSize_17b ((uint8_t)0x10)

17-bit data size

Definition at line 143 of file BlueNRG1_spi.h.

#define SPI_DataSize_18b ((uint8_t)0x11)

18-bit data size

Definition at line 142 of file BlueNRG1_spi.h.

#define SPI_DataSize_19b ((uint8_t)0x12)

19-bit data size

Definition at line 141 of file BlueNRG1_spi.h.

#define SPI_DataSize_20b ((uint8_t)0x13)

20-bit data size

Definition at line 140 of file BlueNRG1_spi.h.

#define SPI_DataSize_21b ((uint8_t)0x14)

21-bit data size

Definition at line 139 of file BlueNRG1_spi.h.

#define SPI_DataSize_22b ((uint8_t)0x15)

22-bit data size

Definition at line 138 of file BlueNRG1_spi.h.

#define SPI_DataSize_23b ((uint8_t)0x16)

23-bit data size

Definition at line 137 of file BlueNRG1_spi.h.

#define SPI_DataSize_24b ((uint8_t)0x17)

24-bit data size

Definition at line 136 of file BlueNRG1_spi.h.

#define SPI_DataSize_25b ((uint8_t)0x18)

25-bit data size

Definition at line 135 of file BlueNRG1_spi.h.

#define SPI_DataSize_26b ((uint8_t)0x19)

26-bit data size

Definition at line 134 of file BlueNRG1_spi.h.

#define SPI_DataSize_27b ((uint8_t)0x1A)

27-bit data size

Definition at line 133 of file BlueNRG1_spi.h.

#define SPI_DataSize_28b ((uint8_t)0x1B)

28-bit data size

Definition at line 132 of file BlueNRG1_spi.h.

#define SPI_DataSize_29b ((uint8_t)0x1C)

29-bit data size

Definition at line 131 of file BlueNRG1_spi.h.

#define SPI_DataSize_30b ((uint8_t)0x1D)

30-bit data size

Definition at line 130 of file BlueNRG1_spi.h.

#define SPI_DataSize_31b ((uint8_t)0x1E)

31-bit data size

Definition at line 129 of file BlueNRG1_spi.h.

#define SPI_DataSize_32b ((uint8_t)0x1F)

32-bit data size

Definition at line 128 of file BlueNRG1_spi.h.

#define SPI_DataSize_4b ((uint8_t)0x03)

4-bit data size

Definition at line 156 of file BlueNRG1_spi.h.

#define SPI_DataSize_5b ((uint8_t)0x04)

5-bit data size

Definition at line 155 of file BlueNRG1_spi.h.

#define SPI_DataSize_6b ((uint8_t)0x05)

6-bit data size

Definition at line 154 of file BlueNRG1_spi.h.

#define SPI_DataSize_7b ((uint8_t)0x06)

7-bit data size

Definition at line 153 of file BlueNRG1_spi.h.

#define SPI_DataSize_8b ((uint8_t)0x07)

8-bit data size

Definition at line 152 of file BlueNRG1_spi.h.

#define SPI_DataSize_9b ((uint8_t)0x08)

9-bit data size

Definition at line 151 of file BlueNRG1_spi.h.