Macros
Hal Driver error code check
Peripheral Driver » APP DRIVER » ERROR DEFINE » Defines
Collaboration diagram for Hal Driver error code check:

## Macros
#define | HAL_ERR_CODE_CHECK(err_code)
| Hal Driver error code check. More...

## Detailed Description

## Macro Definition Documentation

## ◆ HAL_ERR_CODE_CHECK

#define HAL_ERR_CODE_CHECK | ( |  | err_code | ) |

Value:
do \
{ \
if (HAL_OK != err_code) \
{ \
return (uint16_t)err_code; \
} \
} while(0)

Hal Driver error code check.

Definition at line 97 of file app_drv_error.h.

HAL_OK
@ HAL_OK
Operation is OK.
Definition: gr55xx_hal_def.h:71