1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
| #include "main.h"
| #include "gpio.h"
| #include "rcc_config.h"
| #include "uart.h"
| #include "tim.h"
| #include "rtc.h"
| #include "exti.h"
| #include "adc.h"
| #include "i2c.h"
| #include "extern_rtc.h"
| #include "spi.h"
| #include "eeprom.h"
| #include "key.h"
| #include "flash.h"
| #include "system_run_fun.h"
|
| FlagStatus key_awaken_flag_g = RESET;
| //uint8_t lcd_only_one_flag = 0;
|
|
| int main(void)
| {
| System_power_on_init();
|
| /*¸÷ÖÖ³õʼ»¯*/
| //Ó²¼þÇý¶¯³õʼ»¯
| hardwareDriversInit();
| //´æ´¢µÄ²ÎÊý³õʼ»¯
| sysStoredParaInit();
| //ÔËÐвÎÊý³õʼ»¯
| sysRunParaInit();
|
| IWDT_Clr();
| while(1)
| {
|
| }
| }
|
|