Speeduino
Loading...
Searching...
No Matches
init.h
Go to the documentation of this file.
1#ifndef INIT_H
2#define INIT_H
3
4#include "config_pages.h"
5#include "statuses.h"
6
7void initialiseAll(void);
8void setPinMapping(byte boardID);
9
10#define VSS_USES_RPM2() (isExternalVssMode(configPage2) && (pinVSS == pinTrigger2) && (!currentStatus.decoder.secondary.isValid())) // VSS is on the same pin as RPM2 and RPM2 is not used as part of the decoder
11#define FLEX_USES_RPM2() ((configPage2.flexEnabled > 0U) && (pinFlex == pinTrigger2) && (!currentStatus.decoder.secondary.isValid())) // Same as above, but for Flex sensor
12
13#endif
The tune page structs and related defines.
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:175
void setPinMapping(byte boardID)
Definition init.cpp:899
void initialiseAll(void)
Definition init.cpp:109
The statuses struct and related defines.