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-08-23 08:50:34 +00:00
|
|
|
|
void TIM3_Init(uint16_t delay_ms);
|
2024-07-11 06:58:55 +00:00
|
|
|
|
void TIM3_Int_Init(uint16_t arr,uint16_t psc);
|
|
|
|
|
|
2024-08-29 02:50:22 +00:00
|
|
|
|
void TIM2_Init(uint16_t delay_ms);
|
2024-07-24 08:57:38 +00:00
|
|
|
|
void TIM2_Int_Init(uint16_t arr,uint16_t psc);
|
2024-07-11 06:58:55 +00:00
|
|
|
|
|
2024-08-23 08:50:34 +00:00
|
|
|
|
void Systick_Init(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void TIM1_Init(uint16_t delay_ms);
|
|
|
|
|
void TIM1_Int_Init(uint16_t arr,uint16_t psc);
|
2024-07-11 06:58:55 +00:00
|
|
|
|
|
|
|
|
|
#endif /* HARDWARE_INC_TIM_H_ */
|