Struct 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¶
Platform channel index
variable enabled¶
Output state flag
variable fall_ns¶
Fall dead-time in nanoseconds
variable freq_hz¶
Switching frequency in Hz
variable phase_deg¶
Phase offset in degrees
variable rise_ns¶
Rise dead-time in nanoseconds
The documentation for this class was generated from the following file src/syntropic/drivers/syn_hrpwm.h