Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN4617 Datasheet(PDF) 23 Page - STMicroelectronics

Part # AN4617
Description  Migrating between STM32F0 and STM32L0 microcontrollers
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4617 Datasheet(HTML) 23 Page - STMicroelectronics

Back Button AN4617 Datasheet HTML 18Page - STMicroelectronics AN4617 Datasheet HTML 19Page - STMicroelectronics AN4617 Datasheet HTML 20Page - STMicroelectronics AN4617 Datasheet HTML 21Page - STMicroelectronics AN4617 Datasheet HTML 22Page - STMicroelectronics AN4617 Datasheet HTML 23Page - STMicroelectronics AN4617 Datasheet HTML 24Page - STMicroelectronics AN4617 Datasheet HTML 25Page - STMicroelectronics AN4617 Datasheet HTML 26Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 23 / 26 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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