Speeduino
Loading...
Searching...
No Matches
Functions | Variables
boostController.cpp File Reference
#include "../../pins/boardOutputPin.h"
#include "../../../globals.h"
#include "../../../unit_testing.h"
#include "../../../units.h"
#include "../../PID/integerPID_ideal.h"

Functions

static void setBoostPidTunings (const config2 &page2, const config6 &page6, const config10 &page10)
 
void initialiseBoost (uint8_t boostPin)
 
void boostDisable (void)
 
static void boostByGear (void)
 
void boostControl (void)
 
void boostInterrupt (void)
 

Variables

TESTABLE_STATIC byte boostCounter
 
TESTABLE_STATIC boardOutputPin_t boost_pin
 
TESTABLE_STATIC long boost_pwm_target_value
 
TESTABLE_STATIC volatile bool boost_pwm_state
 
TESTABLE_STATIC volatile unsigned int boost_pwm_cur_value = 0
 
static uint16_t boost_pwm_max_count
 
static integerPID_ideal boostPID
 
TESTABLE_CONSTEXPR table2D_u8_s16_6 flexBoostTableconfigPage10
 

Function Documentation

◆ boostByGear()

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

◆ boostControl()

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

◆ boostDisable()

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

◆ boostInterrupt()

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

◆ initialiseBoost()

void initialiseBoost ( uint8_t  boostPin)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBoostPidTunings()

static void setBoostPidTunings ( const config2 page2,
const config6 page6,
const config10 page10 
)
static
Here is the caller graph for this function:

Variable Documentation

◆ boost_pin

◆ boost_pwm_cur_value

TESTABLE_STATIC volatile unsigned int boost_pwm_cur_value = 0

◆ boost_pwm_max_count

uint16_t boost_pwm_max_count
static

◆ boost_pwm_state

TESTABLE_STATIC volatile bool boost_pwm_state

◆ boost_pwm_target_value

TESTABLE_STATIC long boost_pwm_target_value

◆ boostCounter

TESTABLE_STATIC byte boostCounter

◆ boostPID

integerPID_ideal boostPID
static

◆ configPage10