cancel
Showing results for 
Search instead for 
Did you mean: 

Low level drivers and HAL drives

DS.4
Senior II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

2 REPLIES 2
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
DS.4
Senior II

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