rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
value_lookup.h
Go to the documentation of this file.
1/*
2 * @file value_lookup.h
3 *
4 * @date Dec 13, 2021
5 * @author Andrey Belomutskiy, (c) 2012-2021
6 */
7
8#pragma once
9#include "pch.h"
11
13 const char *token;
14 int *value;
15};
16
18 const char *token;
19 uint16_t *value;
20};
21
23 const char *token;
24 uint8_t *value;
25};
26
28 const char *token;
29 float *value;
30};
31
32float getOutputValueByHash(const int hash);
33
34float getConfigValueByHash(const int hash);
35float getConfigValueByName(const char *name);
36/**
37 * @return true if name was recognized, false otherwise
38 */
39bool setConfigValueByName(const char *name, float value);
40float getOutputValueByName(const char *name);
41
42void * hackEngineConfigurationPointer(void *ptr);
const char * token
const char * token
const char * token
uint8_t * value
const char * token
bool setConfigValueByName(const char *name, float value)
void * hackEngineConfigurationPointer(void *ptr)
float getOutputValueByHash(const int hash)
float getOutputValueByName(const char *name)
float getConfigValueByName(const char *name)
float getConfigValueByHash(const int hash)