You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1001 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. /*********************************************************
  2. *Copyright (C), 2017, Shanghai Eastsoft Microelectronics Co., Ltd
  3. *: main.h
  4. * : AE Team
  5. * : V1.00
  6. * : 2021/05/13
  7. * :
  8. * : 使
  9. **********************************************************/
  10. #ifndef __MAIN_H__
  11. #define __MAIN_H__
  12. #include "system_ES8P5066.h"
  13. #include "lib_config.h"
  14. #include "systick.h"
  15. //#include "light.h"
  16. //#include "gpio.h"
  17. #include "irqhandler.h"
  18. #include "port.h"
  19. #include "key.h"
  20. #include "uart0.h"
  21. #include "timer.h"
  22. #include "ozone_work.h"
  23. void Uart0Init(void);
  24. void Uart0SendBuff(uint8_t *buff);
  25. void port_do_debug_light_state(void);
  26. void LedInit(void);
  27. uint32_t port_haspassedms(uint32_t ticket);
  28. void port_do_debug_light_state(void);
  29. uint32_t get_sys_ticket(void);
  30. void beg_average_value(uint16_t *adc_buff);
  31. #endif