comparison src/cs/services/vibr/vibr_struct_i.h @ 294:e17bdedfbf2b

VIBR SWE initial implementation
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Mar 2022 08:46:10 +0000
parents
children
comparison
equal deleted inserted replaced
293:2d7d95e7f9c2 294:e17bdedfbf2b
1 /*
2 * This header file holds the internal structure definition
3 * for VIBR SWE.
4 */
5
6 #ifndef __VIBR_STRUCT_I
7 #define __VIBR_STRUCT_I
8
9 #include "rv/rv_general.h"
10 #include "rvf/rvf_api.h"
11
12 struct vibr_env {
13 /* RiViera boilerplate */
14 T_RVF_ADDR_ID addr_id;
15 T_RVF_MB_ID prim_id;
16 /* vibration state */
17 UINT8 vibr_level;
18 BOOL on_state;
19 BOOL cont_mode;
20 UINT8 remain_cycles;
21 };
22
23 #endif /* include guard */