hal_pwm.c 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. #ifdef HW_PWM_MAP
  16. #include "api/api_pwm.h"
  17. #include "api/api_gpio.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_pwm_set_duty(uint16_t id, uint8_t duty)
  39. {
  40. UNUSED_PARAMETER(id);
  41. UNUSED_PARAMETER(duty);
  42. return false;
  43. }
  44. bool hal_pwm_init(uint16_t id, uint8_t duty)
  45. {
  46. UNUSED_PARAMETER(id);
  47. UNUSED_PARAMETER(duty);
  48. return false;
  49. }
  50. bool hal_pwm_deinit(uint16_t id)
  51. {
  52. UNUSED_PARAMETER(id);
  53. return false;
  54. }
  55. #endif