usb_bsp.h 751 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (C) 2022-2024, Xiaohua Semiconductor Co., Ltd.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023-02-14 CDT first version
  9. */
  10. #ifndef __USB_BSP_H__
  11. #define __USB_BSP_H__
  12. /* C binding of definitions if building with C++ compiler */
  13. #ifdef __cplusplus
  14. extern "C"
  15. {
  16. #endif
  17. #include "hc32_ll_utility.h"
  18. extern void usb_udelay(const uint32_t usec);
  19. extern void usb_mdelay(const uint32_t msec);
  20. /**
  21. * @}
  22. */
  23. /**
  24. * @}
  25. */
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29. #endif /* __USB_BSP_H__ */
  30. /*******************************************************************************
  31. * EOF (not truncated)
  32. ******************************************************************************/