您现在的位置是:首页 > 资料属性 > 手册 > stm32HAL库使用说明
推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

stm32HAL库使用说明

更新时间:2019-08-21 19:44:24 大小:4M 上传用户:powersup查看TA发布的资源 浏览次数:487 下载积分:2分 出售积分赚钱 评价赚积分 ( 如何评价?) 标签:stm32 收藏 评论(0) 举报

资料介绍

谢谢分享,分享分享暗室逢灯那是罗迪克积分卡圣诞快乐发撒娇地方开服金卡士大夫立刻静安寺的肌肤离开了的风景拉我进来放假啦刷卡积分拉萨大家了发吉萨大开了房间螺丝钉解放立刻教室上课了房间就是恢复到哈桑回复哈三个sadhu爱神的箭‘喀什款到发货案件士大夫;哦阿斯顿 

部分文件列表

文件名 大小
STM32HAL库_F103.pdf 4M

部分页面预览

(完整内容请下载后查看)
UM1850  
User manual  
Description of STM32F1xx HAL drivers  
Introduction  
STMCubeTM is an STMicroelectronics original initiative to ease developers life by reducing development  
efforts, time and cost. STM32Cube covers STM32 portfolio.  
STM32Cube Version 1.x includes:  
The STM32CubeMX, a graphical software configuration tool that allows generating C initialization  
code using graphical wizards.  
A comprehensive embedded software platform, delivered per series (such as STM32CubeF1 for  
STM32F1 series)  
The STM32Cube HAL, an STM32 abstraction layer embedded software, ensuring maximized  
portability across STM32 portfolio  
A consistent set of middleware components such as RTOS, USB, TCP/IP, Graphics  
All embedded software utilities coming with a full set of examples.  
The HAL drivers layer provides a generic multi instance simple set of APIs (application programming  
interfaces) to interact with the upper layer (application, libraries and stacks). It is composed of generic  
and extension APIs. It is directly built around a generic architecture and allows the built-upon layers,  
such as the middleware layer, to implement their functions without knowing in-depth how to use the  
MCU. This structure improves the library code reusability and guarantees an easy portability on other  
devices.  
The HAL drivers include a complete set of ready-to-use APIs which simplify the user application  
implementation. As an example, the communication peripherals contain APIs to initialize and configure  
the peripheral, to manage data transfers based on polling, to handle interrupts or DMA, and to manage  
communication errors.  
The HAL drivers APIs are split into two categories: generic APIs which provide common and generic  
functions for all the STM32 series and extension APIs which include specific and customized functions  
for a given family or part number.  
The HAL drivers are feature-oriented instead of IP-oriented. As an example, the timer APIs are split into  
several categories following the functions offered by the IP: basic timer, capture, pulse width modulation  
(PWM), etc..  
The drivers source code is developed in Strict ANSI-C which makes it independent from the  
development tools. It is checked with CodeSonarTM static analysis tool. It is fully documented and is  
MISRA-C 2004 compliant.  
The HAL drivers layer implements run-time failure detection by checking the input values of all  
functions. Such dynamic checking contributes to enhance the firmware robustness. Run-time detection  
is also suitable for user application development and debugging.  
This user manual is structured as follows:  
Overview of the HAL drivers  
Detailed description of each peripheral driver: configuration structures, functions, and  
how to use the given API to build your application.  
February 2015  
DOCID027328 Rev 1  
1/655  
www.st.com  

推荐下载

全部评论(0)

暂无评论