hal_tick.c 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 "api/api_tick.h"
  15. /******************************************************************************************************
  16. ** Defined
  17. *******************************************************************************************************/
  18. /******************************************************************************************************
  19. ** static Parameters
  20. *******************************************************************************************************/
  21. /******************************************************************************************************
  22. ** public Parameters
  23. *******************************************************************************************************/
  24. /*****************************************************************************************************
  25. ** static Function
  26. ******************************************************************************************************/
  27. /*****************************************************************************************************
  28. ** Function
  29. ******************************************************************************************************/
  30. /*******************************************************************
  31. ** Parameters:
  32. ** Returns:
  33. ** Description:
  34. *******************************************************************/
  35. void hal_delay_ns(uint32_t ns)
  36. {
  37. UNUSED_PARAMETER(ns);
  38. }
  39. void hal_delay_us(uint32_t us)
  40. {
  41. hal_delay_ns(1000*us);
  42. }
  43. void hal_delay_ms(uint32_t ms)
  44. {
  45. hal_delay_us(1000*ms);
  46. }
  47. void hal_os_delay_ms(uint32_t ms)
  48. {
  49. UNUSED_PARAMETER(ms);
  50. }
  51. void hal_tick_init(void)
  52. {
  53. }