1 /* 2 * Copyright (c) 2006-2022, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2022-02-16 Tuber first version 9 */ 10 11 #ifndef __DRV_USBH_H__ 12 #define __DRV_USBH_H__ 13 #include <rtthread.h> 14 15 #define USB_PID_SETUP 0x0D 16 #define USB_PID_IN 0x09 17 #define USB_PID_OUT 0x01 18 #define USB_PID_SOF 0x05 19 #define USB_PID_ACK 0x02 20 #define USB_PID_NAK 0x0A 21 #define USB_PID_STALL 0x0E 22 #define USB_PID_DATA0 0x03 23 #define USB_PID_DATA1 0x0B 24 #define USB_PID_PRE 0x0C 25 26 int rt_hw_usbh_init(void); 27 28 #endif 29