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 _pwm_module_H_
#define _pwm_module_H_
#include "lib_config.h"
#include "light.h"
#include "port.h"
#include "system_ES8P5066.h"
typedef struct { uint32_t s_hardware_frequency; // ��λKhz���������ڵ�PWMƵ��
uint32_t s_hardware_duty; // �������ڵ�PWMռ�ձ�
uint32_t s_large_period; // ��λms���������ڵĶ�ʱ����
uint32_t s_large_duty; // �������ڵĶ�ʱռ�ձ�
} pwm_message_t;
typedef struct { uint32_t hardware_frequency; // ��λKhz�������ػ�ǰ��PWMƵ��
uint32_t hardware_duty; // �����ػ�ǰ��PWMռ�ձ�
uint32_t large_period; // ��λms�������ػ�ǰ�Ķ�ʱ����
uint32_t large_duty; // �����ػ�ǰ�Ķ�ʱռ�ձ�
} shutdown_before_message_t;
void t16_pa4_init(void); void set_pwm_modbul_freq_duty(uint32_t frequency, uint32_t duty); #endif
|