| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Interrupts Definition
BLUENRG1 Peripheral Driver » I2C Peripheral » Exported Constants

## Macros

#define | I2C_IT_TXFE (0x00000001)
#define | I2C_IT_TXFNE (0x00000002)
#define | I2C_IT_TXFF (0x00000004)
#define | I2C_IT_TXFOVR (0x00000008)
#define | I2C_IT_RXFE (0x00000010)
#define | I2C_IT_RXFNF (0x00000020)
#define | I2C_IT_RXFF (0x00000040)
#define | I2C_IT_LBR (0x00008000)
#define | I2C_IT_RFSR (0x00010000)
#define | I2C_IT_RFSE (0x00020000)
#define | I2C_IT_WTSR (0x00040000)
#define | I2C_IT_MTD (0x00080000)
#define | I2C_IT_STD (0x00100000)
#define | I2C_IT_SAL (0x00800000)
#define | I2C_IT_MAL (0x01000000)
#define | I2C_IT_BERR (0x02000000)
#define | I2C_IT_MTDWS (0x10000000)
#define | I2C_IT_TIMEOUT (0x40000000)
#define | I2C_IT_MSK (0x739F807F)
#define | IS_I2C_IT(IT) ((((IT) & ~I2C_IT_MSK) == 0x00000000) && ((IT) != 0x00000000))

## Detailed Description

## Macro Definition Documentation

#define I2C_IT_BERR (0x02000000)

Bus error

Definition at line 257 of file BlueNRG1_i2c.h.

#define I2C_IT_LBR (0x00008000)

Length number of bytes received

Definition at line 249 of file BlueNRG1_i2c.h.

#define I2C_IT_MAL (0x01000000)

Master arbitration lost

Definition at line 256 of file BlueNRG1_i2c.h.

#define I2C_IT_MSK (0x739F807F)

Interrupt mask

Definition at line 260 of file BlueNRG1_i2c.h.

#define I2C_IT_MTD (0x00080000)

Master transaction done

Definition at line 253 of file BlueNRG1_i2c.h.

#define I2C_IT_MTDWS (0x10000000)

Master transaction done without stop

Definition at line 258 of file BlueNRG1_i2c.h.

#define I2C_IT_RFSE (0x00020000)

Read-from-Slave empty

Definition at line 251 of file BlueNRG1_i2c.h.

#define I2C_IT_RFSR (0x00010000)

Read-from-Slave request

Definition at line 250 of file BlueNRG1_i2c.h.

#define I2C_IT_RXFE (0x00000010)

Rx FIFO empty

Definition at line 246 of file BlueNRG1_i2c.h.

#define I2C_IT_RXFF (0x00000040)

Rx FIFO full

Definition at line 248 of file BlueNRG1_i2c.h.

#define I2C_IT_RXFNF (0x00000020)

Rx FIFO nearly full

Definition at line 247 of file BlueNRG1_i2c.h.

#define I2C_IT_SAL (0x00800000)

Slave arbitration lost

Definition at line 255 of file BlueNRG1_i2c.h.

#define I2C_IT_STD (0x00100000)

Slave transaction done

Definition at line 254 of file BlueNRG1_i2c.h.

#define I2C_IT_TIMEOUT (0x40000000)

Timeout or Tlow error

Definition at line 259 of file BlueNRG1_i2c.h.

#define I2C_IT_TXFE (0x00000001)

Tx FIFO empty

Definition at line 242 of file BlueNRG1_i2c.h.

#define I2C_IT_TXFF (0x00000004)

Tx FIFO full

Definition at line 244 of file BlueNRG1_i2c.h.

#define I2C_IT_TXFNE (0x00000002)

Tx FIFO nearly empty

Definition at line 243 of file BlueNRG1_i2c.h.

#define I2C_IT_TXFOVR (0x00000008)

Tx FIFO overflow

Definition at line 245 of file BlueNRG1_i2c.h.

#define I2C_IT_WTSR (0x00040000)

Write-to-Slave request

Definition at line 252 of file BlueNRG1_i2c.h.

#define IS_I2C_IT | ( |  | IT | ) | ((((IT) & ~I2C_IT_MSK) == 0x00000000) && ((IT) != 0x00000000))

This macro checks if IT is a valid combination of interrupt

Definition at line 263 of file BlueNRG1_i2c.h.