Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
21
#ifndef USB_USBUS_FMT_H
22
#define USB_USBUS_FMT_H
23
24
#include <stdint.h>
25
#include <stdlib.h>
26
#include "
usb/usbus.h
"
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
39
size_t
usbus_fmt_descriptor_conf
(
usbus_t
*
usbus
);
40
48
size_t
usbus_fmt_descriptor_dev
(
usbus_t
*
usbus
);
49
50
#ifdef __cplusplus
51
}
52
#endif
53
#endif
/* USB_USBUS_FMT_H */
54
usbus.h
USBUS basic interface.
usbus_fmt_descriptor_dev
size_t usbus_fmt_descriptor_dev(usbus_t *usbus)
generator for the USB device descriptor
usbus_fmt_descriptor_conf
size_t usbus_fmt_descriptor_conf(usbus_t *usbus)
generator for the USB configuration descriptor
usbus
USBUS context struct.
Definition:
usbus.h:397
Generated on Tue Nov 24 2020 19:46:52 by
1.8.17