drivers: pwm: stm32: refactor driver using LL API
The PWM drivers has been refactored using the HAL LL API. Not only that, but the set pin_set function is now faster, as channel output compare is just initialized if needed. NOTE: Has been tested using H743zi board for now. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
e173903634
commit
528a98ba3f
17 changed files with 261 additions and 210 deletions
|
@ -75,6 +75,10 @@
|
|||
#include <stm32f1xx_ll_utils.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PWM_STM32
|
||||
#include <stm32f1xx_ll_tim.h>
|
||||
#endif /* CONFIG_PWM_STM32 */
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32F1_SOC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue