pwm.h 420 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2017-12-04 Haley the first version
  9. */
  10. #ifndef __PWM_H_
  11. #define __PWM_H_
  12. #include <rtthread.h>
  13. /**
  14. * @brief External function definitions
  15. *
  16. */
  17. int rt_hw_pwm_init(void);
  18. void am_pwm_start(int led);
  19. void am_pwm_stop(int led);
  20. #endif // __PWM_H_