lcd_disp.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef __LCD_DISP_H__
  2. #define __LCD_DISP_H__
  3. #include "stdint.h"
  4. #ifdef __cplusplus
  5. extern "C"
  6. {
  7. #endif
  8. typedef enum en_lcd_page
  9. {
  10. disp_cumflow = 0,
  11. disp_bw_cumflow,
  12. // disp_instant_flow, //add by HBR 20260603
  13. disp_dev_id1,
  14. disp_dev_id2,
  15. disp_temp,
  16. // disp_pressure,// small meter no pressure wxl026-5-7
  17. disp_bat,
  18. disp_date,
  19. disp_time,
  20. disp_imei1,
  21. disp_imei2,
  22. // disp_imei3, //10 disp unit 2line can disp 15numb imei wxl026-5-7
  23. disp_ccid1,
  24. disp_ccid2,
  25. disp_ccid3,
  26. disp_pipe_dn,
  27. disp_ver,
  28. disp_end
  29. } en_lcd_page_t;
  30. extern uint8_t cumulative_flow_display_update_flag; //add by HBR 20260604
  31. typedef void (*lcd_page_func)(void);
  32. extern void lcd_set_timer(uint16_t len);
  33. extern void lcd_enter_check_mode(void); //add by HBR 20260622
  34. extern void lcd_page_switch(void);
  35. extern void LcdHandler(void);
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39. #endif