The user wants me to translate an HTML document from English to Chinese. This is a technical documentation page about STM32G474xx HAL User Manual - specifically the stm32g4xx_hal_adc.h File Reference. Let me analyze the document and translate only the visible text content while keeping all HTML tags, attributes, URLs, file paths, function names, variable names, class names, method names, and code content unchanged. Key translations needed: - Navigation menu items - Section titles - Descriptive text - Function descriptions - Table headers - Footer content Let me proceed with the translation following all the rules: 1. Keep all HTML tags and attributes unchanged 2. Don't translate code content, URLs, file paths, function names, etc. 3. Only translate visible text content 4. Keep natural Chinese expressions STM32G474xx HAL用户手册:stm32g4xx_hal_adc.h文件参考
STM32G474xx HAL用户手册
数据结构 | 宏定义 | 类型定义 | 枚举类型 | 函数
stm32g4xx_hal_adc.h文件参考

ADC HAL模块的头文件。 更多...

#include "stm32g4xx_hal_def.h"
#include "stm32g4xx_ll_adc.h"
#include "stm32g4xx_hal_adc_ex.h"

转到此文件的源代码。

数据结构

struct  ADC_OversamplingTypeDef
 ADC规则组过采样结构体定义。 更多...
struct  ADC_InitTypeDef
 ADC实例和ADC规则组结构体定义。 更多...
struct  ADC_ChannelConfTypeDef
 ADC规则组通道结构体定义。 更多...
struct  ADC_AnalogWDGConfTypeDef
 ADC模拟看门狗结构体定义。 更多...
struct  ADC_InjectionConfigTypeDef
 ADC注入组上下文队列配置。 更多...
struct  __ADC_HandleTypeDef
 ADC句柄结构体定义。 更多...

宏定义

#define HAL_ADC_STATE_RESET   (0x00000000UL)
 HAL ADC状态机:ADC状态定义(位域)
#define HAL_ADC_STATE_READY   (0x00000001UL)
#define HAL_ADC_STATE_BUSY_INTERNAL   (0x00000002UL)
#define HAL_ADC_STATE_TIMEOUT   (0x00000004UL)
#define HAL_ADC_STATE_ERROR_INTERNAL   (0x00000010UL)
#define HAL_ADC_STATE_ERROR_CONFIG   (0x00000020UL)
#define HAL_ADC_STATE_ERROR_DMA   (0x00000040UL)
#define HAL_ADC_STATE_REG_BUSY   (0x00000100UL)
#define HAL_ADC_STATE_REG_EOC   (0x00000200UL)
#define HAL_ADC_STATE_REG_OVR   (0x00000400UL)
#define HAL_ADC_STATE_REG_EOSMP   (0x00000800UL)
#define HAL_ADC_STATE_INJ_BUSY   (0x00001000UL)
#define HAL_ADC_STATE_INJ_EOC   (0x00002000UL)
#define HAL_ADC_STATE_INJ_JQOVF   (0x00004000UL)
#define HAL_ADC_STATE_AWD1   (0x00010000UL)
#define HAL_ADC_STATE_AWD2   (0x00020000UL)
#define HAL_ADC_STATE_AWD3   (0x00040000UL)
#define HAL_ADC_STATE_MULTIMODE_SLAVE   (0x00100000UL)
#define HAL_ADC_ERROR_NONE   (0x00U)
#define HAL_ADC_ERROR_INTERNAL   (0x01U)
#define HAL_ADC_ERROR_OVR   (0x02U)
#define HAL_ADC_ERROR_DMA   (0x04U)
#define HAL_ADC_ERROR_JQOVF   (0x08U)
#define HAL_ADC_ERROR_INVALID_CALLBACK   (0x10U)
#define ADC_CLOCK_SYNC_PCLK_DIV1   (LL_ADC_CLOCK_SYNC_PCLK_DIV1)
#define ADC_CLOCK_SYNC_PCLK_DIV2   (LL_ADC_CLOCK_SYNC_PCLK_DIV2)
#define ADC_CLOCK_SYNC_PCLK_DIV4   (LL_ADC_CLOCK_SYNC_PCLK_DIV4)
#define ADC_CLOCK_ASYNC_DIV1   (LL_ADC_CLOCK_ASYNC_DIV1)
#define ADC_CLOCK_ASYNC_DIV2   (LL_ADC_CLOCK_ASYNC_DIV2)
#define ADC_CLOCK_ASYNC_DIV4   (LL_ADC_CLOCK_ASYNC_DIV4)
#define ADC_CLOCK_ASYNC_DIV6   (LL_ADC_CLOCK_ASYNC_DIV6)
#define ADC_CLOCK_ASYNC_DIV8   (LL_ADC_CLOCK_ASYNC_DIV8)
#define ADC_CLOCK_ASYNC_DIV10   (LL_ADC_CLOCK_ASYNC_DIV10)
#define ADC_CLOCK_ASYNC_DIV12   (LL_ADC_CLOCK_ASYNC_DIV12)
#define ADC_CLOCK_ASYNC_DIV16   (LL_ADC_CLOCK_ASYNC_DIV16)
#define ADC_CLOCK_ASYNC_DIV32   (LL_ADC_CLOCK_ASYNC_DIV32)
#define ADC_CLOCK_ASYNC_DIV64   (LL_ADC_CLOCK_ASYNC_DIV64)
#define ADC_CLOCK_ASYNC_DIV128   (LL_ADC_CLOCK_ASYNC_DIV128)
#define ADC_CLOCK_ASYNC_DIV256   (LL_ADC_CLOCK_ASYNC_DIV256)
#define ADC_RESOLUTION_12B   (LL_ADC_RESOLUTION_12B)
#define ADC_RESOLUTION_10B   (LL_ADC_RESOLUTION_10B)
#define ADC_RESOLUTION_8B   (LL_ADC_RESOLUTION_8B)
#define ADC_RESOLUTION_6B   (LL_ADC_RESOLUTION_6B)
#define ADC_DATAALIGN_RIGHT   (LL_ADC_DATA_ALIGN_RIGHT)
#define ADC_DATAALIGN_LEFT   (LL_ADC_DATA_ALIGN_LEFT)
#define ADC_SCAN_DISABLE   (0x00000000UL)
#define ADC_SCAN_ENABLE   (0x00000001UL)
#define ADC_SOFTWARE_START   (LL_ADC_REG_TRIG_SOFTWARE)
#define ADC_EXTERNALTRIG_T1_TRGO   (LL_ADC_REG_TRIG_EXT_TIM1_TRGO)
#define ADC_EXTERNALTRIG_T1_TRGO2   (