2023-12-15 21:42:43 +08:00
|
|
|
#ifndef _BY_FAN_CONTROL_H_
|
|
|
|
|
#define _BY_FAN_CONTROL_H_
|
|
|
|
|
|
|
|
|
|
#include "stdio.h"
|
|
|
|
|
#include "ch32v30x.h"
|
|
|
|
|
|
|
|
|
|
extern void by_pwm_init(void);
|
2024-01-16 20:03:21 +08:00
|
|
|
void by_pwm_update_duty(uint32_t update_pwm_duty1,uint32_t update_pwm_duty2);
|
|
|
|
|
void by_pwm_power_duty(uint32_t power_pwm_duty_l1, uint32_t power_pwm_duty_r1,uint32_t power_pwm_duty_l2, uint32_t power_pwm_duty_r2);
|
2023-12-15 21:42:43 +08:00
|
|
|
|
|
|
|
|
#endif
|