drv_usbfs.h 541 B

12345678910111213141516171819202122232425262728
  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. #ifndef __DRV_USBFS_H__
  11. #define __DRV_USBFS_H__
  12. #include <rtthread.h>
  13. #include <rtdevice.h>
  14. #include "drv_common.h"
  15. #include "usb_core.h"
  16. struct at32_usbfs {
  17. char *name;
  18. otg_core_type *p_otg_core;
  19. otg_id_type id;
  20. IRQn_Type irqn;
  21. };
  22. #endif /* __DRV_USBFS_H__ */
  23. /******************* end of file *******************/