資料介紹
2 Overview of HAL drivers The HAL drivers were designed to offer a rich set of APIs and to interact easily with the application upper layers. Each driver consists of a set of functions covering the most common peripheral features. The development of each driver is driven by a common API which standardizes the driver structure, the functions and the parameter names. The HAL drivers consist of a set of driver modules, each module being linked to a standalone peripheral. However, in some cases, the module is linked to a peripheral functional mode. As an example, several modules exist for the USART peripheral: UART driver module, USART driver module, SMARTCARD driver module and IRDA driver module. The HAL main features are the following: ? Cross-family portable set of APIs covering the common peripheral features as well as extension APIs in case of specific peripheral features. ? Three API programming models: polling, interrupt and DMA. ? APIs are RTOS compliant: ? Fully reentrant APIs ? Systematic usage of timeouts in polling mode. ? Peripheral multi-instance support allowing concurrent API calls for multiple instances of a given peripheral (USART1, USART2.。。) ? All HAL APIs implement user-callback functions mechanism: ? Peripheral Init/DeInit HAL APIs can call user-callback functions to perform peripheral system level Initialization/De-Initialization (clock, GPIOs, interrupt, DMA) ? Peripherals interrupt events ? Error events. ? Object locking mechanism: safe hardware access to prevent multiple spurious accesses to shared resources. ? Timeout used for all blocking processes: the timeout can be a simple counter or a timebase
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
- STM32F44xx HAL驱动程序说明0次下载
- UM1940_STM32F2xx的HAL驱动描述0次下载
- UM1905_STM32F7xx的HAL驱动描述2次下载
- UM1749_STM32L0xx的HAL与Low_layer层的驱动描述4次下载
- UM1786_STM32F3xx的HAL层驱动描述2次下载
- UM1850_STM32F1xx硬件抽象层驱动描述6次下载
- UM1850_STM32F1xx硬件抽象层和底层驱动描述2次下载
- STM32F1xx HAL库 中文详解 之 GPIO篇18次下载
- STM32F1xx HAL库 中文详解 之 综合概述(一)46次下载
- 普中STM32F1xx开发攻略资料下载23次下载
- STM32F1XX系列教程和数据手册及固件库使用手册免费下载21次下载
- 使用STM32F1XX系列单片机实现ADC驱动的程序免费下载22次下载
- 普中STM32F1xx开发攻略免费下载152次下载
- STM32F4xx HAL驱动说明书104次下载
- 32L1产品技术培训18从STM32F1xx到STM32Lx10次下载
- 【GD32 MCU 移植教程】8、从 STM32F4xx 系列移植到 GD32F4xx 系1997次阅读
- CAN分析仪的驱动程序如何正确安装1623次阅读
- 怎么编写Framebuffer驱动程序733次阅读
- RT-thread源码移植到STM32F10x和STM32F4xx3022次阅读
- 米尔科技LINUX设备驱动程序教程2217次阅读
- STM32F405xx系列芯片的特点性能介绍24769次阅读
- STM32F767XX微控制器的功能及特性分析23583次阅读
- 浅谈电脑驱动程序的工作原理 详解电脑驱动程序意义30787次阅读
- 8255A驱动程序3582次阅读
- 8155驱动程序3412次阅读
- 基于K9F5608A的MCS-51单片机驱动程序2285次阅读
- mpu6050六轴传感器模块驱动程序源代码分享37623次阅读
- STM32标准库改为HAL库的程序实现35186次阅读
- Xilinx设备的驱动程序8391次阅读
- PCI驱动程序开发实例6959次阅读
下載排行
本周
- 1TC358743XBG評估板參考手冊
- 1.36 MB | 330次下載 | 免費
- 2開關電源基礎知識
- 5.73 MB | 6次下載 | 免費
- 3100W短波放大電路圖
- 0.05 MB | 4次下載 | 3 積分
- 4嵌入式linux-聊天程序設計
- 0.60 MB | 3次下載 | 免費
- 5基于FPGA的光纖通信系統的設計與實現
- 0.61 MB | 2次下載 | 免費
- 651單片機窗簾控制器仿真程序
- 1.93 MB | 2次下載 | 免費
- 751單片機大棚環境控制器仿真程序
- 1.10 MB | 2次下載 | 免費
- 8基于51單片機的RGB調色燈程序仿真
- 0.86 MB | 2次下載 | 免費
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234315次下載 | 免費
- 2555集成電路應用800例(新編版)
- 0.00 MB | 33564次下載 | 免費
- 3接口電路圖大全
- 未知 | 30323次下載 | 免費
- 4開關電源設計實例指南
- 未知 | 21549次下載 | 免費
- 5電氣工程師手冊免費下載(新編第二版pdf電子書)
- 0.00 MB | 15349次下載 | 免費
- 6數字電路基礎pdf(下載)
- 未知 | 13750次下載 | 免費
- 7電子制作實例集錦 下載
- 未知 | 8113次下載 | 免費
- 8《LED驅動電路設計》 溫德爾著
- 0.00 MB | 6653次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935054次下載 | 免費
- 2protel99se軟件下載(可英文版轉中文版)
- 78.1 MB | 537796次下載 | 免費
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234315次下載 | 免費
- 5Altium DXP2002下載入口
- 未知 | 233046次下載 | 免費
- 6電路仿真軟件multisim 10.0免費下載
- 340992 | 191185次下載 | 免費
- 7十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183279次下載 | 免費
- 8proe5.0野火版下載(中文版免費下載)
- 未知 | 138040次下載 | 免費
評論