Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
control_output.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
13#ifndef __CONTROL_OUTPUT_H__
14#define __CONTROL_OUTPUT_H__
15
16#include <stdint.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
35
41 uint16_t kw_class;
42 const char *name;
43};
44
51
57void print_control_output(const struct control_message message);
58
59#ifdef __cplusplus
60}
61#endif /* __cplusplus */
62
63#endif /* __CONTROL_OUTPUT_H__ */
64
int control_output_init(void)
Initialize control output backend.
control_message_type
Control message type.
Definition control_output.h:25
@ CONTROL_MESSAGE_WAITING_WW
Definition control_output.h:26
@ CONTROL_MESSAGE_WAITING_KW
Definition control_output.h:29
@ CONTROL_MESSAGE_KW_SPOTTED
Definition control_output.h:30
@ CONTROL_MESSAGE_WW_DETECTED
Definition control_output.h:27
@ CONTROL_MESSAGE_TIMEOUT_KWS
Definition control_output.h:31
@ CONTROL_MESSAGE_COUNT
Definition control_output.h:33
void print_control_output(const struct control_message message)
Print the control messages to ncs_control_output_uart serial.
const char * name
Definition control_output.h:42
uint16_t kw_class
Definition control_output.h:41
enum control_message_type type
Definition control_output.h:40
Control message.
Definition control_output.h:39