第一次提交
This commit is contained in:
33
ETH/UdpServer/User/interface_btm.h
Normal file
33
ETH/UdpServer/User/interface_btm.h
Normal 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_ */
|
||||
Reference in New Issue
Block a user