Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[H7][ADC] Migration to V1.4.0 library
- VRef and Temperature sensor calibration constants defined in "stm32h7xx_ll_adc.h" are now included via “stm32h7xx_hal_adc.h”. - Boostmode is now handled by HAL_ADC_Init using clock configuration parameters to cope with Rev.V. - Channel specifier (ADC_CHANNEL_x) was a simple integer with V1.3.0, is now an bit field encoded value. adcTagMap had this value, but adcChannel field in adcOperationConfig was not big enough to store it. The adcChannel field is modified to hold 32-bit value. - Rank for channel configuration was a integer, now a bit field encoded value (ADC_RANK_x). adcRegularRankMap array was added to translate rank number to rank value. - Other Rev.V changes also seem to be handled within HAL.
- Loading branch information
Showing
2 changed files
with
30 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters