Menu Toggle
v2.3.1 (RP2350)
Toggle main menu visibility
Loading...
Searching...
No Matches
usb_reset_interface.h
Go to the documentation of this file.
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
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