mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 08:43:10 +00:00
26 lines
492 B
C
26 lines
492 B
C
|
#pragma once
|
||
|
|
||
|
/*
|
||
|
* This file contains an API that is internally implemented by the application
|
||
|
* It is also exposed to plugins to allow them to use the application's API.
|
||
|
*/
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
void app_api_accumulator_set(uint32_t value);
|
||
|
|
||
|
uint32_t app_api_accumulator_get();
|
||
|
|
||
|
void app_api_accumulator_add(uint32_t value);
|
||
|
|
||
|
void app_api_accumulator_sub(uint32_t value);
|
||
|
|
||
|
void app_api_accumulator_mul(uint32_t value);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|