Skip to main content
A.Caliskan
Associate III
December 29, 2021
Solved

ADC Channel PreSelection

  • December 29, 2021
  • 1 reply
  • 1023 views

Hello

what does this function do?( LL_ADC_SetChannelPreSelection(ADCx, Channel);),

I couldn't find a detailed explanation.

This topic has been closed for replies.
Best answer by Imen.D

Hello @ALİ ÇALIŞKAN​ ,

The LL_ADC_SetChannelPreSelection function set the pre-selection of channel configuration.

• Caution: Channel selections is dependent to ADC instance and IP version: For STM32H72x/3x this is applicable only for ADC1/ADC2. For rest of STM32H7xxx this is applicable only all the ADCs instances.

Please have a look at the UM2217 "Description of STM32H7 HAL and low-layer drivers", which detailed description of each peripheral driver: configuration structures and functions.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

1 reply

Imen.DBest answer
ST Technical Moderator
December 29, 2021

Hello @ALİ ÇALIŞKAN​ ,

The LL_ADC_SetChannelPreSelection function set the pre-selection of channel configuration.

• Caution: Channel selections is dependent to ADC instance and IP version: For STM32H72x/3x this is applicable only for ADC1/ADC2. For rest of STM32H7xxx this is applicable only all the ADCs instances.

Please have a look at the UM2217 "Description of STM32H7 HAL and low-layer drivers", which detailed description of each peripheral driver: configuration structures and functions.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks