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

Software PWM on GPIO struct. More...

#include <PWM_GPIO.h>

Data Structures

struct  [struct].cfg

Data Fields

uint16_t cntr
 Counter.
uint16_t duty
 Current Duty cycle.
bool init
 PWM initialized (ready for use).
struct  cfg

Detailed Description

Software PWM on GPIO struct.

Field Documentation

◆ cfg

struct PWM_GPIO::[struct].cfg PWM_GPIO::cfg

◆ cntr

uint16_t PWM_GPIO::cntr

Counter.

◆ duty

uint16_t PWM_GPIO::duty

Current Duty cycle.

◆ init

bool PWM_GPIO::init

PWM initialized (ready for use).


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