EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #784 background imageLoading...
Page #784 background image
LL ADC Generic Driver
UM1940
784/1371
DocID028236 Rev 2
LL_ADC_GROUP_REGULAR))
__LL_ADC_ANALOGWD_SET_TH
RESHOLD_RESOLUTION
Description:
Helper macro to set the value of ADC analog
watchdog threshold high or low in function of
ADC resolution, when ADC resolution is
different of 12 bits.
Parameters:
__ADC_RESOLUTION__: This parameter can
be one of the following values:
LL_ADC_RESOLUTION_12B
LL_ADC_RESOLUTION_10B
LL_ADC_RESOLUTION_8B
LL_ADC_RESOLUTION_6B
__AWD_THRESHOLD__: Value between
Min_Data=0x000 and Max_Data=0xFFF
Return value:
Value: between Min_Data=0x000 and
Max_Data=0xFFF
Notes:
To be used with function
LL_ADC_SetAnalogWDThresholds(). Example,
with a ADC resolution of 8 bits, to set the value
of analog watchdog threshold high (on 8 bits):
LL_ADC_SetAnalogWDThresholds (< ADCx
param>,
__LL_ADC_ANALOGWD_SET_THRESHOLD_
RESOLUTION(LL_ADC_RESOLUTION_8B,
<threshold_value_8_bits>) );
__LL_ADC_ANALOGWD_GET_TH
RESHOLD_RESOLUTION
Description:
Helper macro to get the value of ADC analog
watchdog threshold high or low in function of
ADC resolution, when ADC resolution is
different of 12 bits.
Parameters:
__ADC_RESOLUTION__: This parameter can
be one of the following values:
LL_ADC_RESOLUTION_12B
LL_ADC_RESOLUTION_10B
LL_ADC_RESOLUTION_8B
LL_ADC_RESOLUTION_6B
__AWD_THRESHOLD_12_BITS__: Value
between Min_Data=0x000 and
Max_Data=0xFFF
Return value:
Value: between Min_Data=0x000 and
Max_Data=0xFFF

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals