Skip to main content
DS.4
Senior
November 25, 2021
Solved

Low level drivers and HAL drives

  • November 25, 2021
  • 2 replies
  • 1935 views

I see 2 types of drivers.

0693W00000GYpa7QAD.png 

one are under ll , e.g., "stm32wbxx_hal_exti"

and one under hal e.g., "stm32wbxx_ll_exti"

Why are there two types for each?

Can EXTI C2EMR2 be configured via the hal drivers and not the ll drivers?

This topic has been closed for replies.
Best answer by Imen.D

Hello @Community member​ ,

The HAL and LL have their own include files defining what they need.

They are complementary and cover a wide range of application requirements:

  • The HAL offers high-level and feature-oriented APIs with a high-portability level.
  • The LL offers low-level APIs at register level, with better optimization but less portability.

I advise you to refer to this user manual UM2442 to have an overview of HAL and LL drivers, and how to use the given API to build your application.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

2 replies

Imen.DBest answer
Technical Moderator
November 25, 2021

Hello @Community member​ ,

The HAL and LL have their own include files defining what they need.

They are complementary and cover a wide range of application requirements:

  • The HAL offers high-level and feature-oriented APIs with a high-portability level.
  • The LL offers low-level APIs at register level, with better optimization but less portability.

I advise you to refer to this user manual UM2442 to have an overview of HAL and LL drivers, and how to use the given API to build your application.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
DS.4
DS.4Author
Senior
November 25, 2021

Is there a BLE middleware for stm32wb5x that uses HAL instead of LL?