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.
24 lines
718 B
24 lines
718 B
#ifndef _OZONE_PWM_CONTROL_H_
|
|
#define _OZONE_PWM_CONTROL_H_
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "lib_config.h"
|
|
#include "light.h"
|
|
#include "port.h"
|
|
#include "system_ES8P5066.h"
|
|
|
|
void ozone_pwm_control_module_set_pwm_output_1(uint32_t hardware_period, uint8_t hardware_duty);
|
|
void ozone_pwm_control_module_set_pwm_output_2(uint32_t hardware_period, uint8_t hardware_duty, uint32_t large_period, uint8_t large_duty);
|
|
|
|
void ozone_pwm_control_module_stop_pwm(void);
|
|
void ozone_pwm_control_module_loop(void);
|
|
|
|
void ozone_pwm_control_enable(void);
|
|
void ozone_pwm_control_disable(void);
|
|
bool ozone_pwm_control_is_enable(void);
|
|
|
|
bool ozone_pwm_control_hardware_is_enable(void);
|
|
|
|
#endif
|