| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Spikes Filtering Definitions
BLUENRG1 Peripheral Driver » I2C Peripheral » Exported Constants

## Macros

#define | I2C_Filtering_Off ((uint8_t)0x00)
#define | I2C_Filtering_1Ck_Spike ((uint8_t)0x01)
#define | I2C_Filtering_2Ck_Spikes ((uint8_t)0x02)
#define | I2C_Filtering_4Ck_Spikes ((uint8_t)0x03)
#define | IS_I2C_FILTERING(FILTER)

## Detailed Description

## Macro Definition Documentation

#define I2C_Filtering_1Ck_Spike ((uint8_t)0x01)

Filters 1 clock spikes

Definition at line 143 of file BlueNRG1_i2c.h.

#define I2C_Filtering_2Ck_Spikes ((uint8_t)0x02)

Filters 2 clock spikes

Definition at line 144 of file BlueNRG1_i2c.h.

#define I2C_Filtering_4Ck_Spikes ((uint8_t)0x03)

Filters 4 clock spikes

Definition at line 145 of file BlueNRG1_i2c.h.

#define I2C_Filtering_Off ((uint8_t)0x00)

Disables filtering

Definition at line 142 of file BlueNRG1_i2c.h.

#define IS_I2C_FILTERING | ( |  | FILTER | ) |

Value:
(((FILTER) == I2C_Filtering_Off) || \
((FILTER) == I2C_Filtering_1Ck_Spike) || \
((FILTER) == I2C_Filtering_2Ck_Spikes) || \
((FILTER) == I2C_Filtering_4Ck_Spikes))
I2C_Filtering_4Ck_Spikes
#define I2C_Filtering_4Ck_Spikes
Definition: BlueNRG1_i2c.h:145
I2C_Filtering_Off
#define I2C_Filtering_Off
Definition: BlueNRG1_i2c.h:142
I2C_Filtering_1Ck_Spike
#define I2C_Filtering_1Ck_Spike
Definition: BlueNRG1_i2c.h:143
I2C_Filtering_2Ck_Spikes
#define I2C_Filtering_2Ck_Spikes
Definition: BlueNRG1_i2c.h:144

This macro checks if FILTER is a valid filtering value

Definition at line 148 of file BlueNRG1_i2c.h.