STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
HAL ADC Aliased Defines maintained for legacy purpose

Macros

#define ADC_RESOLUTION12b   ADC_RESOLUTION_12B
 
#define ADC_RESOLUTION10b   ADC_RESOLUTION_10B
 
#define ADC_RESOLUTION8b   ADC_RESOLUTION_8B
 
#define ADC_RESOLUTION6b   ADC_RESOLUTION_6B
 
#define OVR_DATA_OVERWRITTEN   ADC_OVR_DATA_OVERWRITTEN
 
#define OVR_DATA_PRESERVED   ADC_OVR_DATA_PRESERVED
 
#define EOC_SINGLE_CONV   ADC_EOC_SINGLE_CONV
 
#define EOC_SEQ_CONV   ADC_EOC_SEQ_CONV
 
#define EOC_SINGLE_SEQ_CONV   ADC_EOC_SINGLE_SEQ_CONV
 
#define REGULAR_GROUP   ADC_REGULAR_GROUP
 
#define INJECTED_GROUP   ADC_INJECTED_GROUP
 
#define REGULAR_INJECTED_GROUP   ADC_REGULAR_INJECTED_GROUP
 
#define AWD_EVENT   ADC_AWD_EVENT
 
#define AWD1_EVENT   ADC_AWD1_EVENT
 
#define AWD2_EVENT   ADC_AWD2_EVENT
 
#define AWD3_EVENT   ADC_AWD3_EVENT
 
#define OVR_EVENT   ADC_OVR_EVENT
 
#define JQOVF_EVENT   ADC_JQOVF_EVENT
 
#define ALL_CHANNELS   ADC_ALL_CHANNELS
 
#define REGULAR_CHANNELS   ADC_REGULAR_CHANNELS
 
#define INJECTED_CHANNELS   ADC_INJECTED_CHANNELS
 
#define SYSCFG_FLAG_SENSOR_ADC   ADC_FLAG_SENSOR
 
#define SYSCFG_FLAG_VREF_ADC   ADC_FLAG_VREFINT
 
#define ADC_CLOCKPRESCALER_PCLK_DIV1   ADC_CLOCK_SYNC_PCLK_DIV1
 
#define ADC_CLOCKPRESCALER_PCLK_DIV2   ADC_CLOCK_SYNC_PCLK_DIV2
 
#define ADC_CLOCKPRESCALER_PCLK_DIV4   ADC_CLOCK_SYNC_PCLK_DIV4
 
#define ADC_CLOCKPRESCALER_PCLK_DIV6   ADC_CLOCK_SYNC_PCLK_DIV6
 
#define ADC_CLOCKPRESCALER_PCLK_DIV8   ADC_CLOCK_SYNC_PCLK_DIV8
 
#define ADC_EXTERNALTRIG0_T6_TRGO   ADC_EXTERNALTRIGCONV_T6_TRGO
 
#define ADC_EXTERNALTRIG1_T21_CC2   ADC_EXTERNALTRIGCONV_T21_CC2
 
#define ADC_EXTERNALTRIG2_T2_TRGO   ADC_EXTERNALTRIGCONV_T2_TRGO
 
#define ADC_EXTERNALTRIG3_T2_CC4   ADC_EXTERNALTRIGCONV_T2_CC4
 
#define ADC_EXTERNALTRIG4_T22_TRGO   ADC_EXTERNALTRIGCONV_T22_TRGO
 
#define ADC_EXTERNALTRIG7_EXT_IT11   ADC_EXTERNALTRIGCONV_EXT_IT11
 
#define ADC_CLOCK_ASYNC   ADC_CLOCK_ASYNC_DIV1
 
#define ADC_EXTERNALTRIG_EDGE_NONE   ADC_EXTERNALTRIGCONVEDGE_NONE
 
#define ADC_EXTERNALTRIG_EDGE_RISING   ADC_EXTERNALTRIGCONVEDGE_RISING
 
#define ADC_EXTERNALTRIG_EDGE_FALLING   ADC_EXTERNALTRIGCONVEDGE_FALLING
 
#define ADC_EXTERNALTRIG_EDGE_RISINGFALLING   ADC_EXTERNALTRIGCONVEDGE_RISINGFALLING
 
