firmware/io_cfg.h
changeset 25 96f051df5d60
parent 23 dc247e80ef26
     1.1 --- a/firmware/io_cfg.h	Fri Jun 27 18:09:13 2008 +0200
     1.2 +++ b/firmware/io_cfg.h	Sat Jul 26 14:22:38 2008 +0200
     1.3 @@ -108,7 +108,7 @@
     1.4  
     1.5  // commands
     1.6  #define CMD_SYS_SYNC	0x00
     1.7 -#define CMD_SYS_ACK		0x01
     1.8 +#define CMD_SYS_ACK		0x01		
     1.9  #define CMD_SYS_NACK	0x02
    1.10  #define CMD_SYS_NIMP	0xFF
    1.11  #define CMD_SYS_IR		0x10
    1.12 @@ -149,6 +149,27 @@
    1.13  #define RC5_FRONT_ADDRESS			0x20
    1.14  
    1.15  
    1.16 +/** E E P R O M   L O C A T I O N S *********************************/
    1.17 +#define EE_ADDR_DISPLAY				0x00
    1.18 +#define EE_ADDR_FEATURES			0x01
    1.19 +
    1.20 +#define EE_ADDR_RC5KEY00			0x10
    1.21 +#define EE_ADDR_RC5KEY01			0x11
    1.22 +#define EE_ADDR_RC5KEY02			0x12
    1.23 +#define EE_ADDR_RC5KEY03			0x13
    1.24 +#define EE_ADDR_RC5KEY04			0x14
    1.25 +#define EE_ADDR_RC5KEY05			0x15
    1.26 +#define EE_ADDR_RC5KEY06			0x16
    1.27 +#define EE_ADDR_RC5KEY07			0x17
    1.28 +#define EE_ADDR_RC5KEY08			0x18
    1.29 +#define EE_ADDR_RC5KEY09 			0x19
    1.30 +#define EE_ADDR_RC5KEY10			0x1a
    1.31 +#define EE_ADDR_RC5KEY11			0x1b
    1.32 +#define EE_ADDR_RC5KEY12			0x1c
    1.33 +#define EE_ADDR_RC5KEY13			0x1d
    1.34 +#define EE_ADDR_RC5KEY14			0x1e
    1.35 +#define EE_ADDR_RC5KEY15			0x1f
    1.36 +
    1.37  
    1.38  /** P R O G R A M   L O C A T I O N *********************************/
    1.39  #define BOOTLOAD_START		0x000686		// taken from bootload.asm