1 /* 2 * Copyright (c) 2006-2021, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2023-02-28 shelton first version 9 */ 10 11 #ifndef __DRV_USBD_H__ 12 #define __DRV_USBD_H__ 13 14 #include <rtthread.h> 15 #include <rtdevice.h> 16 #include "drv_common.h" 17 18 #if defined(BSP_USING_USBD) 19 #include "usbd_core.h" 20 21 struct at32_usbd { 22 char *name; 23 usbd_core_type *p_usbd_core; 24 IRQn_Type irqn; 25 }; 26 #endif 27 #endif /* __DRV_USBD_H__ */ 28 29 /******************* end of file *******************/ 30