#define ADC_SAMPLETIME_2CYCLE_5   ADC_SAMPLETIME_2CYCLES_5
 
#define HAL_ADC_STATE_BUSY_REG   HAL_ADC_STATE_REG_BUSY
 
#define HAL_ADC_STATE_BUSY_INJ   HAL_ADC_STATE_INJ_BUSY
 
#define HAL_ADC_STATE_EOC_REG   HAL_ADC_STATE_REG_EOC
 
#define HAL_ADC_STATE_EOC_INJ   HAL_ADC_STATE_INJ_EOC
 
#define HAL_ADC_STATE_ERROR   HAL_ADC_STATE_ERROR_INTERNAL
 
#define HAL_ADC_STATE_BUSY   HAL_ADC_STATE_BUSY_INTERNAL
 
#define HAL_ADC_STATE_AWD   HAL_ADC_STATE_AWD1
 

Detailed Description

Macro Definition Documentation

◆ ADC_RESOLUTION12b

#define ADC_RESOLUTION12b   ADC_RESOLUTION_12B

#include <stm32_hal_legacy.h>

Definition at line 53 of file stm32_hal_legacy.h.

◆ ADC_RESOLUTION10b

#define ADC_RESOLUTION10b   ADC_RESOLUTION_10B

#include <stm32_hal_legacy.h>

Definition at line 54 of file stm32_hal_legacy.h.

◆ ADC_RESOLUTION8b

#define ADC_RESOLUTION8b   ADC_RESOLUTION_8B

#include <stm32_hal_legacy.h>

Definition at line 55 of file stm32_hal_legacy.h.

◆ ADC_RESOLUTION6b

#define ADC_RESOLUTION6b   ADC_RESOLUTION_6B

#include <stm32_hal_legacy.h>

Definition at line 56 of file stm32_hal_legacy.h.

◆ OVR_DATA_OVERWRITTEN

#define OVR_DATA_OVERWRITTEN   ADC_OVR_DATA_OVERWRITTEN

#include <stm32_hal_legacy.h>

Definition at line 57 of file stm32_hal_legacy.h.

◆ OVR_DATA_PRESERVED

#define OVR_DATA_PRESERVED   ADC_OVR_DATA_PRESERVED

#include <stm32_hal_legacy.h>

Definition at line 58 of file stm32_hal_legacy.h.

◆ EOC_SINGLE_CONV

#define EOC_SINGLE_CONV   ADC_EOC_SINGLE_CONV

#include <stm32_hal_legacy.h>

Definition at line 59 of file stm32_hal_legacy.h.

◆ EOC_SEQ_CONV

#define EOC_SEQ_CONV   ADC_EOC_SEQ_CONV

#include <stm32_hal_legacy.h>

Definition at line 60 of file stm32_hal_legacy.h.

◆ EOC_SINGLE_SEQ_CONV

#define EOC_SINGLE_SEQ_CONV   ADC_EOC_SINGLE_SEQ_CONV

#include <stm32_hal_legacy.h>

Definition at line 61 of file stm32_hal_legacy.h.

◆ REGULAR_GROUP

#define REGULAR_GROUP   ADC_REGULAR_GROUP

#include <stm32_hal_legacy.h>

Definition at line 62 of file stm32_hal_legacy.h.

◆ INJECTED_GROUP

#define INJECTED_GROUP   ADC_INJECTED_GROUP

#include <stm32_hal_legacy.h>

Definition at line 63 of file stm32_hal_legacy.h.

◆ REGULAR_INJECTED_GROUP

#define REGULAR_INJECTED_GROUP   ADC_REGULAR_INJECTED_GROUP

#include <stm32_hal_legacy.h>

Definition at line 64 of file stm32_hal_legacy.h.

◆ AWD_EVENT

#define AWD_EVENT   ADC_AWD_EVENT

#include <stm32_hal_legacy.h>

Definition at line 65 of file stm32_hal_legacy.h.

◆ AWD1_EVENT

#define AWD1_EVENT   ADC_AWD1_EVENT

#include <stm32_hal_legacy.h>

