Speeduino
Loading...
Searching...
No Matches
Functions
boostController.h File Reference
#include "../../../statuses.h"
#include "../../../config_pages.h"
#include "../../pins/pinNumbers_t.h"

Go to the source code of this file.

Functions

void initialiseBoost (statuses &current, const config2 &page2, const config6 &page6, const config10 &page10, const pinNumbers_t &pins)
 Initialise the boost controller.
 
void boostControl (statuses &current, const config2 &page2, const config4 &page4, const config6 &page6, const config9 &page9, const config10 &page10, const config15 &page15)
 Run the boost control algorithm. Should be called periodically from the main loop.
 
void boostInterrupt (void)
 Boost timer ISR. The board needs to hook this into a timer.
 

Function Documentation

◆ boostControl()

void boostControl ( statuses &  current,
const config2 &  page2,
const config4 &  page4,
const config6 &  page6,
const config9 &  page9,
const config10 &  page10,
const config15 &  page15 
)

Run the boost control algorithm. Should be called periodically from the main loop.

Parameters
currentSystem state
page2Tune
page4Tune
page6Tune
page9Tune
page10Tune
page15Tune

◆ boostInterrupt()

void boostInterrupt ( void  )

Boost timer ISR. The board needs to hook this into a timer.

◆ initialiseBoost()

void initialiseBoost ( statuses &  current,
const config2 &  page2,
const config6 &  page6,
const config10 &  page10,
const pinNumbers_t &  pins 
)

Initialise the boost controller.

Parameters
currentSystem state
page2Tune
page6Tune
page10Tune
pinsBoard pin numbers