nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
usb_event.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
11#ifndef _USB_EVENT_H_
12#define _USB_EVENT_H_
13
14#include <zephyr/toolchain.h>
15
16#include <app_event_manager.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
43
46};
47
51 struct app_event_header header;
52
55};
57
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* _USB_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
usb_state
Peer states.
Definition: usb_event.h:34
@ USB_STATE_ACTIVE
Definition: usb_event.h:40
@ USB_STATE_POWERED
Definition: usb_event.h:38
@ USB_STATE_SUSPENDED
Definition: usb_event.h:42
@ USB_STATE_DISCONNECTED
Definition: usb_event.h:36
@ USB_STATE_COUNT
Definition: usb_event.h:45
struct app_event_header header
Definition: usb_event.h:51
enum usb_state state
Definition: usb_event.h:54
USB state event.
Definition: usb_event.h:49