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.
|
|
// #ifndef _OZONE_PWM_CONTROL_H_
// #define _OZONE_PWM_CONTROL_H_
// #include "lib_config.h"
// #include "light.h"
// #include "ozone_work.h"
// #include "port.h"
// #include "system_ES8P5066.h"
// typedef enum {
// HAS_BEEN_WORKING = 0, /*һֱ����*/
// TIMING_WORK = 1, /*��ʱ����*/
// TIMING_INTERVAL_WORK = 2, /*�ڶ�ʱ�ڼ䣬��Ъ����*/
// STOP_PWM_WORK = 3, /*ֹͣ����*/
// } OZONE_WOEK_MODE_T;
// typedef enum {
// LOW_END = 1, /*�͵�����*/
// MIDDLE_GRADE = 2, /*�����*/
// SLAP_UP = 3, /*�ߵ�����*/
// } OZONE_WOEK_GEARS_T;
// typedef struct {
// OZONE_WOEK_MODE_T now_ozone_woek_mode; /*���ڵĹ���ģʽ*/
// OZONE_WOEK_GEARS_T will_be_set_work_gears; /*��Ҫ�Ĺ�����λ*/
// OZONE_WOEK_GEARS_T now_ozone_woek_gears; /*���ڵĹ�����λ*/
// uint32_t ozone_pwm_duty;
// uint32_t ozone_pwm_frequency;
// uint32_t ozone_timing_duty;
// uint32_t ozone_interval_duty;
// } ozone_messages_t;
// void set_ozone_work_mode(OZONE_WOEK_MODE_T mode);
// void set_ozone_work_gears(OZONE_WOEK_GEARS_T gears);
// void ozone_pwm_control_set_pwm_duty(uint32_t frequency, uint32_t duty) ;
// void ozone_pwm_control_set_pwm_output_1(uint32_t pwm_timing_duty);
// void ozone_pwm_control_set_pwm_output_2(uint32_t pwm_timing_duty,
// uint32_t pwm_interval_duty);
// void ozone_pwm_control_stop_pwm(void);
// void try_shutdown(void);
// void stop_ozone_work(void);
// #endif
|