2024-12-07 09:52:46 +00:00
|
|
|
|
|
|
|
#include "Init.h"
|
|
|
|
#include "capture.h"
|
|
|
|
#include "FM_GPIO.h"
|
|
|
|
#include "inFlash.h"
|
|
|
|
#include "parameter.h"
|
|
|
|
#include "FM_GPIO.h"
|
|
|
|
#include "FM_TIM.h"
|
|
|
|
|
2024-12-09 09:53:43 +00:00
|
|
|
extern int getMPPT_Mode(void);
|
|
|
|
|
2024-12-07 09:52:46 +00:00
|
|
|
void Init(void)
|
|
|
|
{
|
|
|
|
config_info_start();
|
|
|
|
ADC_Capture_Init();
|
|
|
|
proportionalInt(getMPPT_Mode());
|
|
|
|
|
|
|
|
FM_GPIO_Init();
|
|
|
|
tim_Init();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|