Macros | |
#define | __HAL_ADC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->state = HAL_ADC_STATE_RESET) |
Reset ADC handle states. More... | |
#define | __HAL_ADC_ENABLE(__HANDLE__) ll_adc_enable() |
Enable the specified ADC peripheral. More... | |
#define | __HAL_ADC_DISABLE(__HANDLE__) ll_adc_disable() |
Disable the specified ADC peripheral. More... | |
#define | __HAL_ADC_GET_FLAG_NOTEMPTY(__HANDLE__) ll_adc_is_fifo_notempty() |
Check the FIFO is not empty. More... | |
#define | __HAL_ADC_TRY_SWTOKEN_LOCK(__HANDLE__) ll_adc_try_lock_sw_token() |
Try to lock ADC token by SW. More... | |
#define | __HAL_ADC_FLUSH_FIFO(__HANDLE__) |
Flush the FIFO. More... | |
#define __HAL_ADC_DISABLE | ( | __HANDLE__ | ) | ll_adc_disable() |
Disable the specified ADC peripheral.
__HANDLE__ | Specify the ADC Handle. |
None |
Definition at line 297 of file gr55xx_hal_adc.h.
#define __HAL_ADC_ENABLE | ( | __HANDLE__ | ) | ll_adc_enable() |
Enable the specified ADC peripheral.
__HANDLE__ | Specify the ADC Handle. |
None |
Definition at line 291 of file gr55xx_hal_adc.h.
#define __HAL_ADC_FLUSH_FIFO | ( | __HANDLE__ | ) |
Flush the FIFO.
__HANDLE__ | Specify the ADC Handle. |
None |
Definition at line 315 of file gr55xx_hal_adc.h.
#define __HAL_ADC_GET_FLAG_NOTEMPTY | ( | __HANDLE__ | ) | ll_adc_is_fifo_notempty() |
Check the FIFO is not empty.
__HANDLE__ | Specify the ADC Handle. |
The | new state of notempty flag (TRUE or FALSE). |
Definition at line 303 of file gr55xx_hal_adc.h.
#define __HAL_ADC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->state = HAL_ADC_STATE_RESET) |
Reset ADC handle states.
__HANDLE__ | ADC handle. |
None |
Definition at line 285 of file gr55xx_hal_adc.h.
#define __HAL_ADC_TRY_SWTOKEN_LOCK | ( | __HANDLE__ | ) | ll_adc_try_lock_sw_token() |
Try to lock ADC token by SW.
__HANDLE__ | Specify the ADC Handle. |
if | the token locked by SW is success (TRUE or FALSE). |
Definition at line 309 of file gr55xx_hal_adc.h.