nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
ui_module_event.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _UI_MODULE_EVENT_H_
8#define _UI_MODULE_EVENT_H_
9
16#include <app_event_manager.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
29
34
39};
40
46 int64_t timestamp;
47};
48
52 struct app_event_header header;
55
56 union {
58 struct ui_module_data ui;
60 uint32_t id;
62 int err;
64};
65
67
68#ifdef __cplusplus
69}
70#endif
71
76#endif /* _UI_MODULE_EVENT_H_ */
Application Event Manager header.
Application Event Manager profiler tracer header.
#define APP_EVENT_TYPE_DECLARE(ename)
Declare an event type.
Definition: app_event_manager.h:143
ui_module_event_type
UI event types submitted by the UI module.
Definition: ui_module_event.h:24
@ UI_EVT_BUTTON_DATA_READY
Definition: ui_module_event.h:28
@ UI_EVT_ERROR
Definition: ui_module_event.h:38
@ UI_EVT_SHUTDOWN_READY
Definition: ui_module_event.h:33
int64_t timestamp
Definition: ui_module_event.h:46
int button_number
Definition: ui_module_event.h:44
Structure used to provide button data.
Definition: ui_module_event.h:42
enum ui_module_event_type type
Definition: ui_module_event.h:54
struct app_event_header header
Definition: ui_module_event.h:52
union ui_module_event::@14 data
uint32_t id
Definition: ui_module_event.h:60
int err
Definition: ui_module_event.h:62
UI module event.
Definition: ui_module_event.h:50