hal_timer.c 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. #include "hw_board.h"
  16. #if defined HW_TIMER_MAP && API_TIMER_BIT_ENABLE
  17. #include "api/api_timer.h"
  18. /******************************************************************************************************
  19. ** Defined
  20. *******************************************************************************************************/
  21. /******************************************************************************************************
  22. ** static Parameters
  23. *******************************************************************************************************/
  24. /******************************************************************************************************
  25. ** public Parameters
  26. *******************************************************************************************************/
  27. /*****************************************************************************************************
  28. ** static Function
  29. ******************************************************************************************************/
  30. /*****************************************************************************************************
  31. ** Function
  32. ******************************************************************************************************/
  33. /*******************************************************************
  34. ** Parameters:
  35. ** Returns:
  36. ** Description:
  37. *******************************************************************/
  38. bool hal_timer_init(uint8_t id)
  39. {
  40. UNUSED_PARAMETER(id);
  41. return true;
  42. }
  43. bool hal_timer_deinit(uint8_t id)
  44. {
  45. UNUSED_PARAMETER(id);
  46. return true;
  47. }
  48. #endif