Definition at line 66 of file stm32_hal_legacy.h.

◆ AWD2_EVENT

#define AWD2_EVENT   ADC_AWD2_EVENT

#include <stm32_hal_legacy.h>

Definition at line 67 of file stm32_hal_legacy.h.

◆ AWD3_EVENT

#define AWD3_EVENT   ADC_AWD3_EVENT

#include <stm32_hal_legacy.h>

Definition at line 68 of file stm32_hal_legacy.h.

◆ OVR_EVENT

#define OVR_EVENT   ADC_OVR_EVENT

#include <stm32_hal_legacy.h>

Definition at line 69 of file stm32_hal_legacy.h.

◆ JQOVF_EVENT

#define JQOVF_EVENT   ADC_JQOVF_EVENT

#include <stm32_hal_legacy.h>

Definition at line 70 of file stm32_hal_legacy.h.

◆ ALL_CHANNELS

#define ALL_CHANNELS   ADC_ALL_CHANNELS

#include <stm32_hal_legacy.h>

Definition at line 71 of file stm32_hal_legacy.h.

◆ REGULAR_CHANNELS

#define REGULAR_CHANNELS   ADC_REGULAR_CHANNELS

#include <stm32_hal_legacy.h>

Definition at line 72 of file stm32_hal_legacy.h.

◆ INJECTED_CHANNELS

#define INJECTED_CHANNELS   ADC_INJECTED_CHANNELS

#include <stm32_hal_legacy.h>

Definition at line 73 of file stm32_hal_legacy.h.

◆ SYSCFG_FLAG_SENSOR_ADC

#define SYSCFG_FLAG_SENSOR_ADC   ADC_FLAG_SENSOR

#include <stm32_hal_legacy.h>

Definition at line 74 of file stm32_hal_legacy.h.

◆ SYSCFG_FLAG_VREF_ADC

#define SYSCFG_FLAG_VREF_ADC   ADC_FLAG_VREFINT

#include <stm32_hal_legacy.h>

Definition at line 75 of file stm32_hal_legacy.h.

◆ ADC_CLOCKPRESCALER_PCLK_DIV1

#define ADC_CLOCKPRESCALER_PCLK_DIV1   ADC_CLOCK_SYNC_PCLK_DIV1

#include <stm32_hal_legacy.h>

Definition at line 76 of file stm32_hal_legacy.h.

◆ ADC_CLOCKPRESCALER_PCLK_DIV2

#define ADC_CLOCKPRESCALER_PCLK_DIV2   ADC_CLOCK_SYNC_PCLK_DIV2

#include <stm32_hal_legacy.h>

Definition at line 77 of file stm32_hal_legacy.h.

◆ ADC_CLOCKPRESCALER_PCLK_DIV4

#define ADC_CLOCKPRESCALER_PCLK_DIV4   ADC_CLOCK_SYNC_PCLK_DIV4

#include <stm32_hal_legacy.h>

Definition at line 78 of file stm32_hal_legacy.h.

◆ ADC_CLOCKPRESCALER_PCLK_DIV6

#define ADC_CLOCKPRESCALER_PCLK_DIV6   ADC_CLOCK_SYNC_PCLK_DIV6

#include <stm32_hal_legacy.h>

Definition at line 79 of file stm32_hal_legacy.h.

◆ ADC_CLOCKPRESCALER_PCLK_DIV8

#define ADC_CLOCKPRESCALER_PCLK_DIV8   ADC_CLOCK_SYNC_PCLK_DIV8

#include <stm32_hal_legacy.h>

Definition at line 80 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG0_T6_TRGO

#define ADC_EXTERNALTRIG0_T6_TRGO   ADC_EXTERNALTRIGCONV_T6_TRGO

#include <stm32_hal_legacy.h>

Definition at line 81 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG1_T21_CC2

#define ADC_EXTERNALTRIG1_T21_CC2   ADC_EXTERNALTRIGCONV_T21_CC2

#include <stm32_hal_legacy.h>

Definition at line 82 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG2_T2_TRGO

#define ADC_EXTERNALTRIG2_T2_TRGO   ADC_EXTERNALTRIGCONV_T2_TRGO

#include <stm32_hal_legacy.h>

Definition at line 83 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG3_T2_CC4

#define ADC_EXTERNALTRIG3_T2_CC4   ADC_EXTERNALTRIGCONV_T2_CC4

#include <stm32_hal_legacy.h>

Definition at line 84 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG4_T22_TRGO

#define ADC_EXTERNALTRIG4_T22_TRGO   ADC_EXTERNALTRIGCONV_T22_TRGO

#include <stm32_hal_legacy.h>

Definition at line 85 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG7_EXT_IT11

#define ADC_EXTERNALTRIG7_EXT_IT11   ADC_EXTERNALTRIGCONV_EXT_IT11

#include <stm32_hal_legacy.h>

Definition at line 86 of file stm32_hal_legacy.h.

◆ ADC_CLOCK_ASYNC

#define ADC_CLOCK_ASYNC   ADC_CLOCK_ASYNC_DIV1

#include <stm32_hal_legacy.h>

Definition at line 87 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG_EDGE_NONE

#define ADC_EXTERNALTRIG_EDGE_NONE   ADC_EXTERNALTRIGCONVEDGE_NONE

#include <stm32_hal_legacy.h>

Definition at line 88 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG_EDGE_RISING

#define ADC_EXTERNALTRIG_EDGE_RISING   ADC_EXTERNALTRIGCONVEDGE_RISING

#include <stm32_hal_legacy.h>

Definition at line 89 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG_EDGE_FALLING

#define ADC_EXTERNALTRIG_EDGE_FALLING   ADC_EXTERNALTRIGCONVEDGE_FALLING

#include <stm32_hal_legacy.h>

Definition at line 90 of file stm32_hal_legacy.h.

◆ ADC_EXTERNALTRIG_EDGE_RISINGFALLING

#define ADC_EXTERNALTRIG_EDGE_RISINGFALLING   ADC_EXTERNALTRIGCONVEDGE_RISINGFALLING

#include <stm32_hal_legacy.h>

Definition at line 91 of file stm32_hal_legacy.h.

◆ ADC_SAMPLETIME_2CYCLE_5

#define ADC_SAMPLETIME_2CYCLE_5   ADC_SAMPLETIME_2CYCLES_5

#include <stm32_hal_legacy.h>

Definition at line 92 of file stm32_hal_legacy.h.

◆ HAL_ADC_STATE_BUSY_REG

#define HAL_ADC_STATE_BUSY_REG   HAL_ADC_STATE_REG_BUSY

#include <stm32_hal_legacy.h>

Definition at line 94 of file stm32_hal_legacy.h.

◆ HAL_ADC_STATE_BUSY_INJ

#define HAL_ADC_STATE_BUSY_INJ   HAL_ADC_STATE_INJ_BUSY

#include <stm32_hal_legacy.h>

Definition at line 95 of file stm32_hal_legacy.h.

◆ HAL_ADC_STATE_EOC_REG

#define HAL_ADC_STATE_EOC_REG   HAL_ADC_STATE_REG_EOC

#include <stm32_hal_legacy.h>

Definition at line 96 of file stm32_hal_legacy.h.

◆ HAL_ADC_STATE_EOC_INJ

#define HAL_ADC_STATE_EOC_INJ   HAL_ADC_STATE_INJ_EOC

#include <stm32_hal_legacy.h>

Definition at line 97 of file stm32_hal_legacy.h.

◆ HAL_ADC_STATE_ERROR

#define HAL_ADC_STATE_ERROR   HAL_ADC_STATE_ERROR_INTERNAL

#include <stm32_hal_legacy.h>

Definition at line 98 of file stm32_hal_legacy.h.

◆ HAL_ADC_STATE_BUSY

#define HAL_ADC_STATE_BUSY   HAL_ADC_STATE_BUSY_INTERNAL

#include <stm32_hal_legacy.h>

Definition at line 99 of file stm32_hal_legacy.h.

◆ HAL_ADC_STATE_AWD

#define HAL_ADC_STATE_AWD   HAL_ADC_STATE_AWD1

#include <stm32_hal_legacy.h>

Definition at line 100 of file stm32_hal_legacy.h.