#ifndef TARGET_IS_BLIZZARD_RB1 #define TARGET_IS_BLIZZARD_RB1 #endif
#include"stdint.h" #include"stdbool.h"
#include"LCDDriver.h" #include"LCDDriver.c" #include"inc/hw_memmap.h" #include "driverlib/rom.h" #include "driverlib/rom.h" #include"inc/hw_ints.h"
#include "driverlib/interrupt.h" #include "inc/hw_gpio.h" #include "MenuFrame.h" #include "math.h" #include "MenuFrame.c" #include"TestConfig.c"
#define PERIOD_TIME 12500 / 20 #define ADC_BASE ADC0_BASE // 使用ADC0 #define SequenceNum 3 // 使用序列3 void Init_LCD_Show() { // 使能LCD LCD_Enable();
// 初始化LCD LCD_Init();
// 初始化LCD屏做清屏工作 LCD_ScreenClr();
} int main(void){ {
Init_LCD_Show(); Init_Test_DCDC_Boost(); } while(1) {
unsigned long ADC_ValueGet(uint32_t ui32Base, uint32_t ui32SequenceNum); Handler_ADCWheel(); Handler_Test_DCDC_Boost();
Refresh_LCDView();
} }