main_ubi_sdk v 0.1.3
This is UBI4 documentation
custom_info_structs.h
Go to the documentation of this file.
1/*
2 * data_table.h
3 *
4 * Created on: Feb 3, 2023
5 * Author: PC
6 */
7
8#ifdef example
9#ifndef INC_CUSTOM_INFO_STRUCTS_H_
10#define INC_CUSTOM_INFO_STRUCTS_H_
11
12#ifdef __cplusplus
13 extern "C" {
14#endif
15
16#include "stdint.h"
17#include "stdbool.h"
18#include "dsp.h"
19
20/*
21typedef struct {
22 float alpha;
23 float beta_up;
24 float beta_down;
25 float beta;
26 float gamma_low;
27 float gamma_high;
28 float AVRcoef;
29 float gain;
30}__attribute__((__packed__))emg_channel_config_struct;
31*/
32
33typedef struct
34{
35 uint8_t switch_sensors;
36 SmartFilter_config_struct ch[2];
37}__attribute__((__packed__))emg_settings_struct;
38
39
40
41
42
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* INC_CUSTOM_INFO_STRUCTS_H_*/
49
50#endif