You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
812 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. #ifndef _OZONE_PWM_CONTROL_H_
  2. #define _OZONE_PWM_CONTROL_H_
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include "lib_config.h"
  6. #include "light.h"
  7. #include "port.h"
  8. #include "system_ES8P5066.h"
  9. void ozone_pwm_control_module_set_pwm_output_1(uint32_t large_period, uint8_t large_duty);
  10. void ozone_pwm_control_module_set_pwm_output_2(uint32_t hardware_period, uint8_t hardware_duty, uint32_t large_period,
  11. uint8_t large_duty);
  12. void ozone_pwm_control_module_set_pwm(uint32_t frequency, uint32_t duty);
  13. void ozone_pwm_control_module_stop_pwm(void);
  14. void ozone_pwm_control_module_loop(void);
  15. void update_begin_ticket(void);
  16. void ozone_pwm_control_enable(void);
  17. void ozone_pwm_control_disable(void);
  18. bool ozone_pwm_control_is_enable(void);
  19. #endif