| Electronic Components Datasheet Search |
|
AN4617 Datasheet(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4617 Datasheet(HTML) 23 Page - STMicroelectronics |
|
23 / 26 page ![]() DocID027161 Rev 1 23/26 AN4617 Firmware migration using the library 25 3 Firmware migration using the library Both STM32F0 and STM32L0 members are supported by new HAL (hardware abstraction layer) firmware interface. It collects universal drivers working mostly upon predefined structures of configuration data. This should ensure portable APIs across all the STM32 series in general for what concerns functional operations and control of given peripherals. However, considering the IPs specificities and implementation differences between these two subfamilies, some differences may appear mainly in the peripherals initialization, definition of the configuration structures and range of valid enumerators to be applied into them. Some functions could have different number of parameters. There should be however no differences when handling any standard flow except support of newly added features. User can find more detailed information in dedicated manuals describing HAL firmware and migration between supported devices. The basic idea here is to provide a comparison of header files of dedicated IP drivers referencing all the used data structures, enumerators, exported functions and parameters. These differences can help to detect parts of software to be modified when migrating between the FW interfaces. Table 18 summarizes basic differences concerning functions exported by drivers. Table 18. HAL drivers’ function difference summary Driver STM32F0 STM32L0 stm32xxxx_hal - HAL_EnableDBGSleepMode HAL_DisableDBGSleepMode HAL_DBG_LowPowerConfig HAL_VREFINT_Cmd HAL_VREFINT_OutputSelect HAL_ADC_EnableBuffer_Cmd HAL_ADC_EnableBufferSensor_Cmd HAL_COMP_EnableBuffer_Cmd HAL_RC48_EnableBuffer_Cmd stm32xxxx_hal_adc_ex - HAL_ADCEx_Calibration_GetValue HAL_ADCEx_Calibration_SetValue stm32xxxx_hal_dac_ex HAL_DACEx_DualGetValue HAL_DACEx_DualSetValue HAL_DACEx_ConvCpltCallbackCh2 HAL_DACEx_ConvHalfCpltCallbackCh2 HAL_DACEx_ErrorCallbackCh2 HAL_DACEx_DMAUnderrunCallbackCh 2 DAC_DMAConvCpltCh2 DAC_DMAErrorCh2 DAC_DMAHalfConvCpltCh2 - stm32xxxx_hal_pwr_ex - HAL_PWREx_EnableFastWakeUp HAL_PWREx_DisableFastWakeUp HAL_PWREx_EnableUltraLowPower HAL_PWREx_DisableUltraLowPower HAL_PWREx_EnableLowPowerRunMode HAL_PWREx_DisableLowPowerRunMode |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |