diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2021-04-15 10:48:30 +0000 |
---|---|---|
committer | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2021-04-15 10:48:30 +0000 |
commit | b3e72c7944a738fe9201c406332cbcd878df65e3 (patch) | |
tree | 0d7c76f916859893832b0c9ed24650ac06bf3acf /include/cluster_api.h |
Initial commit for AGL cluster api library
This source code is AGL instrument cluster common API library.
Currently, this source code is missing author information, license and other.
Will be add by author.
Author: Nozomu Abe (nozo_abe@nippon-seiki.co.jp)
Committed by Naoto Yamaguchi.
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'include/cluster_api.h')
-rw-r--r-- | include/cluster_api.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/cluster_api.h b/include/cluster_api.h new file mode 100644 index 0000000..792495e --- /dev/null +++ b/include/cluster_api.h @@ -0,0 +1,22 @@ +#ifndef CLUSTER_API_H +#define CLUSTER_API_H + +typedef enum { + IC_HMI_OFF = 0, + IC_HMI_ON, +} IC_HMI_ON_OFF; + +#include <cluster_api_telltale.h> +#include <cluster_api_shiftposition.h> +#include <cluster_api_speed.h> +#include <cluster_api_tacho.h> +#include <cluster_api_tripcomputer.h> +#include <cluster_api_registernotify.h> + +bool clusterInit(void); +bool clusterTerm(void); + +// Callback function pointer type +typedef void (*IC_HMI_FUNC_NOTIFY_IC_HMI)(unsigned long long arg_1, IC_HMI_ON_OFF arg_2); + +#endif // CLUSTER_API_H |