Legacy branch migration
This commit is contained in:
34
firmware/logic/settings.h
Normal file
34
firmware/logic/settings.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef SETTINGS_LOGIC_H_
|
||||
#define SETTINGS_LOGIC_H_
|
||||
|
||||
/**** Includes ****/
|
||||
#include <stdint.h>
|
||||
#include "../devices/memory.h"
|
||||
#include "force.h"
|
||||
|
||||
/**** Public definitions ****/
|
||||
|
||||
/**** Public function declarations ****/
|
||||
void Setings_Update(uint8_t is_new_force, uint8_t force, uint8_t is_new_bmode, brakeMode_t bmode);
|
||||
|
||||
void Setings_SaveForce(uint8_t value);
|
||||
uint8_t Setings_GetForce(void);
|
||||
|
||||
void Setings_SaveBrakeMode(brakeMode_t bmode);
|
||||
brakeMode_t Setings_GetBrakeMode(void);
|
||||
|
||||
void Setings_SaveInputMode(inputMode_t inmode);
|
||||
inputMode_t Setings_GetInputMode(void);
|
||||
|
||||
void Setings_SaveDisplayBrigthLvl(uint8_t value);
|
||||
uint8_t Setings_GetDisplayBrigthLvl(void);
|
||||
|
||||
void Setings_SaveDisplayDimmLvl(uint8_t value);
|
||||
uint8_t Setings_GetDisplayDimmLvl(void);
|
||||
|
||||
void Setings_SaveLockCurrent(uint16_t value);
|
||||
uint16_t Setings_GetLockCurrent(void);
|
||||
|
||||
void Setings_SaveDefault(void);
|
||||
|
||||
#endif /* SETTINGS_LOGIC_H_ */
|
||||
Reference in New Issue
Block a user