Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
usb_board_reset_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Inria
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
20
#ifndef USB_BOARD_RESET_INTERNAL_H
21
#define USB_BOARD_RESET_INTERNAL_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
#include <
inttypes.h
>
28
29
#include "
usb/usbus/cdc/acm.h
"
30
42
int
usb_board_reset_coding_cb
(
usbus_cdcacm_device_t
*cdcacm,
43
uint32_t baud, uint8_t bits,
44
uint8_t parity, uint8_t stop);
45
46
#ifdef __cplusplus
47
}
48
#endif
49
50
#endif
/* USB_BOARD_RESET_INTERNAL_H */
51
usb_board_reset_coding_cb
int usb_board_reset_coding_cb(usbus_cdcacm_device_t *cdcacm, uint32_t baud, uint8_t bits, uint8_t parity, uint8_t stop)
USB coding callback used to trigger the board reset.
acm.h
Interface and definitions for USB CDC ACM type interfaces in USBUS.
usbus_cdcacm_device
USBUS CDC ACM context struct.
Definition:
acm.h:132
inttypes.h
Adds include for missing inttype definitions.
Generated on Tue Nov 24 2020 19:46:52 by
1.8.17