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:
Song Qiang 2019-01-08 18:12:04 +08:00 committed by Kumar Gala
commit 2fb616efbe
27 changed files with 174 additions and 565 deletions

View file

@ -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_ */