mppt/Hardware/inc/tim.h

29 lines
553 B
C
Raw Normal View History

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"
#include "math.h"
2024-07-11 06:58:55 +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);
extern float_t totalElectricityConsumption;
extern float_t totalChargCapacity;
2024-08-29 02:50:22 +00:00
void TIM2_Init(uint16_t delay_ms);
void TIM2_Int_Init(uint16_t arr,uint16_t psc);
2024-07-11 06:58:55 +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_ */