HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
Loading...
Searching...
No Matches
PWM_GPIO::[struct].cfg Struct Reference

Data Fields

TIM_HandleTypeDef * pTim
 Timer instance (for reference).
GPIO_TypeDef * GPIOx
 Port of emulated PWM pin.
uint16_t GPIO_Pin
 Pin mask on port.
uint16_t tim_freq
 Timer frequency (for reference).
uint16_t duty
 Duty Cycle (effective when new period starts).
uint16_t per
 Overflow threshold (emulated PWM period).
bool polarity
 Output polarity.

Field Documentation

◆ duty

uint16_t PWM_GPIO::[struct].cfg duty

Duty Cycle (effective when new period starts).

◆ GPIO_Pin

uint16_t PWM_GPIO::[struct].cfg GPIO_Pin

Pin mask on port.

◆ GPIOx

GPIO_TypeDef* PWM_GPIO::[struct].cfg GPIOx

Port of emulated PWM pin.

◆ per

uint16_t PWM_GPIO::[struct].cfg per

Overflow threshold (emulated PWM period).

◆ polarity

bool PWM_GPIO::[struct].cfg polarity

Output polarity.

◆ pTim

TIM_HandleTypeDef* PWM_GPIO::[struct].cfg pTim

Timer instance (for reference).

◆ tim_freq

uint16_t PWM_GPIO::[struct].cfg tim_freq

Timer frequency (for reference).


The documentation for this struct was generated from the following files: