zongqiang.zhang | 0c6a088 | 2019-08-07 14:48:21 +0800 | [diff] [blame] | 1 | #ifndef _SP_DISPLAY_H_ |
| 2 | #define _SP_DISPLAY_H_ |
| 3 | |
| 4 | #include "sp_config.h" |
| 5 | |
| 6 | /******************************************************************************************************* |
| 7 | * º¯Êý(Name) : void Show_Error(uint32 errcode) |
| 8 | * ¹¦ÄÜ(Function) : ÏÔʾ´íÎó´úÂë |
| 9 | * ²ÎÊý(Parameter) : errcode -- ´íÎó´úºÅ |
| 10 | * ·µ»Ø(Return) : ÎÞ |
| 11 | ********************************************************************************************************/ |
| 12 | void glcd_tiny_init(void); |
| 13 | |
| 14 | /******************************************************************************************************* |
| 15 | * º¯Êý(Name) : void Show_Pass(void) |
| 16 | * ¹¦ÄÜ(Function) : ÏÔʾPASS |
| 17 | * ²ÎÊý(Parameter) : NULL |
| 18 | * ·µ»Ø(Return) : ÎÞ |
| 19 | ********************************************************************************************************/ |
| 20 | void show_set_devno(sp_pos_t* pos, uint8 devno); |
| 21 | void show_set_devphyid(sp_pos_t* pos, uint8 devphyid[4]); |
| 22 | void show_set_dev_offline_maxhour(sp_pos_t* pos, uint16 maxhour); |
| 23 | void show_error(sp_pos_t* pos, const char* hint,uint16 code); |
| 24 | void show_home(sp_pos_t* pos); |
| 25 | void show_money(sp_pos_t* pos, uint32 money); |
| 26 | void show_manage_passwd(sp_pos_t* pos, const char* hint,uint8 passwd[],uint8 len); |
| 27 | void show_home_qrcode(char* qrcode_url); |
| 28 | |
| 29 | void disp_hint_info(sp_pos_t* pos, const char* msg1,uint32 ms); |
| 30 | void disp_hint_info_two(sp_pos_t* pos, const char* msg1,const char* msg2,uint32 ms); |
| 31 | void disp_hint_info_three(sp_pos_t* pos, const char* msg1,const char* msg2, |
| 32 | const char* msg3,uint32 ms); |
| 33 | void disp_server_errmsg(sp_pos_t* pos, const char* hint,uint8 data[],uint16 len); |
| 34 | |
| 35 | |
| 36 | #endif |