2024-07-11 06:58:55 +00:00
|
|
|
|
/*
|
|
|
|
|
* tim.h
|
|
|
|
|
*
|
|
|
|
|
* Created on: 2024<EFBFBD><EFBFBD>6<EFBFBD><EFBFBD>22<EFBFBD><EFBFBD>
|
|
|
|
|
* Author: psx
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef HARDWARE_INC_TIM_H_
|
|
|
|
|
#define HARDWARE_INC_TIM_H_
|
|
|
|
|
|
|
|
|
|
#include "debug.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-24 08:57:38 +00:00
|
|
|
|
extern uint8_t run_Broadcast;
|
2024-07-11 06:58:55 +00:00
|
|
|
|
|
|
|
|
|
void TIM3_Init(void);
|
|
|
|
|
void TIM3_Int_Init(uint16_t arr,uint16_t psc);
|
|
|
|
|
|
2024-07-24 08:57:38 +00:00
|
|
|
|
void TIM2_Init(void);
|
|
|
|
|
void TIM2_Int_Init(uint16_t arr,uint16_t psc);
|
2024-07-11 06:58:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* HARDWARE_INC_TIM_H_ */
|