Description of STM32G0 HAL and low-layer drivers User manual

2022-06-10 ST User's Guide English
● Introduction:
■ STM32Cube is an STMicroelectronics original initiative to significantly improve developer productivity by reducing development effort, time and cost. STM32Cube covers the STM32 portfolio.
■ STM32Cube includes:
▲ STM32CubeMX, a graphical software configuration tool that allows the generation of C initialization code using graphical wizards.
▲ A comprehensive embedded software platform, delivered per Series (such as STM32CubeG0 for STM32G0 Series)
◆ The STM32Cube HAL, STM32 abstraction layer embedded software ensuring maximized portability across the STM32 portfolio. HAL APIs are available for all peripherals.
◆ Low-layer APIs (LL) offering a fast light-weight expert-oriented layer which is closer to the hardware than the HAL. LL APIs are available only for a set of peripherals.
◆ A consistent set of middleware components such as FAT file system, RTOS, USB and USB PD.
◆ All embedded software utilities, delivered with a full set of examples.
■ The HAL driver layer provides a simple, generic multi-instance set of APIs (application programming interfaces) to interact with the upper layer (application, libraries and stacks). The HAL driver 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 line or part number. The HAL drivers include a complete set of ready-to-use APIs that simplify the user application implementation. For example, the communication peripherals contain APIs to initialize and configure the peripheral, manage data transfers in polling mode, handle interrupts or DMA, and manage communication errors. The HAL drivers are feature-oriented instead of IP-oriented. For example, the timer APIs are split into several categories following the IP functions, such as basic timer, capture and pulse width modulation (PWM). The HAL driver layer implements run-time failure detection by checking the input values of all functions. Such dynamic checking enhances the firmware robustness. Run-time detection is also suitable for user application development and debugging.
■ The LL drivers offer hardware services based on the available features of the STM32 peripherals. These services reflect exactly the hardware capabilities, and provide atomic operations that must be called by following the programming model described in the product line reference manual. As a result, the LL services are not based on standalone processes and do not require any additional memory resources to save their states, counter or data pointers. All operations are performed by changing the content of the associated peripheral registers. Unlike the HAL, LL APIs are not provided for peripherals for which optimized access is not a key feature, or for those requiring heavy software configuration and/or a complex upper-level stack (such as USB).
■ The HAL and LL are complementary and cover a wide range of application requirements:
▲ The HAL offers high-level and feature-oriented APIs with a high-portability level. These hide the MCU and peripheral complexity from the end-user.
▲ The LL offers low-level APIs at register level, with better optimization but less portability. These require deep knowledge of the MCU and peripheral specifications.
■ The HAL- and LL-driver source code is developed in Strict ANSI-C, which makes it independent of the development tools. It is checked with the CodeSonar® static analysis tool. It is fully documented.
■ The next release will be compliant with MISRA C®:2012 standard.
世强硬创平台www.sekorm.com
世强硬创平台电子商城www.sekorm.com/supply/
世强硬创平台www.sekorm.com
世强硬创平台www.sekorm.com
- The full preview is over. If you want to read the whole 2202 page document ,please Sign in/Register -
Download Documentation will be sent to the business email and automatically synchronized to all devices for easy management
  • +1 Like
  • Add to Favorites

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Recommend

Getting started with STM32CubeG0 for STM32G0 Series

1-Apr-2019  - User's Guide

STM32CUBEMX,STM32CUBEG0,STM32CUBEMONPWR,STM32,STM32G0,STM32CUBE,STM32CUBEPROGRAMMER,STM32G0 SERIES,STM32CUBEMONITOR-POWER

Description of STM32F7xx HAL drivers User Manual

June 2015  - User's Guide

STM32CUBEMX,STM32,STM32F7XX,STM32CUBE,STM32CUBEF7,STM32 SERIES

Getting started with STM32CubeL5 for STM32L5 Series

12-Dec-2019  - User's Guide

STM32CUBEMX,STM32CUBEG0,STM32G0,STM32L5,STM32L5 SERIES,STM32CUBE

STM32Cube firmware examples for STM32G0 Series

10-Nov-2020  - Application note & Design Guide

STM32CUBEMX,STM32CUBEG0,STM32G0,STM32G0 SERIES

STM32CubeG0 STM32Cube MCU Package for STM32G0 Series with HAL, low-layer drivers and dedicated middleware Data brief

December 2018  - Datasheet

STM32CUBEMX,STM32CUBEG0,STM32,STM32G0,STM32CUBE

STM32Cube firmware examples for STM32G0 Series Application note

April 2019  - Application note & Design Guide

STM32CUBEMX,STM32CUBEG0,STM32,STM32G071B-DISCO,STM32G0316-DISCO,STM32G0,STM32G081B-EVAL,STM32CUBE,NUCLEO-G071RB,NUCLEO-G031K8,TM32G081B-EVAL

查看更多版本

STM32MP1-COPROC Coprocessor management

2019/8/29  - Supplier and Product Introduction

STM32CUBEMX,STM32,STM32CUBE,STM32MP1

STM32G0 MCU Series Efficiency at its Best

2019/04/06  - Technical Documentation

STM32CUBEMX,STM32CUBEG0,STM32,STM32G0

Code generation for STM32 MCUs using MATLAB®and simulink®

March 2020  - Supplier and Product Introduction

STM32CUBEMX,STM32,STM32CUBEIDE,STM32CUBE,STM32-MAT/TARGET

Description of STM32G0 HAL and low-layer drivers User manual

October 2018  - User's Guide

STM32CUBEMX,STM32G071XX,STM32CUBEG0,STM32,STM32G081XX,STM32G070XX,STM32G0,STM32CUBE

Getting started with STM32CubeG0 for STM32G0 Series User manual

15-Oct-2020  - User's Guide

STM32CUBEMX,STM32CUBEMONITOR,STM32CUBEG0,STM32CUBEMONPWR,STM32G0,STM32CUBEIDE,STM32CUBEPROG,STM32CUBEMONRF,STM32G0 SERIES,STM32CUBEMONUCPD

Cortex®-M0+ programming manual for STM32L0, STM32G0, STM32WL and STM32WB Series

10-Oct-2019  - User's Guide

STM32WL,STM32WL SERIES,STM32G0,STM32WB,STM32WB SERIES,STM32L0 SERIES,STM32G0 SERIES,STM32L0

STSW-USBPD27SFW Software package for STEVAL-USBPD27S Compact 27W USB Type-C™ Power Delivery 3.0 adapter Data brief

27-Oct-2020  - Datasheet

STM32G071RB,STSW-USBPD27SFW,STM32CUBEG0,STM32G0,STEVAL-USBPD27S,STM32CUBE,STM32G0 SERIES,STM32G071KB,STLINK-V3MINI

X-CUBE-AZRTOS-G0 STM32G0 Series Azure® RTOS software expansion for STM32Cube Data brief

21-Dec-2021  - Datasheet

STM32CUBEMX,STM32G0,X-CUBE-AZRTOS-G0,STM32CUBEIDE,STM32CUBE,NUCLEO-G0B1RE,STM32CUBEPROG,STM32G0 SERIES,STM32G0C1E-EV

STM32CubeL4 Nucleo demonstration firmware User manual

09-May-2017  - User's Guide

STM32CUBEMX,STM32L4,STM32CUBEL4,STM32,STM32CUBE,STM32L4 SERIES

More

Electronic Mall

More

Manufacturer:DAISCH

Category:惯性测量模组

Auth. Dist.

Manufacturer:Nanochap

Category:

Auth. Dist.

In Stock:3

Manufacturer:GaleComm

Category:国产ARM芯片编程器(SPD版本)

Auth. Dist.

Manufacturer:GaleComm

Category:国产ARM芯片编程器

Auth. Dist.

Manufacturer:CORENICS

Category:GaN HEMT

Auth. Dist.

Manufacturer:2Pai Semi

Category:Isolated Dual-Channel Gate Driver

Auth. Dist.

Manufacturer:NCE

Category:Half Bridge Driver

Auth. Dist.

Manufacturer:NCE

Category:high speed power MOSFET drivers

Auth. Dist.

Manufacturer:ALKAIDSEMI

Category:SiC MOSFET

Auth. Dist.

In Stock:120

Manufacturer:ALKAIDSEMI

Category:SiC MOSFET

Auth. Dist.

In Stock:120

Manufacturer:DAISCH

Category:惯性测量模组

Auth. Dist.
RFQ

Manufacturer:Nanochap

Category:

Auth. Dist.

In Stock:

RFQ

Manufacturer:GaleComm

Category:国产ARM芯片编程器(SPD版本)

Auth. Dist.
RFQ

Manufacturer:GaleComm

Category:国产ARM芯片编程器

Auth. Dist.
RFQ

Manufacturer:CORENICS

Category:GaN HEMT

Auth. Dist.
RFQ

Manufacturer:2Pai Semi

Category:Isolated Dual-Channel Gate Driver

Auth. Dist.
RFQ

Manufacturer:NCE

Category:Half Bridge Driver

Auth. Dist.
RFQ

Manufacturer:NCE

Category:high speed power MOSFET drivers

Auth. Dist.
RFQ

Manufacturer:ALKAIDSEMI

Category:SiC MOSFET

Auth. Dist.

In Stock:

RFQ

Manufacturer:ALKAIDSEMI

Category:SiC MOSFET

Auth. Dist.

In Stock:

RFQ
connect

Contact Us

E-mail:contact@sekorm.com

Tel: +86 954668/400-830-1766