Macros
GPADC Exported Macros
Peripheral Driver » HAL Driver » GPADC » Defines

## Macros
#define | __HAL_GPADC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->state = HAL_GPADC_STATE_RESET)
| Reset GPADC handle states. More...
#define | __HAL_GPADC_ENABLE(__HANDLE__) ll_gpadc_enable()
| Enable the specified GPADC peripheral. More...
#define | __HAL_GPADC_DISABLE(__HANDLE__) ll_gpadc_disable()
| Disable the specified GPADC peripheral. More...
#define | __HAL_GPADC_GET_FLAG_NOTEMPTY(__HANDLE__) ll_gpadc_is_fifo_notempty()
| Check the FIFO is not empty. More...
#define | __HAL_GPADC_FLUSH_FIFO(__HANDLE__)
| Flush the FIFO. More...

## Detailed Description

## Macro Definition Documentation

## ◆ __HAL_GPADC_DISABLE

#define __HAL_GPADC_DISABLE | ( |  | __HANDLE__ | ) | ll_gpadc_disable()

Disable the specified GPADC peripheral.

Parameters

  __HANDLE__ | Specify the GPADC Handle.

Return values

  None |

Definition at line 263 of file gr55xx_hal_gpadc.h.

## ◆ __HAL_GPADC_ENABLE

#define __HAL_GPADC_ENABLE | ( |  | __HANDLE__ | ) | ll_gpadc_enable()

Enable the specified GPADC peripheral.

Parameters

  __HANDLE__ | Specify the GPADC Handle.

Return values

  None |

Definition at line 257 of file gr55xx_hal_gpadc.h.

## ◆ __HAL_GPADC_FLUSH_FIFO

#define __HAL_GPADC_FLUSH_FIFO | ( |  | __HANDLE__ | ) |

Value:
do { \
while(ll_gpadc_is_fifo_notempty()) \
{ \
ll_gpadc_flush_fifo(); \
} \
} while(0)

Flush the FIFO.

Parameters

  __HANDLE__ | Specify the GPADC Handle.

Return values

  None |

Definition at line 275 of file gr55xx_hal_gpadc.h.

## ◆ __HAL_GPADC_GET_FLAG_NOTEMPTY

#define __HAL_GPADC_GET_FLAG_NOTEMPTY | ( |  | __HANDLE__ | ) | ll_gpadc_is_fifo_notempty()

Check the FIFO is not empty.

Parameters

  __HANDLE__ | Specify the GPADC Handle.

Return values

  The | new state of notempty flag (TRUE or FALSE).

Definition at line 269 of file gr55xx_hal_gpadc.h.

## ◆ __HAL_GPADC_RESET_HANDLE_STATE

#define __HAL_GPADC_RESET_HANDLE_STATE | ( |  | __HANDLE__ | ) | ((__HANDLE__)->state = HAL_GPADC_STATE_RESET)

Reset GPADC handle states.

Parameters

  __HANDLE__ | GPADC handle.

Return values

  None |

Definition at line 251 of file gr55xx_hal_gpadc.h.