Skip to content

Struct SYN_HRPWM

ClassList > SYN_HRPWM

High-Resolution PWM handle. Caller allocates; zero heap.

  • #include <syn_hrpwm.h>

Public Attributes

Type Name
uint8_t channel
bool enabled
uint16_t fall_ns
uint32_t freq_hz
uint16_t phase_deg
uint16_t rise_ns

Public Attributes Documentation

variable channel

uint8_t SYN_HRPWM::channel;

Platform channel index


variable enabled

bool SYN_HRPWM::enabled;

Output state flag


variable fall_ns

uint16_t SYN_HRPWM::fall_ns;

Fall dead-time in nanoseconds


variable freq_hz

uint32_t SYN_HRPWM::freq_hz;

Switching frequency in Hz


variable phase_deg

uint16_t SYN_HRPWM::phase_deg;

Phase offset in degrees


variable rise_ns

uint16_t SYN_HRPWM::rise_ns;

Rise dead-time in nanoseconds



The documentation for this class was generated from the following file src/syntropic/drivers/syn_hrpwm.h