HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
StmPwm.h File Reference

STM32 PWM wrapper β€” wraps TIM_HandleTypeDef for BasePwm interface. More...

#include "BasePwm.h"
#include "StmTypes.h"
Include dependency graph for StmPwm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StmPwm
 STM32 PWM implementation. More...
 

Detailed Description

STM32 PWM wrapper β€” wraps TIM_HandleTypeDef for BasePwm interface.

Users configure timers + OC channels in STM32CubeMX, then pass the TIM_HandleTypeDef* here. Each StmPwm instance manages one timer with up to 4 channels (CH1–CH4).

Author
HardFOC
Date
2025