soc: arm: st_stm32: Using LL library to implement gpio functions
The original implementation of gpio functions access registers directly. Using LL library can add a set of unifying access functions for all series of stm32 for avoiding accessing low level code, and improve readability. Signed-off-by: Song Qiang <songqiang1304521@gmail.com>
This commit is contained in:
parent
9612f9d840
commit
2fb616efbe
27 changed files with 174 additions and 565 deletions
|
@ -79,6 +79,10 @@
|
|||
#include <stm32l4xx_ll_pwr.h>
|
||||
#endif /* CONFIG_USB */
|
||||
|
||||
#ifdef CONFIG_GPIO_STM32
|
||||
#include <stm32l4xx_ll_gpio.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32L4X_SOC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue