standard peripheral library,标准外设库
Hardware Abstraction Layer,硬件抽象层
Low-Layer,低层
上面三个库的具体区别,可以在st官网,或者在其他网友写的文章找到答案。
这里只是汇总三个库的下载地址。
标准外设库(standard peripheral library)下载地址:总预览地址:
https://www.st.com/en/embedded-software/stm32-standard-peripheral-libraries.html
https://www.st.com/zh/embedded-software/stm32-standard-peripheral-libraries.html
STM32F10x standard peripheral library
https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries/stsw-stm32054.html
STM32F0xx standard peripherals library
https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries/stsw-stm32048.html
STM32F37x/38x DSP and standard peripherals library
https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries/stsw-stm32115.html
STM32F2xx standard peripherals library
https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries/stsw-stm32062.html
STM32F4 DSP and standard peripherals library
https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries/stsw-stm32065.html
STM32L1xx standard peripherals library
https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries/stsw-stm32077.html
HAL(Hardware Abstraction Layer)库、LL(Low-Layer)库下载地址:总预览地址:
https://www.st.com/en/embedded-software/stm32cube-mcu-mpu-packages.html
https://www.st.com/zh/embedded-software/stm32cube-mcu-mpu-packages.html
(上图来源:
https://www.st.com/zh/embedded-software/stm32cube-mcu-mpu-packages.html
)
(上图来源:
https://www.st.com/zh/embedded-software/stm32cube-mcu-mpu-packages.html#products
)
可以看到,stm32cubeF0包含了HAL,Low-Layer APIs。
假如我要下载stm32cubeF0,鼠标移动到上图的黑圈内,然后再点击上图的蓝圈。就可以进入下载页面,然后下载。
同样的方法,也可以获取F1、L0这些下载页面。
来源: 整理文章为传播相关技术,网络版权归原作者所有,如有侵权,请联系删除。