FreeCalypso > hg > fc-tourmaline
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cs/services/vibr/vibr_struct_i.h Sun Mar 27 08:46:10 2022 +0000 @@ -0,0 +1,23 @@ +/* + * This header file holds the internal structure definition + * for VIBR SWE. + */ + +#ifndef __VIBR_STRUCT_I +#define __VIBR_STRUCT_I + +#include "rv/rv_general.h" +#include "rvf/rvf_api.h" + +struct vibr_env { + /* RiViera boilerplate */ + T_RVF_ADDR_ID addr_id; + T_RVF_MB_ID prim_id; + /* vibration state */ + UINT8 vibr_level; + BOOL on_state; + BOOL cont_mode; + UINT8 remain_cycles; +}; + +#endif /* include guard */