cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Channel PreSelection

A.Caliskan
Associate II

Hello

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

I couldn't find a detailed explanation.

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

1 REPLY 1
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen