Description: The regular
channel converted by ADC2 is channel14 (the potentimeter). The converted values of
channel12 and channel14 are stored in ADC_DualConvertedValueTab[] table as 32bit format,
and are separated and strored in ADCTab[].
The injected channel converted by ADC1 is channel11 and stored in
ADC1_InjectedConvertedValueTab[] table. The injected channel converted by ADC2 is
channel8 and is stored in ADC2_InjectedConvertedValueTab[] table.
The example can use the DMA method or the interrupt method for the regular values reading.
To use the DMA please uncomment the following define in main.c file:
#define USE_DMA_Transfer otherwise the example will use the interrupt for regular
channel conversion.
To Search:
File list (Check if you may need any files):
AN2668_FW_V3.0.0
AN2668_FW_V3.0.0\an2668_fw.chm
AN2668_FW_V3.0.0\Libraries
AN2668_FW_V3.0.0\Libraries\CMSIS
AN2668_FW_V3.0.0\Libraries\CMSIS\Core
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\core_cm3.c
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\core_cm3.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\core_cmFunc.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\core_cmInstr.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\arm
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_hd.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_ld.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_md.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\gcc
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_ld.c
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_md.c
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\iar
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_hd.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_ld.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_md.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\stm32f10x.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\system_stm32f10x.c
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\CM3\system_stm32f10x.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\Documentation
AN2668_FW_V3.0.0\Libraries\CMSIS\Core\Documentation\CMSIS_Core.htm
AN2668_FW_V3.0.0\Libraries\CMSIS\Device
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Include
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Include\stm32l1xx.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Include\system_stm32l1xx.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Release_Notes.html
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\arm
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\arm\startup_stm32l1xx_hd.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\arm\startup_stm32l1xx_md.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\arm\startup_stm32l1xx_mdp.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\gcc_ride7
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\gcc_ride7\startup_stm32l1xx_hd.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\gcc_ride7\startup_stm32l1xx_md.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\gcc_ride7\startup_stm32l1xx_mdp.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\iar
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\iar\startup_stm32l1xx_hd.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\iar\startup_stm32l1xx_md.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\iar\startup_stm32l1xx_mdp.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\system_stm32l1xx.c
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\TASKING
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\TASKING\cstart_thumb2.asm
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\TrueSTUDIO
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\TrueSTUDIO\startup_stm32l1xx_hd.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\TrueSTUDIO\startup_stm32l1xx_md.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\TrueSTUDIO\startup_stm32l1xx_mdp.s
AN2668_FW_V3.0.0\Libraries\CMSIS\Include
AN2668_FW_V3.0.0\Libraries\CMSIS\Include\arm_common_tables.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Include\arm_math.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Include\core_cm0.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Include\core_cm3.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Include\core_cm4.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Include\core_cm4_simd.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Include\core_cmFunc.h
AN2668_FW_V3.0.0\Libraries\CMSIS\Include\core_cmInstr.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c
AN2668_FW_V3.0.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c