![]() |
Speeduino
|
#include "globals.h"#include "logger.h"#include "decoders.h"#include "init.h"#include "maths.h"#include "preprocessor.h"#include "units.h"#include "board_definition.h"#include "decoder_init.h"#include "scheduledIO_inj.h"#include "resetControl.h"#include "scheduler_fuel_controller.h"#include "src/controllers/progammableIO/programmableIOControl.h"Functions | |
| static byte | setStatusBit (byte status, uint8_t index, bool bit) |
| static byte | setStatusBits (byte status, bool(&bits)[1]) noexcept |
| template<uint8_t N> | |
| static byte | setStatusBits (byte status, bool(&bits)[N]) noexcept |
| static byte | buildStatus1 (const statuses ¤t) |
| static byte | buildStatus2 (const statuses ¤t) |
| static byte | buildStatus3 (const statuses ¤t) |
| static byte | buildStatus4 (const statuses ¤t) |
| static byte | buildStatus5 (const statuses ¤t) |
| byte | buildEngineStatus (const statuses ¤t) |
| Build the TunerStudio engine status byte from the current status. | |
| static byte | buildTestOutput (const statuses ¤t) |
| byte | buildSdCardStatus (const statuses ¤t) |
| Build the TunerStudio SD card status byte from the current status. | |
| static byte | buildAirConStatus (const statuses ¤t) |
| static byte | buildEngineProtectStatus (const statuses ¤t) |
| byte | getTSLogEntry (uint16_t byteNum) |
| int16_t | getReadableLogEntry (uint16_t logIndex) |
| uint8_t | getLegacySecondarySerialLogEntry (uint16_t byteNum) |
| bool | is2ByteEntry (uint8_t key) |
| static void | attachLoggerInterrupt (uint8_t pin, void(*loggerISR)(void)) |
| void | startToothLogger (void) |
| static void | detachLoggerInterrupt (uint8_t pin, interrupt_t &decoderInterrupt) |
| void | stopToothLogger (void) |
| void | startCompositeLogger (void) |
| void | stopCompositeLogger (void) |
| void | startCompositeLoggerTertiary (void) |
| void | stopCompositeLoggerTertiary (void) |
| void | startCompositeLoggerCams (void) |
| void | stopCompositeLoggerCams (void) |
|
inlinestatic |
Build the TunerStudio engine status byte from the current status.
Build the TunerStudio SD card status byte from the current status.
|
inlinestatic |
| uint8_t getLegacySecondarySerialLogEntry | ( | uint16_t | byteNum | ) |
| int16_t getReadableLogEntry | ( | uint16_t | logIndex | ) |
Similar to the getTSLogEntry function, however this returns a full, unadjusted (ie human readable) log entry value. See logger.h for the field names and order
| logIndex | - The log index required. Note that this is NOT the byte number, but the index in the log |
| byte getTSLogEntry | ( | uint16_t | byteNum | ) |
Returns a numbered byte-field (partial field in case of multi-byte fields) from "current status" structure in the format expected by TunerStudio Notes on fields:
| byteNum | - byte-Field number. This is not the entry number (As some entries have multiple byets), but the byte number that is needed |
| bool is2ByteEntry | ( | uint8_t | key | ) |
Searches the log 2 byte array to determine whether a given index is a regular single byte or a 2 byte field Uses a boundless binary search for improved performance, but requires the fsIntIndex to remain in order
| key | - Index in the log array to check |
| void startCompositeLogger | ( | void | ) |
| void startCompositeLoggerCams | ( | void | ) |
| void startCompositeLoggerTertiary | ( | void | ) |
| void startToothLogger | ( | void | ) |
| void stopCompositeLogger | ( | void | ) |
| void stopCompositeLoggerCams | ( | void | ) |
| void stopCompositeLoggerTertiary | ( | void | ) |
| void stopToothLogger | ( | void | ) |