IOT Matrix Display
Loading...
Searching...
No Matches
events.h
1
10#ifndef __EVENTS_H__
11#define __EVENTS_H__
12
13/******************************************************************************
14 * Includes
15 *****************************************************************************/
16#include <zephyr/kernel.h>
17
18/******************************************************************************
19 * Constants
20 *****************************************************************************/
21typedef enum {
22 MAIN_EVENT_UPDATE_DISPLAY = 0x1,
23 MAIN_EVENT_SSID_SCAN = 0x2,
24 MAIN_EVENT_CONNECT_WIFI = 0x4,
25 MAIN_EVENT_REBOOT = 0x8,
26} event_t;
27
28/******************************************************************************
29 * Typedefs
30 *****************************************************************************/
31/******************************************************************************
32 * Global Variables
33 *****************************************************************************/
34/******************************************************************************
35 * Global API
36 *****************************************************************************/
37void event_set_and_wakeup(event_t event);
38
39#endif // __EVENTS_H__