STM32F4xx HAL驱动说明书

资料大小: 15785KB

所需积分: 1

下载次数:

用户评论: 0条评论,查看

上传日期: 2017-11-30

上 传 者: lhall他上传的所有资料

资料介绍

标签:STM32F4(49)
STM32F4xx HAL驱动说明书

  IntroducTIon STM32CubeTM is an STMicroelectronics original iniTIaTIve to ease developers life by reducing development efforts, TIme and cost. STM32CubeTM covers STM32 portfolio. STM32CubeTM 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 STM32CubeF4 for STM32F4 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.

用户评论

查看全部 条评论

发表评论请先 , 还没有账号?免费注册

发表评论

用户评论
技术交流、我要发言! 发表评论可获取积分! 请遵守相关规定。
上传电子资料