Commit a170fe8
committed
HardwareTimer: rework internal mapping of arduino API with HAL/LL API
Main rework:
* HAL_TIM_Base_Init() is now called only once at object creation
* HAL_TIM_xxx_ConfigChannel is now done in setMode()
* HAL_TIM_xxx_Start is done in resumeChannel()
* use LL when possible
* Configuration are directly made through hardware register access (xhen possible),
then remove useless attribut
* Add new API to pause only one channel:
pauseChannel(uint32_t channel)
resumeChannel(uint32_t channel)
fixes #763
* integration of PR #767 Flexible interrupts handling1 parent 11857b8 commit a170fe8
2 files changed
+348
-163
lines changed
0 commit comments