rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions | Variables
idle_hardware.cpp File Reference

Detailed Description

Idle Air Control valve hardware.

Date
November 3, 2020

This is just the hardware interface - deciding where to put the valve happens in idle_thread.cpp

Definition in file idle_hardware.cpp.

Functions

void applyIACposition (percent_t position)
 

Variables

static StepDirectionStepper iacStepperHw
 
static DualHBridgeStepper iacHbridgeHw
 
StepperMotor iacMotor CCM_OPTIONAL
 
static SimplePwm idleSolenoidOpen ("idle open")
 
static SimplePwm idleSolenoidClose ("idle close")
 

Function Documentation

◆ applyIACposition()

void applyIACposition ( percent_t  position)

currently idle level is an percent value (0-100 range), and PWM takes a float in the 0..1 range todo: unify?

Start PWM for idleValvePin

Definition at line 30 of file idle_hardware.cpp.

Referenced by IdleController::onFastCallback().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ CCM_OPTIONAL

StepperMotor iacMotor CCM_OPTIONAL

Definition at line 24 of file idle_hardware.cpp.

◆ iacHbridgeHw

DualHBridgeStepper iacHbridgeHw
static

Definition at line 23 of file idle_hardware.cpp.

Referenced by applyIACposition().

◆ iacStepperHw

StepDirectionStepper iacStepperHw
static

Definition at line 22 of file idle_hardware.cpp.

Referenced by applyIACposition().

◆ idleSolenoidClose

SimplePwm idleSolenoidClose("idle close") ( "idle close"  )
static

Referenced by applyIACposition().

◆ idleSolenoidOpen

SimplePwm idleSolenoidOpen("idle open") ( "idle open"  )
static

Referenced by applyIACposition().

Go to the source code of this file.