| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Interrupts Mask Definition
BLUENRG1 Peripheral Driver » SPI Peripheral » Exported Constants

## Macros

#define | SPI_IT_TE ((uint8_t)0x20)
#define | SPI_IT_TUR ((uint8_t)0x10)
#define | SPI_IT_TX ((uint8_t)0x08)
#define | SPI_IT_RX ((uint8_t)0x04)
#define | SPI_IT_RT ((uint8_t)0x02)
#define | SPI_IT_ROR ((uint8_t)0x01)
#define | SPI_IT_MSK ((uint8_t)0x3F)
#define | IS_SPI_CONFIG_IT(IT) (((IT & ~SPI_IT_MSK) == 0x00) && ((IT) != 0x00))
#define | IS_SPI_CLEAR_IT(IT)
#define | IS_SPI_GET_IT(IT)

## Detailed Description

## Macro Definition Documentation

#define IS_SPI_CLEAR_IT | ( |  | IT | ) |

Value:
(((IT) == SPI_IT_TUR) || \
((IT) == SPI_IT_RT) || ((IT) == SPI_IT_ROR))
SPI_IT_TUR
#define SPI_IT_TUR
Definition: BlueNRG1_spi.h:200
SPI_IT_RT
#define SPI_IT_RT
Definition: BlueNRG1_spi.h:203
SPI_IT_ROR
#define SPI_IT_ROR
Definition: BlueNRG1_spi.h:204

Definition at line 212 of file BlueNRG1_spi.h.

#define IS_SPI_CONFIG_IT | ( |  | IT | ) | (((IT & ~SPI_IT_MSK) == 0x00) && ((IT) != 0x00))

Definition at line 208 of file BlueNRG1_spi.h.

#define IS_SPI_GET_IT | ( |  | IT | ) |

Value:
(((IT) == SPI_IT_TX) || ((IT) == SPI_IT_RX) || \
((IT) == SPI_IT_RT) || ((IT) == SPI_IT_ROR) || \
((IT) == SPI_IT_TUR) || ((IT) == SPI_IT_TE))
SPI_IT_RX
#define SPI_IT_RX
Definition: BlueNRG1_spi.h:202
SPI_IT_TUR
#define SPI_IT_TUR
Definition: BlueNRG1_spi.h:200
SPI_IT_TX
#define SPI_IT_TX
Definition: BlueNRG1_spi.h:201
SPI_IT_RT
#define SPI_IT_RT
Definition: BlueNRG1_spi.h:203
SPI_IT_ROR
#define SPI_IT_ROR
Definition: BlueNRG1_spi.h:204
SPI_IT_TE
#define SPI_IT_TE
Definition: BlueNRG1_spi.h:199

Definition at line 216 of file BlueNRG1_spi.h.

#define SPI_IT_MSK ((uint8_t)0x3F)

Interrupt mask

Definition at line 205 of file BlueNRG1_spi.h.

#define SPI_IT_ROR ((uint8_t)0x01)

Rx overrun interrupt mask

Definition at line 204 of file BlueNRG1_spi.h.

#define SPI_IT_RT ((uint8_t)0x02)

Rx timeout interrupt mask

Definition at line 203 of file BlueNRG1_spi.h.

#define SPI_IT_RX ((uint8_t)0x04)

Rx interrupt mask

Definition at line 202 of file BlueNRG1_spi.h.

#define SPI_IT_TE ((uint8_t)0x20)

Transmit FIFO empty interrupt mask

Definition at line 199 of file BlueNRG1_spi.h.

#define SPI_IT_TUR ((uint8_t)0x10)

Transmit underrun interrupt mask

Definition at line 200 of file BlueNRG1_spi.h.

#define SPI_IT_TX ((uint8_t)0x08)

Tx interrupt mask

Definition at line 201 of file BlueNRG1_spi.h.