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

#include <engine_configuration_generated_structures_alphax-2chan.h>

Collaboration diagram for gppwm_channel:
Collaboration graph
[legend]

Data Fields

output_pin_e pin
 
uint8_t dutyIfError
 
uint8_t alignmentFill_at_3 [1] = {}
 
uint16_t pwmFrequency
 
uint8_t onAboveDuty
 
uint8_t offBelowDuty
 
gppwm_channel_e loadAxis
 
gppwm_channel_e rpmAxis
 
scaled_channel< int16_t, 2, 1 > loadBins [GPPWM_LOAD_COUNT] = {}
 
int16_t rpmBins [GPPWM_RPM_COUNT] = {}
 
scaled_channel< uint8_t, 2, 1 > table [GPPWM_LOAD_COUNT][GPPWM_RPM_COUNT] = {}
 
uint8_t alignmentFill_at_106 [2] = {}
 
uint8_t alignmentFill_at_66 [2] = {}
 

Detailed Description

Definition at line 320 of file engine_configuration_generated_structures_alphax-2chan.h.

Field Documentation

◆ alignmentFill_at_106

uint8_t gppwm_channel::alignmentFill_at_106 = {}

need 4 byte alignment units: units offset 106

Definition at line 386 of file engine_configuration_generated_structures_alphax-2chan.h.

386{};

◆ alignmentFill_at_3

uint8_t gppwm_channel::alignmentFill_at_3 = {}

need 4 byte alignment units: units offset 3

Definition at line 338 of file engine_configuration_generated_structures_alphax-2chan.h.

338{};

◆ alignmentFill_at_66

uint8_t gppwm_channel::alignmentFill_at_66[2] = {}

need 4 byte alignment units: units offset 66

Definition at line 385 of file engine_configuration_generated_structures_atlas.h.

385{};

◆ dutyIfError

uint8_t gppwm_channel::dutyIfError

If an error (with a sensor, etc) is detected, this value is used instead of reading from the table. This should be a safe value for whatever hardware is connected to prevent damage. units: % offset 2

Definition at line 332 of file engine_configuration_generated_structures_alphax-2chan.h.

Referenced by commonPassatB6(), GppwmChannel::getOutput(), and setMaverickX3().

◆ loadAxis

gppwm_channel_e gppwm_channel::loadAxis

Selects the Y axis to use for the table. offset 8

Definition at line 362 of file engine_configuration_generated_structures_alphax-2chan.h.

Referenced by commonPassatB6(), GppwmChannel::getOutput(), setHondaObd1(), and setMaverickX3().

◆ loadBins

scaled_channel< int16_t, 2, 1 > gppwm_channel::loadBins = {}

offset 10

Definition at line 371 of file engine_configuration_generated_structures_alphax-2chan.h.

371{};

◆ offBelowDuty

uint8_t gppwm_channel::offBelowDuty

Hysteresis: in on-off mode, turn the output off when the table value is below this duty. units: % offset 7

Definition at line 357 of file engine_configuration_generated_structures_alphax-2chan.h.

Referenced by GppwmChannel::setOutput().

◆ onAboveDuty

uint8_t gppwm_channel::onAboveDuty

Hysteresis: in on-off mode, turn the output on when the table value is above this duty. units: % offset 6

Definition at line 351 of file engine_configuration_generated_structures_alphax-2chan.h.

Referenced by GppwmChannel::setOutput().

◆ pin

output_pin_e gppwm_channel::pin

◆ pwmFrequency

uint16_t gppwm_channel::pwmFrequency

Select a frequency to run PWM at. Set this to 0hz to enable on-off mode. units: hz offset 4

Definition at line 345 of file engine_configuration_generated_structures_alphax-2chan.h.

Referenced by commonPassatB6(), initGpPwm(), setGmSbc(), setHondaK(), setHondaObd1(), and setMaverickX3().

◆ rpmAxis

gppwm_channel_e gppwm_channel::rpmAxis

Selects the X axis to use for the table. offset 9

Definition at line 367 of file engine_configuration_generated_structures_alphax-2chan.h.

Referenced by GppwmChannel::getOutput(), and setMaverickX3().

◆ rpmBins

int16_t gppwm_channel::rpmBins = {}

offset 26

Definition at line 375 of file engine_configuration_generated_structures_alphax-2chan.h.

375{};

◆ table

scaled_channel< uint8_t, 2, 1 > gppwm_channel::table = {}

units: duty offset 42

units: duty offset 34

Definition at line 380 of file engine_configuration_generated_structures_alphax-2chan.h.

380{};

Referenced by commonPassatB6(), and setGmSbc().


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