hal_system.c 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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_system.h"
  15. /******************************************************************************************************
  16. ** Defined
  17. *******************************************************************************************************/
  18. /*****************************************************************************************************
  19. ** Function
  20. ******************************************************************************************************/
  21. /*******************************************************************
  22. ** Parameters:
  23. ** Returns:
  24. ** Description:
  25. *******************************************************************/
  26. bool hal_set_sysclk(emf_clk_t clk, uint32_t freq)
  27. {
  28. UNUSED_PARAMETER(clk);
  29. UNUSED_PARAMETER(freq);
  30. return true;
  31. }
  32. /*******************************************************************
  33. ** Parameters:
  34. ** Returns:
  35. ** Description:
  36. *******************************************************************/
  37. uint32_t hal_get_sysclk(emf_clk_t clk)
  38. {
  39. UNUSED_PARAMETER(clk);
  40. return HAL_SYS_FREQ;
  41. }
  42. bool hal_get_uuid(uint8_t *uuid, uint8_t len)
  43. {
  44. UNUSED_PARAMETER(uuid);
  45. UNUSED_PARAMETER(len);
  46. return false;
  47. }