2024-01-30 03:31:27 +00:00
|
|
|
|
#ifndef __TIM_Pwm__
|
|
|
|
|
|
|
|
|
|
#include "de_dev.h"
|
|
|
|
|
#include "KC.h"
|
|
|
|
|
#include "led.h"
|
|
|
|
|
#include "stm32f10x_iwdg.h"
|
|
|
|
|
#include "sd.h"
|
|
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
#include "de_dev.h"
|
|
|
|
|
#include "de_demo.h"
|
|
|
|
|
#include "sys.h"
|
|
|
|
|
#include "usart.h"
|
|
|
|
|
#include "led.h"
|
|
|
|
|
#include "can.h"
|
|
|
|
|
#include "string.h"
|
|
|
|
|
#include "adc.h"
|
|
|
|
|
#include "dc300.h"
|
|
|
|
|
|
|
|
|
|
struct TIM_Get_PWM
|
|
|
|
|
{
|
|
|
|
|
uint16_t GPIO_NUM;//gpio<69>ı<EFBFBD><C4B1><EFBFBD>
|
|
|
|
|
GPIO_TypeDef* GPIO_Group;//gpio<69><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
void Init_Tim_PWM(void);
|
|
|
|
|
void Printf_Frequency(void);
|
|
|
|
|
void Printf_DutyCycle(void);
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|