fmt.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Koen Zandberg
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
23 #include <stdint.h>
24 #include <stdlib.h>
25 #include "usb/usbus.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
39 
48 
49 #ifdef __cplusplus
50 }
51 #endif
size_t usbus_fmt_descriptor_conf(usbus_t *usbus)
generator for the USB configuration descriptor
size_t usbus_fmt_descriptor_dev(usbus_t *usbus)
generator for the USB device descriptor
USBUS context struct.
Definition: usbus.h:447
USBUS basic interface.