| #ifndef _SP_DISPLAY_H_ |
| #define _SP_DISPLAY_H_ |
| |
| #include "sp_config.h" |
| |
| /******************************************************************************************************* |
| * º¯Êý(Name) : void Show_Error(uint32 errcode) |
| * ¹¦ÄÜ(Function) : ÏÔʾ´íÎó´úÂë |
| * ²ÎÊý(Parameter) : errcode -- ´íÎó´úºÅ |
| * ·µ»Ø(Return) : ÎÞ |
| ********************************************************************************************************/ |
| void glcd_tiny_init(void); |
| |
| /******************************************************************************************************* |
| * º¯Êý(Name) : void Show_Pass(void) |
| * ¹¦ÄÜ(Function) : ÏÔʾPASS |
| * ²ÎÊý(Parameter) : NULL |
| * ·µ»Ø(Return) : ÎÞ |
| ********************************************************************************************************/ |
| void show_set_devno(sp_pos_t* pos, uint8 devno); |
| void show_set_devphyid(sp_pos_t* pos, uint8 devphyid[4]); |
| void show_set_dev_offline_maxhour(sp_pos_t* pos, uint16 maxhour); |
| void show_error(sp_pos_t* pos, const char* hint,uint16 code); |
| void show_home(sp_pos_t* pos); |
| void show_money(sp_pos_t* pos, uint32 money); |
| void show_manage_passwd(sp_pos_t* pos, const char* hint,uint8 passwd[],uint8 len); |
| void show_home_qrcode(char* qrcode_url); |
| |
| void disp_hint_info(sp_pos_t* pos, const char* msg1,uint32 ms); |
| void disp_hint_info_two(sp_pos_t* pos, const char* msg1,const char* msg2,uint32 ms); |
| void disp_hint_info_three(sp_pos_t* pos, const char* msg1,const char* msg2, |
| const char* msg3,uint32 ms); |
| void disp_server_errmsg(sp_pos_t* pos, const char* hint,uint8 data[],uint16 len); |
| |
| |
| #endif |