Speeduino
Loading...
Searching...
No Matches
Functions | Variables
airconController.cpp File Reference
#include "../../pins/inputPin.h"
#include "../../pins/outputPin.h"
#include "../../../unit_testing.h"
#include "../../../config_pages.h"
#include "../../../atomic.h"
#include "../../../globals.h"
#include "../../../units.h"

Functions

static uint8_t getAirConRequestPinMode (const config15 &page15)
 
static void checkAirConCoolantLockout (void)
 
static void checkAirConTPSLockout (void)
 
static void checkAirConRPMLockout (void)
 
TESTABLE_STATIC void airConOn (void)
 
TESTABLE_STATIC void airConOff (void)
 
static void airConFanOn (void)
 
static void airConFanOff (void)
 
void initialiseAirCon (void)
 
static bool READ_AIRCON_REQUEST (void)
 
void airConControl (void)
 

Variables

TESTABLE_STATIC inputPin_t aircon_req_pin
 
TESTABLE_STATIC outputPin_t aircon_comp_pin
 
TESTABLE_STATIC outputPin_t aircon_fan_pin
 
TESTABLE_STATIC bool acIsEnabled
 
TESTABLE_STATIC bool acStandAloneFanIsEnabled
 
TESTABLE_STATIC uint8_t acStartDelay
 
TESTABLE_STATIC uint8_t acTPSLockoutDelay
 
TESTABLE_STATIC uint8_t acRPMLockoutDelay
 
TESTABLE_STATIC uint8_t acAfterEngineStartDelay
 
TESTABLE_STATIC bool waitedAfterCranking
 

Function Documentation

◆ airConControl()

void airConControl ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ airConFanOff()

static void airConFanOff ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ airConFanOn()

static void airConFanOn ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ airConOff()

TESTABLE_STATIC void airConOff ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ airConOn()

TESTABLE_STATIC void airConOn ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkAirConCoolantLockout()

static void checkAirConCoolantLockout ( void  )
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkAirConRPMLockout()

static void checkAirConRPMLockout ( void  )
inlinestatic
Here is the caller graph for this function:

◆ checkAirConTPSLockout()

static void checkAirConTPSLockout ( void  )
inlinestatic
Here is the caller graph for this function:

◆ getAirConRequestPinMode()

static uint8_t getAirConRequestPinMode ( const config15 page15)
static
Here is the caller graph for this function:

◆ initialiseAirCon()

void initialiseAirCon ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ READ_AIRCON_REQUEST()

static bool READ_AIRCON_REQUEST ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ acAfterEngineStartDelay

TESTABLE_STATIC uint8_t acAfterEngineStartDelay

◆ acIsEnabled

TESTABLE_STATIC bool acIsEnabled

◆ acRPMLockoutDelay

TESTABLE_STATIC uint8_t acRPMLockoutDelay

◆ acStandAloneFanIsEnabled

TESTABLE_STATIC bool acStandAloneFanIsEnabled

◆ acStartDelay

TESTABLE_STATIC uint8_t acStartDelay

◆ acTPSLockoutDelay

TESTABLE_STATIC uint8_t acTPSLockoutDelay

◆ aircon_comp_pin

TESTABLE_STATIC outputPin_t aircon_comp_pin

◆ aircon_fan_pin

TESTABLE_STATIC outputPin_t aircon_fan_pin

◆ aircon_req_pin

TESTABLE_STATIC inputPin_t aircon_req_pin

◆ waitedAfterCranking

TESTABLE_STATIC bool waitedAfterCranking