Macros
App Driver error codes
Peripheral Driver » APP DRIVER » ERROR DEFINE » Defines
Collaboration diagram for App Driver error codes:

## Macros
#define | APP_DRV_SUCCESS 0x0000
| Successful. More...
#define | APP_DRV_ERR_HAL 0x0001
| Hal internal error. More...
#define | APP_DRV_ERR_BUSY 0x0002
| Driver is busy. More...
#define | APP_DRV_ERR_TIMEOUT 0x0003
| Timeout occurred. More...
#define | APP_DRV_ERR_INVALID_PARAM 0x0004
| Invalid parameter supplied. More...
#define | APP_DRV_ERR_POINTER_NULL 0x0005
| Invalid pointer supplied. More...
#define | APP_DRV_ERR_INVALID_TYPE 0x0006
| Invalid type suplied. More...
#define | APP_DRV_ERR_INVALID_MODE 0x0007
| Invalid mode suplied. More...
#define | APP_DRV_ERR_INVALID_ID 0x0008
| Invalid ID suplied. More...
#define | APP_DRV_ERR_NOT_INIT 0x0009
| Driver not init. More...

## Detailed Description

## Macro Definition Documentation

## ◆ APP_DRV_ERR_BUSY

#define APP_DRV_ERR_BUSY 0x0002

Driver is busy.

Definition at line 69 of file app_drv_error.h.

## ◆ APP_DRV_ERR_HAL

#define APP_DRV_ERR_HAL 0x0001

Hal internal error.

Definition at line 68 of file app_drv_error.h.

## ◆ APP_DRV_ERR_INVALID_ID

#define APP_DRV_ERR_INVALID_ID 0x0008

Invalid ID suplied.

Definition at line 75 of file app_drv_error.h.

## ◆ APP_DRV_ERR_INVALID_MODE

#define APP_DRV_ERR_INVALID_MODE 0x0007

Invalid mode suplied.

Definition at line 74 of file app_drv_error.h.

## ◆ APP_DRV_ERR_INVALID_PARAM

#define APP_DRV_ERR_INVALID_PARAM 0x0004

Invalid parameter supplied.

Definition at line 71 of file app_drv_error.h.

## ◆ APP_DRV_ERR_INVALID_TYPE

#define APP_DRV_ERR_INVALID_TYPE 0x0006

Invalid type suplied.

Definition at line 73 of file app_drv_error.h.

## ◆ APP_DRV_ERR_NOT_INIT

#define APP_DRV_ERR_NOT_INIT 0x0009

Driver not init.

Definition at line 76 of file app_drv_error.h.

## ◆ APP_DRV_ERR_POINTER_NULL

#define APP_DRV_ERR_POINTER_NULL 0x0005

Invalid pointer supplied.

Definition at line 72 of file app_drv_error.h.

## ◆ APP_DRV_ERR_TIMEOUT

#define APP_DRV_ERR_TIMEOUT 0x0003

Timeout occurred.

Definition at line 70 of file app_drv_error.h.

## ◆ APP_DRV_SUCCESS

#define APP_DRV_SUCCESS 0x0000

Successful.

Definition at line 67 of file app_drv_error.h.