first commit

This commit is contained in:
2023-12-18 14:36:22 +08:00
commit 0f3cf0952c
184 changed files with 91562 additions and 0 deletions

13
Gambal/APP/pwm.h Normal file
View File

@ -0,0 +1,13 @@
#ifndef _PWM_H
#define _PWM_H
#include "system.h"
#define M_Enable GPIO_SetBits(GPIOC,GPIO_Pin_14);
#define M_Disable GPIO_ResetBits(GPIOC,GPIO_Pin_14);
extern uint32_t time1_cntr;
extern uint32_t time2_cntr;
void TIM2_PWM_Init(void);
void TIM4_1ms_Init(void);
#endif