rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Fields
pwm_config_safe_state_s Struct Reference

#include <pwm_generator_logic.h>

Collaboration diagram for pwm_config_safe_state_s:
Collaboration graph
[legend]

Data Fields

float periodNt
 
int iteration
 
efitick_t startNt
 
int phaseIndex
 

Detailed Description

Definition at line 19 of file pwm_generator_logic.h.

Field Documentation

◆ iteration

int pwm_config_safe_state_s::iteration

Iteration counter

Definition at line 28 of file pwm_generator_logic.h.

Referenced by PwmConfig::handleCycleStart(), PwmConfig::togglePwmState(), and PwmConfig::weComplexInit().

◆ periodNt

float pwm_config_safe_state_s::periodNt

a copy so that all phases are executed on the same period, even if another thread would be adjusting PWM parameters

Definition at line 24 of file pwm_generator_logic.h.

Referenced by PwmConfig::handleCycleStart(), PwmConfig::togglePwmState(), and PwmConfig::weComplexInit().

◆ phaseIndex

int pwm_config_safe_state_s::phaseIndex

◆ startNt

efitick_t pwm_config_safe_state_s::startNt

Start time of current iteration

Definition at line 32 of file pwm_generator_logic.h.

Referenced by PwmConfig::handleCycleStart().


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