| | |
| | | #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; |
| | | #include "project_test.h" |
| | | |
| | | |
| | | int main(void) |
| | | { |
| | | System_power_on_init(); |
| | | |
| | | /*¸÷ÖÖ³õʼ»¯*/ |
| | | //Ó²¼þÇý¶¯³õʼ»¯ |
| | | hardwareDriversInit(); |
| | | //´æ´¢µÄ²ÎÊý³õʼ»¯ |
| | | sysStoredParaInit(); |
| | | //ÔËÐвÎÊý³õʼ»¯ |
| | | sysRunParaInit(); |
| | | |
| | | IWDT_Clr(); |
| | | while(1) |
| | | { |
| | | |
| | | } |
| | | System_power_on_init(); |
| | | All_GPIO_Init_test(); |
| | | UART_Init_test(); |
| | | ALL_ADC_Init_Test(); |
| | | Iic_Init_Test(); |
| | | // ALL_GPIO_EXTI_test(); |
| | | #if Debug_Model |
| | | AppNvr_Print(); |
| | | project_test_9();// ʱÖÓ¾«¶È²âÁ¿ |
| | | project_test_7(); // Òº¾§ÏÔʾ |
| | | #endif |
| | | while (1) |
| | | { |
| | | Project_Test(); |
| | | } |
| | | } |
| | | |
| | | |
| | | |