cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use HAL library in MBED?

maryam magdy
Associate II
Posted on March 15, 2018 at 19:21

Hello,

I have Stm32 L4 microcontroller.  I want to make use of all its power modes and I have only found the HAL library generated by the Cube software(

https://github.com/JoeMerten/Stm32L4-Workshop/blob/master/AudioPlayer/AudioPlayer/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c

) that uses all the 8 power modes. My question is can I use the HAL library with the MBED compiler? 
2 REPLIES 2
Mark Peter Vargha
Associate III
Posted on March 15, 2018 at 19:38

Yes, you can. There are HAL drivers under mbed. So you can call them directly.