comparison src/cs/services/buzm/buzm_messages_i.h @ 297:8dfdf88d632f

BUZM SWE initial implementation
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Mar 2022 03:45:41 +0000
parents
children
comparison
equal deleted inserted replaced
296:a927f030a4e0 297:8dfdf88d632f
1 /*
2 * In this header file we are going to define our internal messages
3 * that will be sent to our BUZM task by our API layer.
4 */
5
6 #ifndef __BUZM_MESSAGES_I
7 #define __BUZM_MESSAGES_I
8
9 #include "rv/rv_general.h"
10 #include "ffs/ffs_api.h"
11
12 struct buzm_start_msg {
13 T_RV_HDR hdr;
14 T_FFS_FD fd;
15 UINT8 volume;
16 BOOL loop;
17 };
18
19 struct buzm_stop_msg {
20 T_RV_HDR hdr;
21 };
22
23 enum buzm_msg_id {
24 BUZM_START_REQ = 1,
25 BUZM_STOP_REQ
26 };
27
28 #endif