grblHAL core  20241107
ioports_pwm_t Struct Reference

Precalculated values that may be set/used by HAL driver to speed up analog input to PWM conversions. *‍/. More...

#include <ioports.h>

Data Fields

uint32_t f_clock
 
uint_fast16_t period
 
uint_fast16_t off_value
 NOTE: this value holds the inverted version if software PWM inversion is enabled by the driver. More...
 
uint_fast16_t min_value
 
uint_fast16_t max_value
 
float min
 Minimum analog input value. More...
 
float pwm_gradient
 
bool invert_pwm
 NOTE: set (by driver) when inversion is done in code. More...
 
bool always_on
 

Detailed Description

Precalculated values that may be set/used by HAL driver to speed up analog input to PWM conversions. *‍/.

Field Documentation

◆ always_on

bool always_on

◆ f_clock

uint32_t f_clock

◆ invert_pwm

bool invert_pwm

NOTE: set (by driver) when inversion is done in code.

◆ max_value

uint_fast16_t max_value

◆ min

float min

Minimum analog input value.

◆ min_value

uint_fast16_t min_value

◆ off_value

uint_fast16_t off_value

NOTE: this value holds the inverted version if software PWM inversion is enabled by the driver.

◆ period

uint_fast16_t period

◆ pwm_gradient

float pwm_gradient

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