nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
led_event.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _LED_EVENT_H_
8#define _LED_EVENT_H_
9
17#include <app_event_manager.h>
19#include <caf/led_effect.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
31struct led_event {
33 struct app_event_header header;
34
36 size_t led_id;
37
39 const struct led_effect *led_effect;
40};
41
42
53 struct app_event_header header;
54
56 size_t led_id;
57
59 const struct led_effect *led_effect;
60};
61
62#ifdef __cplusplus
63}
64#endif
65
70#ifdef __cplusplus
71extern "C" {
72#endif
73
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif /* _LED_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
Single LED effect.
Definition: led_effect.h:51
struct app_event_header header
Definition: led_event.h:33
size_t led_id
Definition: led_event.h:36
const struct led_effect * led_effect
Definition: led_event.h:39
LED event.
Definition: led_event.h:31
size_t led_id
Definition: led_event.h:56
const struct led_effect * led_effect
Definition: led_event.h:59
struct app_event_header header
Definition: led_event.h:53
LED ready event.
Definition: led_event.h:51