hal_pm.c 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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_pm.h"
  15. /******************************************************************************************************
  16. ** Defined
  17. *******************************************************************************************************/
  18. /*****************************************************************************************************
  19. ** Function
  20. ******************************************************************************************************/
  21. /*******************************************************************
  22. ** Parameters:
  23. ** Returns:
  24. ** Description:
  25. *******************************************************************/
  26. pm_reson_t hal_get_reset_reson(void)
  27. {
  28. return PM_RESON_POR;
  29. }
  30. void hal_boot(uint8_t index)
  31. {
  32. UNUSED_PARAMETER(index);
  33. }
  34. void hal_reset(void)
  35. {
  36. }
  37. void hal_sleep(void)
  38. {
  39. }