epc_error

The following API has been generated from the header file epc_error.h. It contains common low level API error codes for the epc sensors.

Contains all epc error codes which are in use.

Error codes always get return as the negative value

Defines

EPC_ERR_ARG_NULL 1

A nullptr is passed to a function.

EPC_ERR_ILLEGAL_FLAG_COMBINATION 4

A combination of arguments, flags are conflicting.

EPC_ERR_RESULTS_IN_ILLEGAL_STATE 6

The requested configuration would end in a chip error.

EPC_ERR_CONFIGURATION_ERROR 7

The configuration has been aborted, try again.

EPC_ERR_UNKOWN_IDX 8

The requested index is either not supported or unknown.

EPC_ERR_UNKOWN_FLAG 12

The requested flags are either not supported or unknown.

EPC_ERR_OUT_OF_BOUNDS 13

The passed argument is out of bounds.

EPC_ERR_DIV_BY_ZERO 14

Division by zero error.

EPC_ERR_INVALID_STATE 15

Operation not allowed within current chip state.

EPC_ERR_ILLEGAL_CLOCK_COMBINATION 5

Two clock flags are combined.

EPC_ERR_MISSING_OFFSET_CAL 9

Chip does not contain offset calibration.

EPC_ERR_MISSING_GAIN_CAL 10

Chip does not contain gain calibration.