Macros
App Driver error codes
Peripheral Driver » APP DRIVER » ERROR DEFINE » Defines

## Macros
#define | APP_DRV_SUCCESS 0x0000
#define | APP_DRV_ERR_HAL 0x0001
#define | APP_DRV_ERR_BUSY 0x0002
#define | APP_DRV_ERR_TIMEOUT 0x0003
#define | APP_DRV_ERR_INVALID_PARAM 0x0004
#define | APP_DRV_ERR_POINTER_NULL 0x0005
#define | APP_DRV_ERR_INVALID_TYPE 0x0006
#define | APP_DRV_ERR_INVALID_MODE 0x0007
#define | APP_DRV_ERR_INVALID_ID 0x0008

## Detailed Description

## Macro Definition Documentation

## ◆ APP_DRV_ERR_BUSY

#define APP_DRV_ERR_BUSY 0x0002

Driver is busy.

## ◆ APP_DRV_ERR_HAL

#define APP_DRV_ERR_HAL 0x0001

Hal internal error.

## ◆ APP_DRV_ERR_INVALID_ID

#define APP_DRV_ERR_INVALID_ID 0x0008

Invalid ID suplied.

## ◆ APP_DRV_ERR_INVALID_MODE

#define APP_DRV_ERR_INVALID_MODE 0x0007

Invalid mode suplied.

## ◆ APP_DRV_ERR_INVALID_PARAM

#define APP_DRV_ERR_INVALID_PARAM 0x0004

Invalid parameter supplied.

## ◆ APP_DRV_ERR_INVALID_TYPE

#define APP_DRV_ERR_INVALID_TYPE 0x0006

Invalid type suplied.

## ◆ APP_DRV_ERR_POINTER_NULL

#define APP_DRV_ERR_POINTER_NULL 0x0005

Invalid pointer supplied.

## ◆ APP_DRV_ERR_TIMEOUT

#define APP_DRV_ERR_TIMEOUT 0x0003

Timeout occurred.

## ◆ APP_DRV_SUCCESS

#define APP_DRV_SUCCESS 0x0000

Successful.