![]() |
Speeduino
|
#include "globals.h"
#include "logger.h"
#include "errors.h"
#include "decoders.h"
#include "init.h"
Functions | |
byte | getTSLogEntry (uint16_t byteNum) |
int16_t | getReadableLogEntry (uint16_t logIndex) |
bool | is2ByteEntry (uint8_t key) |
void | startToothLogger (void) |
void | stopToothLogger (void) |
void | startCompositeLogger (void) |
void | stopCompositeLogger (void) |
void | startCompositeLoggerTertiary (void) |
void | stopCompositeLoggerTertiary (void) |
void | startCompositeLoggerCams (void) |
void | stopCompositeLoggerCams (void) |
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 | ) |
An expansion to the getReadableLogEntry function for systems that have an FPU. It will provide a floating point value for any parameter that this is appropriate for, otherwise will return the result of getReadableLogEntry. 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 |
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 | ) |