STM32F103xB HAL User Manual
|
Data Structures | |
struct | ADC_InitTypeDef |
Structure definition of ADC and regular group initialization. More... | |
struct | ADC_ChannelConfTypeDef |
Structure definition of ADC channel for regular group. More... | |
struct | ADC_AnalogWDGConfTypeDef |
ADC Configuration analog watchdog definition. More... | |
struct | __ADC_HandleTypeDef |
ADC handle Structure definition. More... | |
Defines | |
#define | HAL_ADC_STATE_RESET 0x00000000U |
HAL ADC state machine: ADC states definition (bitfields) | |
#define | HAL_ADC_STATE_READY 0x00000001U |
#define | HAL_ADC_STATE_BUSY_INTERNAL 0x00000002U |
#define | HAL_ADC_STATE_TIMEOUT 0x00000004U |
#define | HAL_ADC_STATE_ERROR_INTERNAL 0x00000010U |
#define | HAL_ADC_STATE_ERROR_CONFIG 0x00000020U |
#define | HAL_ADC_STATE_ERROR_DMA 0x00000040U |
#define | HAL_ADC_STATE_REG_BUSY 0x00000100U |
#define | HAL_ADC_STATE_REG_EOC 0x00000200U |
#define | HAL_ADC_STATE_REG_OVR 0x00000400U |
#define | HAL_ADC_STATE_REG_EOSMP 0x00000800U |
#define | HAL_ADC_STATE_INJ_BUSY 0x00001000U |
#define | HAL_ADC_STATE_INJ_EOC 0x00002000U |
#define | HAL_ADC_STATE_INJ_JQOVF 0x00004000U |
#define | HAL_ADC_STATE_AWD1 0x00010000U |
#define | HAL_ADC_STATE_AWD2 0x00020000U |
#define | HAL_ADC_STATE_AWD3 0x00040000U |
#define | HAL_ADC_STATE_MULTIMODE_SLAVE 0x00100000U |
Typedefs | |
typedef struct __ADC_HandleTypeDef | ADC_HandleTypeDef |
ADC handle Structure definition. | |
typedef void(* | pADC_CallbackTypeDef )(ADC_HandleTypeDef *hadc) |
HAL ADC Callback pointer definition. | |
Enumerations | |
enum | HAL_ADC_CallbackIDTypeDef { HAL_ADC_CONVERSION_COMPLETE_CB_ID = 0x00U, HAL_ADC_CONVERSION_HALF_CB_ID = 0x01U, HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID = 0x02U, HAL_ADC_ERROR_CB_ID = 0x03U, HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID = 0x04U, HAL_ADC_MSPINIT_CB_ID = 0x09U, HAL_ADC_MSPDEINIT_CB_ID = 0x0AU } |
HAL ADC Callback ID enumeration definition. More... |
#define HAL_ADC_STATE_AWD1 0x00010000U |
Out-of-window occurrence of analog watchdog 1
Definition at line 168 of file stm32f1xx_hal_adc.h.
Referenced by HAL_ADC_IRQHandler(), and HAL_ADC_PollForEvent().
#define HAL_ADC_STATE_AWD2 0x00020000U |
Not available on STM32F1 device: Out-of-window occurrence of analog watchdog 2
Definition at line 169 of file stm32f1xx_hal_adc.h.
#define HAL_ADC_STATE_AWD3 0x00040000U |
Not available on STM32F1 device: Out-of-window occurrence of analog watchdog 3
Definition at line 170 of file stm32f1xx_hal_adc.h.
#define HAL_ADC_STATE_BUSY_INTERNAL 0x00000002U |
ADC is busy to internal process (initialization, calibration)
Definition at line 146 of file stm32f1xx_hal_adc.h.
Referenced by HAL_ADC_DeInit(), HAL_ADC_Init(), and HAL_ADCEx_Calibration_Start().
#define HAL_ADC_STATE_ERROR_CONFIG 0x00000020U |
Configuration error occurrence
Definition at line 151 of file stm32f1xx_hal_adc.h.
Referenced by HAL_ADC_ConfigChannel(), HAL_ADC_Init(), HAL_ADC_PollForConversion(), HAL_ADCEx_InjectedConfigChannel(), HAL_ADCEx_InjectedStop(), HAL_ADCEx_InjectedStop_IT(), HAL_ADCEx_MultiModeConfigChannel(), and HAL_ADCEx_MultiModeStart_DMA().
#define HAL_ADC_STATE_ERROR_DMA 0x00000040U |
DMA error occurrence
Definition at line 152 of file stm32f1xx_hal_adc.h.
Referenced by ADC_DMAConvCplt(), ADC_DMAError(), and HAL_ADC_Stop_DMA().
#define HAL_ADC_STATE_ERROR_INTERNAL 0x00000010U |
Internal error occurrence
Definition at line 150 of file stm32f1xx_hal_adc.h.
Referenced by ADC_ConversionStop_Disable(), ADC_DMAConvCplt(), ADC_Enable(), HAL_ADC_Init(), HAL_ADC_IRQHandler(), HAL_ADCEx_Calibration_Start(), and HAL_ADCEx_MultiModeStop_DMA().
#define HAL_ADC_STATE_INJ_BUSY 0x00001000U |
A conversion on group injected is ongoing or can occur (either by auto-injection mode, external trigger, low power auto power-on, multimode ADC master control)
Definition at line 162 of file stm32f1xx_hal_adc.h.
Referenced by ADC_DMAConvCplt(), HAL_ADC_Init(), HAL_ADC_IRQHandler(), HAL_ADC_PollForConversion(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADC_Stop(), HAL_ADC_Stop_DMA(), HAL_ADC_Stop_IT(), HAL_ADCEx_Calibration_Start(), HAL_ADCEx_InjectedPollForConversion(), HAL_ADCEx_InjectedStart(), HAL_ADCEx_InjectedStart_IT(), HAL_ADCEx_InjectedStop(), HAL_ADCEx_InjectedStop_IT(), HAL_ADCEx_MultiModeStart_DMA(), and HAL_ADCEx_MultiModeStop_DMA().
#define HAL_ADC_STATE_INJ_EOC 0x00002000U |
Conversion data available on group injected
Definition at line 164 of file stm32f1xx_hal_adc.h.
Referenced by HAL_ADC_IRQHandler(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADCEx_InjectedPollForConversion(), HAL_ADCEx_InjectedStart(), HAL_ADCEx_InjectedStart_IT(), and HAL_ADCEx_MultiModeStart_DMA().
#define HAL_ADC_STATE_INJ_JQOVF 0x00004000U |
Not available on STM32F1 device: Injected queue overflow occurrence
Definition at line 165 of file stm32f1xx_hal_adc.h.
#define HAL_ADC_STATE_MULTIMODE_SLAVE 0x00100000U |
ADC in multimode slave state, controlled by another ADC master (
Definition at line 173 of file stm32f1xx_hal_adc.h.
Referenced by HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADCEx_InjectedStart(), HAL_ADCEx_InjectedStart_IT(), and HAL_ADCEx_MultiModeStart_DMA().
#define HAL_ADC_STATE_READY 0x00000001U |
ADC peripheral ready for use
Definition at line 145 of file stm32f1xx_hal_adc.h.
Referenced by ADC_DMAConvCplt(), HAL_ADC_Init(), HAL_ADC_IRQHandler(), HAL_ADC_PollForConversion(), HAL_ADC_RegisterCallback(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADC_Stop(), HAL_ADC_Stop_DMA(), HAL_ADC_Stop_IT(), HAL_ADC_UnRegisterCallback(), HAL_ADCEx_Calibration_Start(), HAL_ADCEx_InjectedPollForConversion(), HAL_ADCEx_InjectedStart(), HAL_ADCEx_InjectedStart_IT(), HAL_ADCEx_InjectedStop(), HAL_ADCEx_InjectedStop_IT(), HAL_ADCEx_MultiModeStart_DMA(), and HAL_ADCEx_MultiModeStop_DMA().
#define HAL_ADC_STATE_REG_BUSY 0x00000100U |
A conversion on group regular is ongoing or can occur (either by continuous mode, external trigger, low power auto power-on, multimode ADC master control)
Definition at line 155 of file stm32f1xx_hal_adc.h.
Referenced by ADC_DMAConvCplt(), HAL_ADC_Init(), HAL_ADC_IRQHandler(), HAL_ADC_PollForConversion(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADC_Stop(), HAL_ADC_Stop_DMA(), HAL_ADC_Stop_IT(), HAL_ADCEx_Calibration_Start(), HAL_ADCEx_InjectedPollForConversion(), HAL_ADCEx_InjectedStart(), HAL_ADCEx_InjectedStart_IT(), HAL_ADCEx_InjectedStop(), HAL_ADCEx_InjectedStop_IT(), HAL_ADCEx_MultiModeStart_DMA(), and HAL_ADCEx_MultiModeStop_DMA().
#define HAL_ADC_STATE_REG_EOC 0x00000200U |
Conversion data available on group regular
Definition at line 157 of file stm32f1xx_hal_adc.h.
Referenced by ADC_DMAConvCplt(), HAL_ADC_IRQHandler(), HAL_ADC_PollForConversion(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), and HAL_ADCEx_MultiModeStart_DMA().
#define HAL_ADC_STATE_REG_EOSMP 0x00000800U |
Not available on STM32F1 device: End Of Sampling flag raised
Definition at line 159 of file stm32f1xx_hal_adc.h.
Referenced by HAL_ADC_Start_DMA(), and HAL_ADC_Start_IT().
#define HAL_ADC_STATE_REG_OVR 0x00000400U |
Not available on STM32F1 device: Overrun occurrence
Definition at line 158 of file stm32f1xx_hal_adc.h.
Referenced by HAL_ADC_Start_DMA(), and HAL_ADC_Start_IT().
#define HAL_ADC_STATE_RESET 0x00000000U |
HAL ADC state machine: ADC states definition (bitfields)
ADC not yet initialized or disabled
Definition at line 144 of file stm32f1xx_hal_adc.h.
Referenced by HAL_ADC_DeInit(), HAL_ADC_Init(), HAL_ADC_RegisterCallback(), and HAL_ADC_UnRegisterCallback().
#define HAL_ADC_STATE_TIMEOUT 0x00000004U |
TimeOut occurrence
Definition at line 147 of file stm32f1xx_hal_adc.h.
Referenced by HAL_ADC_PollForConversion(), HAL_ADC_PollForEvent(), and HAL_ADCEx_InjectedPollForConversion().
typedef struct __ADC_HandleTypeDef ADC_HandleTypeDef |
ADC handle Structure definition.
typedef void(* pADC_CallbackTypeDef)(ADC_HandleTypeDef *hadc) |
HAL ADC Callback pointer definition.
pointer to a ADC callback function
Definition at line 223 of file stm32f1xx_hal_adc.h.
HAL ADC Callback ID enumeration definition.
Definition at line 209 of file stm32f1xx_hal_adc.h.