firmware/io_cfg.h
changeset 25 96f051df5d60
parent 23 dc247e80ef26
equal deleted inserted replaced
24:8fede80bde19 25:96f051df5d60
   106 #define CMD_SYNC_SEND	0xAA
   106 #define CMD_SYNC_SEND	0xAA
   107 #define CMD_SYNC_RECV	0x55
   107 #define CMD_SYNC_RECV	0x55
   108 
   108 
   109 // commands
   109 // commands
   110 #define CMD_SYS_SYNC	0x00
   110 #define CMD_SYS_SYNC	0x00
   111 #define CMD_SYS_ACK		0x01
   111 #define CMD_SYS_ACK		0x01		
   112 #define CMD_SYS_NACK	0x02
   112 #define CMD_SYS_NACK	0x02
   113 #define CMD_SYS_NIMP	0xFF
   113 #define CMD_SYS_NIMP	0xFF
   114 #define CMD_SYS_IR		0x10
   114 #define CMD_SYS_IR		0x10
   115 
   115 
   116 #define CMD_GET_VERSION				0x01
   116 #define CMD_GET_VERSION				0x01
   147 #define RC5_KEY_POWER				0x0C
   147 #define RC5_KEY_POWER				0x0C
   148 
   148 
   149 #define RC5_FRONT_ADDRESS			0x20
   149 #define RC5_FRONT_ADDRESS			0x20
   150 
   150 
   151 
   151 
       
   152 /** E E P R O M   L O C A T I O N S *********************************/
       
   153 #define EE_ADDR_DISPLAY				0x00
       
   154 #define EE_ADDR_FEATURES			0x01
       
   155 
       
   156 #define EE_ADDR_RC5KEY00			0x10
       
   157 #define EE_ADDR_RC5KEY01			0x11
       
   158 #define EE_ADDR_RC5KEY02			0x12
       
   159 #define EE_ADDR_RC5KEY03			0x13
       
   160 #define EE_ADDR_RC5KEY04			0x14
       
   161 #define EE_ADDR_RC5KEY05			0x15
       
   162 #define EE_ADDR_RC5KEY06			0x16
       
   163 #define EE_ADDR_RC5KEY07			0x17
       
   164 #define EE_ADDR_RC5KEY08			0x18
       
   165 #define EE_ADDR_RC5KEY09 			0x19
       
   166 #define EE_ADDR_RC5KEY10			0x1a
       
   167 #define EE_ADDR_RC5KEY11			0x1b
       
   168 #define EE_ADDR_RC5KEY12			0x1c
       
   169 #define EE_ADDR_RC5KEY13			0x1d
       
   170 #define EE_ADDR_RC5KEY14			0x1e
       
   171 #define EE_ADDR_RC5KEY15			0x1f
       
   172 
   152 
   173 
   153 /** P R O G R A M   L O C A T I O N *********************************/
   174 /** P R O G R A M   L O C A T I O N *********************************/
   154 #define BOOTLOAD_START		0x000686		// taken from bootload.asm
   175 #define BOOTLOAD_START		0x000686		// taken from bootload.asm
   155 
   176 
   156 #endif //IO_CFG_H
   177 #endif //IO_CFG_H