第一次提交

This commit is contained in:
2025-09-05 21:09:02 +08:00
commit f0106c0f17
107 changed files with 38950 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
/*
* User_TIM.h
*
* Created on: 2023<32><33>2<EFBFBD><32>13<31><33>
* Author: Administrator
*/
#ifndef USER_INTERFACE_BTM_H_
#define USER_INTERFACE_BTM_H_
#include "debug.h"
//<2F><EFBFBD><EAB6A8>
/* PWM Output Mode Definition */
#define PWM_MODE1 0
#define PWM_MODE2 1
/* PWM Output Mode Selection */
//#define PWM_MODE PWM_MODE1
#define PWM_MODE PWM_MODE1
//<2F>ⲿ<EFBFBD><E2B2BF><EFBFBD><EFBFBD>
extern void TIM9_PWMOut_Init( u16 arr, u16 psc );
extern void TIM10_PWMOut_Init( u16 arr, u16 psc );//1ms
extern void TIM2_Init(void);
extern void TIM3_Init(void);
uint32_t getCurrentTime(void);
#endif /* USER_INTERFACE_BTM_H_ */