/********************************************************* *Copyright (C), 2017, Shanghai Eastsoft Microelectronics Co., Ltd *文件名: main.h *作 者: AE Team *版 本: V1.00 *日 期: 2021/05/13 *描 述: *备 注: 本软件仅供学习和演示使用,对用户直接引用代码所带来的风险或后果不承担任何法律责任。 **********************************************************/ #ifndef __MAIN_H__ #define __MAIN_H__ #include "system_ES8P5066.h" #include "lib_config.h" #include "systick.h" #include "light.h" //#include "gpio.h" #include "irqhandler.h" #include "port.h" #include "key.h" #include "uart0.h" #include "timer.h" #include "ozone_work.h" #include "pwm.h" void Uart0Init(void); void Uart0SendBuff(uint8_t *buff); void port_do_debug_light_state(void); void LedInit(void); uint32_t port_haspassedms(uint32_t ticket); void port_do_debug_light_state(void); uint32_t get_sys_ticket(void); void beg_average_value(uint16_t *adc_buff); #endif