hal_otg.c 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * BSD 2-Clause License
  3. * Copyright (c) 2022, LiteEMF
  4. * All rights reserved.
  5. * This software component is licensed by LiteEMF under BSD 2-Clause license,
  6. * the "License"; You may not use this file except in compliance with the
  7. * License. You may obtain a copy of the License at:
  8. * opensource.org/licenses/BSD-2-Clause
  9. *
  10. */
  11. /************************************************************************************************************
  12. ** Description:
  13. ************************************************************************************************************/
  14. #include "hw_config.h"
  15. #if API_OTG_BIT_ENABLE
  16. #include "api/usb/usb_typedef.h"
  17. #include "api/usb/api_otg.h"
  18. #include "api/api_log.h"
  19. /******************************************************************************************************
  20. ** Defined
  21. *******************************************************************************************************/
  22. /******************************************************************************************************
  23. ** public Parameters
  24. *******************************************************************************************************/
  25. /******************************************************************************************************
  26. ** static Parameters
  27. *******************************************************************************************************/
  28. /*****************************************************************************************************
  29. ** static Function
  30. ******************************************************************************************************/
  31. /*****************************************************************************************************
  32. ** Function
  33. ******************************************************************************************************/
  34. /*******************************************************************
  35. ** Parameters:
  36. ** Returns:
  37. ** Description:
  38. *******************************************************************/
  39. error_t hal_otg_init(uint8_t id)
  40. {
  41. UNUSED_PARAMETER(id);
  42. return ERROR_SUCCESS;
  43. }
  44. error_t hal_otg_deinit(uint8_t id)
  45. {
  46. UNUSED_PARAMETER(id);
  47. return ERROR_SUCCESS;
  48. }
  49. #endif