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 0x00E1
| Hal internal error. More...
#define | APP_DRV_ERR_BUSY 0x00E2
| Driver is busy. More...
#define | APP_DRV_ERR_TIMEOUT 0x00E3
| Timeout occurred. More...
#define | APP_DRV_ERR_INVALID_PARAM 0x00E4
| Invalid parameter. More...
#define | APP_DRV_ERR_POINTER_NULL 0x00E5
| Invalid pointer. More...
#define | APP_DRV_ERR_INVALID_TYPE 0x00E6
| Invalid type. More...
#define | APP_DRV_ERR_INVALID_MODE 0x00E7
| Invalid mode. More...
#define | APP_DRV_ERR_INVALID_ID 0x00E8
| Invalid ID. More...
#define | APP_DRV_ERR_NOT_INIT 0x00E9
| Driver not init. More...
#define | APP_DRV_ERR_INVALID_INIT 0x00EA
| Invalid init, deinit firstly. More...

## Detailed Description

## Macro Definition Documentation

## ◆ APP_DRV_ERR_BUSY

#define APP_DRV_ERR_BUSY 0x00E2

Driver is busy.

Definition at line 69 of file app_drv_error.h.

## ◆ APP_DRV_ERR_HAL

#define APP_DRV_ERR_HAL 0x00E1

Hal internal error.

Definition at line 68 of file app_drv_error.h.

## ◆ APP_DRV_ERR_INVALID_ID

#define APP_DRV_ERR_INVALID_ID 0x00E8

Invalid ID.

Definition at line 75 of file app_drv_error.h.

## ◆ APP_DRV_ERR_INVALID_INIT

#define APP_DRV_ERR_INVALID_INIT 0x00EA

Invalid init, deinit firstly.

Definition at line 77 of file app_drv_error.h.

## ◆ APP_DRV_ERR_INVALID_MODE

#define APP_DRV_ERR_INVALID_MODE 0x00E7

Invalid mode.

Definition at line 74 of file app_drv_error.h.

## ◆ APP_DRV_ERR_INVALID_PARAM

#define APP_DRV_ERR_INVALID_PARAM 0x00E4

Invalid parameter.

Definition at line 71 of file app_drv_error.h.

## ◆ APP_DRV_ERR_INVALID_TYPE

#define APP_DRV_ERR_INVALID_TYPE 0x00E6

Invalid type.

Definition at line 73 of file app_drv_error.h.

## ◆ APP_DRV_ERR_NOT_INIT

#define APP_DRV_ERR_NOT_INIT 0x00E9

Driver not init.

Definition at line 76 of file app_drv_error.h.

## ◆ APP_DRV_ERR_POINTER_NULL

#define APP_DRV_ERR_POINTER_NULL 0x00E5

Invalid pointer.

Definition at line 72 of file app_drv_error.h.

## ◆ APP_DRV_ERR_TIMEOUT

#define APP_DRV_ERR_TIMEOUT 0x00E3

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.