EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
BOARD module error codes

Detailed Description

BOARD module error return codes macro definitions.

Macros

#define BOARD_ERROR_I2C_TRANSFER_FAILED   0x03
 
#define BOARD_ERROR_I2C_TRANSFER_NACK   0x02
 
#define BOARD_ERROR_I2C_TRANSFER_TIMEOUT   0x01
 
#define BOARD_ERROR_PIC_FW_INVALID   0x05
 
#define BOARD_ERROR_PIC_FW_UPDATE_FAILED   0x06
 
#define BOARD_ERROR_PIC_ID_MISMATCH   0x04
 
#define BOARD_OK   0
 

Macro Definition Documentation

#define BOARD_ERROR_I2C_TRANSFER_FAILED   0x03

I2C transaction failed

Definition at line 41 of file board.h.

#define BOARD_ERROR_I2C_TRANSFER_NACK   0x02

No acknowledgement received

Definition at line 40 of file board.h.

#define BOARD_ERROR_I2C_TRANSFER_TIMEOUT   0x01

I2C timeout occurred

Definition at line 39 of file board.h.

#define BOARD_ERROR_PIC_FW_INVALID   0x05

Invalid PIC firmware

Definition at line 43 of file board.h.

#define BOARD_ERROR_PIC_FW_UPDATE_FAILED   0x06

PIC firmware update failed

Definition at line 44 of file board.h.

#define BOARD_ERROR_PIC_ID_MISMATCH   0x04

The ID of the PIC is invalid

Definition at line 42 of file board.h.

Referenced by BOARD_init().

#define BOARD_OK   0

OK

Definition at line 38 of file board.h.

Referenced by BOARD_init(), BOARD_picGetFwRevision(), and BOARD_picRegBitsSet().