/* ELAVR32 - dependend user-functionality, like setting the time, ...... */ #ifndef ___usr_h #define ___usr_h #include "../../inc/global.h" #define KEY_SUBACK KEY_FUNC0 #define KEY_MENU KEY_FUNC1 #define KEY_NAK KEY_FUNC2 #define KEY_ACK KEY_FUNC3 extern prog_char row_blank[17]; extern prog_char row_sep[17]; extern prog_char row_choose[17]; extern void printDateTime(void); extern int setusrDate(void); extern int setusrTime(void); //for numbers 0..9 top should be 0x30, and bottom 0x39, and start inside this range. //for chars A..Z top should be 0x31, and bottom 0x5a, and start inside this range. //for chars a..z top should be 0x61, and bottom 0x7a, and start inside this range. extern unsigned char usr_choose_nr(unsigned char row, unsigned char pos,unsigned char top, unsigned char bottom, unsigned char start ); #endif