EFM32 Gecko Software Documentation  efm32g-doc-5.1.2

Detailed Description

BMP error message macro definitions.

Macros

#define BMP_ERROR_DEVICE_ID_MISMATCH   0x0003
 
#define BMP_ERROR_DRIVER_NOT_INITIALIZED   0x0001
 
#define BMP_ERROR_I2C_TRANSACTION_FAILED   0x0002
 
#define BMP_OK   0x0000
 

Macro Definition Documentation

#define BMP_ERROR_DEVICE_ID_MISMATCH   0x0003

The device ID does not match the expected value

Definition at line 57 of file bmp.h.

Referenced by BMP_init().

#define BMP_ERROR_DRIVER_NOT_INITIALIZED   0x0001

The driver is not initialized

Definition at line 55 of file bmp.h.

#define BMP_ERROR_I2C_TRANSACTION_FAILED   0x0002

I2C transaction failed

Definition at line 56 of file bmp.h.

#define BMP_OK   0x0000

No errors

Definition at line 54 of file bmp.h.