1 /*
2  * Copyright (c) 2021 Raspberry Pi (Trading) Ltd.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef _PICO_USB_RESET_INTERFACE_H
8 #define _PICO_USB_RESET_INTERFACE_H
9 
10 /** \file usb_reset_interface.h
11  *  \defgroup pico_usb_reset_interface_headers pico_usb_reset_interface_headers
12  *
13  * \brief Definition for the reset interface that may be exposed by the pico_stdio_usb library
14  */
15 
16 // VENDOR sub-class for the reset interface
17 #define RESET_INTERFACE_SUBCLASS 0x00
18 // VENDOR protocol for the reset interface
19 #define RESET_INTERFACE_PROTOCOL 0x01
20 
21 // CONTROL requests:
22 
23 // reset to BOOTSEL
24 #define RESET_REQUEST_BOOTSEL 0x01
25 // regular flash boot
26 #define RESET_REQUEST_FLASH 0x02
27 
28 #endif