FreeCalypso > hg > fc-tourmaline
view src/cs/services/vibr/vibr_messages_i.h @ 296:a927f030a4e0
add AT@VIBR and AT@VIBS commands for testing VIBR SWE
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 28 Mar 2022 00:43:11 +0000 |
parents | e17bdedfbf2b |
children |
line wrap: on
line source
/* * In this header file we are going to define our internal messages * that will be sent to our VIBR task by our API layer. */ #ifndef __VIBR_MESSAGES_I #define __VIBR_MESSAGES_I #include "rv/rv_general.h" struct vibr_start_msg { T_RV_HDR hdr; UINT8 num_pulses; UINT8 vibr_level; }; struct vibr_stop_msg { T_RV_HDR hdr; }; enum vibr_msg_id { VIBR_START_REQ = 1, VIBR_STOP_REQ }; #endif