123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- #ifndef _CUSTOMER_IR_Set_H
- #define _CUSTOMER_IR_Set_H
- /* IR set0 Philips RC-5*/
- #define OP_IR_Protocol_reg 0x56a10321 /* 0xbe080004 */
- #define OP_IR_Interrupt_en_reg 0x000f0000 /* 0xbe080008 */
- #define OP_IR_Interrupt_staus 0x00000000 /* 0xbe08000c */
- #define OP_IR_MinSpaceBetweenPacket 0x00550055 /* 0xbe080010 */
- #define OP_IR_Max_Min_Symbol 0x00d50080 /* 0xbe080014 */
- #define OP_IR_Max_Min_Short_Mark 0x006a0040 /* 0xbe080018 */
- #define OP_IR_Max_Min_Short_Space 0x006a0040 /* 0xbe08001c */
- #define OP_IR_Max_Min_Long_Mark 0x00d50082 /* 0xbe080020 */
- #define OP_IR_Max_Min_Head_Mark 0x00000000 /* 0xbe080024 */
- #define OP_IR_Max_Min_Head_Space 0x00000000 /* 0xbe080028 */
- #define OP_IR_REG_2C 0x00000000 /* 0xbe08002c */
- #define OP_IR_Max_Min_Repeat_Space 0x00000000 /* 0xbe080030 */
- #define OP_IR_Extra_Decode_Option 0x00000000 /* 0xbe080034 */
- #define OP_IR_REG_38 0x00000000 /* 0xbe080038 */
- #define OP_IR_WatchDog_Timeout 0x00030000 /* 0xbe08003c (unused now) */
- #define OP_IR_Repeat_Threshold 0x00100102 /* 0xbe080040 */
- #define OP_IR_Packet_Timeout_Threshold 0x16102b20 /* 0xbe080044 */
- #define OP_IR_Key_Press_Counter 0x00000000 /* 0xbe080048 */
- #define OP_IR_Protocol_Type_Option 0x00bb0e24 /* 0xbe08004c */
- #define OP_IR_Internal_Counter 0x00000000 /* 0xbe080050 */
- #define OP_IR_Bit47_to_Bit16 0x00000000 /* 0xbe080054 */
- #define OP_IR_Receiver_Signal 0x00000000 /* 0xbe080058 */
- #define OP_IR_Power_Code_Option 0x00000003 /* 0xbe08005c */
- #define OP_IR_Power_Code_A_Low_Channel 0x00000000 /* 0xbe080060 */
- #define OP_IR_Power_Code_A_High_Channel 0x00000000 /* 0xbe080064 */
- #define OP_IR_Power_Code_B_Low_Channel 0x00000000 /* 0xbe080068 */
- #define OP_IR_Power_Code_B_High_Channel 0x00000000 /* 0xbe08006c */
- #define OP_IR_Power_Code_C_Low_Channel 0x00000000 /* 0xbe080070 */
- #define OP_IR_Power_Code_C_High_Channel 0x00000000 /* 0xbe080074 */
- #define OP_IR_Power_Code_D_Low_Channel 0x00000000 /* 0xbe080078 */
- #define OP_IR_Power_Code_D_High_Channel 0x00000000 /* 0xbe08007c */
- #define OP_IR_Max_Min_Long1_MarkSpace 0x00000000 /* 0xbe080080 */
- #define OP_IR_Max_Min_Long2_MarkSpace 0x00000000 /* 0xbe080084 */
- /*------------- */
- #define OP_IRSET_PHILLIPS \
- { \
- OP_IR_Protocol_reg, \
- OP_IR_Interrupt_en_reg, \
- OP_IR_Interrupt_staus, \
- OP_IR_MinSpaceBetweenPacket, \
- OP_IR_Max_Min_Symbol, \
- OP_IR_Max_Min_Short_Mark, \
- OP_IR_Max_Min_Short_Space, \
- OP_IR_Max_Min_Long_Mark, \
- OP_IR_Max_Min_Head_Mark, \
- OP_IR_Max_Min_Head_Space, \
- OP_IR_REG_2C, \
- OP_IR_Max_Min_Repeat_Space, \
- OP_IR_Extra_Decode_Option, \
- OP_IR_REG_38, \
- OP_IR_WatchDog_Timeout, \
- OP_IR_Repeat_Threshold, \
- OP_IR_Packet_Timeout_Threshold, \
- OP_IR_Key_Press_Counter, \
- OP_IR_Protocol_Type_Option, \
- OP_IR_Internal_Counter, \
- OP_IR_Bit47_to_Bit16, \
- OP_IR_Receiver_Signal, \
- OP_IR_Power_Code_Option, \
- OP_IR_Power_Code_A_Low_Channel, \
- OP_IR_Power_Code_A_High_Channel, \
- OP_IR_Power_Code_B_Low_Channel, \
- OP_IR_Power_Code_B_High_Channel, \
- OP_IR_Power_Code_C_Low_Channel, \
- OP_IR_Power_Code_C_High_Channel, \
- OP_IR_Power_Code_D_Low_Channel, \
- OP_IR_Power_Code_D_High_Channel, \
- OP_IR_Max_Min_Long1_MarkSpace, \
- OP_IR_Max_Min_Long2_MarkSpace, \
- }
- #else
- #define _CUSTOMER_IR2_Set_H
- #define OP_IR2_Protocol_reg 0x56a10321 /* 0xbe080504 */
- #define OP_IR2_Interrupt_en_reg 0x000f0000 /* 0xbe080508 */
- #define OP_IR2_Interrupt_staus 0x00000000 /* 0xbe08050c */
- #define OP_IR2_MinSpaceBetweenPacket 0x00550055 /* 0xbe080510 */
- #define OP_IR2_Max_Min_Symbol 0x00d50080 /* 0xbe080514 */
- #define OP_IR2_Max_Min_Short_Mark 0x006a0040 /* 0xbe080518 */
- #define OP_IR2_Max_Min_Short_Space 0x006a0040 /* 0xbe08051c */
- #define OP_IR2_Max_Min_Long_Mark 0x00d50082 /* 0xbe080520 */
- #define OP_IR2_Max_Min_Head_Mark 0x00000000 /* 0xbe080524 */
- #define OP_IR2_Max_Min_Head_Space 0x00000000 /* 0xbe080528 */
- #define OP_IR2_REG_2C 0x00000000 /* 0xbe08052c */
- #define OP_IR2_Max_Min_Repeat_Space 0x00000000 /* 0xbe080530 */
- #define OP_IR2_Extra_Decode_Option 0x00000000 /* 0xbe080534 */
- #define OP_IR2_REG_38 0x00000000 /* 0xbe080538 */
- #define OP_IR2_WatchDog_Timeout 0x00030000 /* 0xbe08053c (unused now) */
- #define OP_IR2_Repeat_Threshold 0x00100102 /* 0xbe080540 */
- #define OP_IR2_Packet_Timeout_Threshold 0x16102b20 /* 0xbe080544 */
- #define OP_IR2_Key_Press_Counter 0x00000000 /* 0xbe080548 */
- #define OP_IR2_Protocol_Type_Option 0x00bb0e24 /* 0xbe08054c */
- #define OP_IR2_Internal_Counter 0x00000000 /* 0xbe080550 */
- #define OP_IR2_Bit47_to_Bit16 0x00000000 /* 0xbe080554 */
- #define OP_IR2_Receiver_Signal 0x00000000 /* 0xbe080558 */
- #define OP_IR2_Power_Code_Option 0x00000003 /* 0xbe08055c */
- #define OP_IR2_Power_Code_A_Low_Channel 0x00000000 /* 0xbe080560 */
- #define OP_IR2_Power_Code_A_High_Channel 0x00000000 /* 0xbe080564 */
- #define OP_IR2_Power_Code_B_Low_Channel 0x00000000 /* 0xbe080568 */
- #define OP_IR2_Power_Code_B_High_Channel 0x00000000 /* 0xbe08056c */
- #define OP_IR2_Power_Code_C_Low_Channel 0x00000000 /* 0xbe080570 */
- #define OP_IR2_Power_Code_C_High_Channel 0x00000000 /* 0xbe080574 */
- #define OP_IR2_Power_Code_D_Low_Channel 0x00000000 /* 0xbe080578 */
- #define OP_IR2_Power_Code_D_High_Channel 0x00000000 /* 0xbe08057c */
- #define OP_IR2_Max_Min_Long1_MarkSpace 0x00000000 /* 0xbe080580 */
- #define OP_IR2_Max_Min_Long2_MarkSpace 0x00000000 /* 0xbe080584 */
- /*------------- */
- #define OP_IRSET_PHILLIPS \
- { \
- OP_IR2_Protocol_reg, \
- OP_IR2_Interrupt_en_reg, \
- OP_IR2_Interrupt_staus, \
- OP_IR2_MinSpaceBetweenPacket, \
- OP_IR2_Max_Min_Symbol, \
- OP_IR2_Max_Min_Short_Mark, \
- OP_IR2_Max_Min_Short_Space, \
- OP_IR2_Max_Min_Long_Mark, \
- OP_IR2_Max_Min_Head_Mark, \
- OP_IR2_Max_Min_Head_Space, \
- OP_IR2_REG_2C, \
- OP_IR2_Max_Min_Repeat_Space, \
- OP_IR2_Extra_Decode_Option, \
- OP_IR2_REG_38, \
- OP_IR2_WatchDog_Timeout, \
- OP_IR2_Repeat_Threshold, \
- OP_IR2_Packet_Timeout_Threshold, \
- OP_IR2_Key_Press_Counter, \
- OP_IR2_Protocol_Type_Option, \
- OP_IR2_Internal_Counter, \
- OP_IR2_Bit47_to_Bit16, \
- OP_IR2_Receiver_Signal, \
- OP_IR2_Power_Code_Option, \
- OP_IR2_Power_Code_A_Low_Channel, \
- OP_IR2_Power_Code_A_High_Channel, \
- OP_IR2_Power_Code_B_Low_Channel, \
- OP_IR2_Power_Code_B_High_Channel, \
- OP_IR2_Power_Code_C_Low_Channel, \
- OP_IR2_Power_Code_C_High_Channel, \
- OP_IR2_Power_Code_D_Low_Channel, \
- OP_IR2_Power_Code_D_High_Channel, \
- OP_IR2_Max_Min_Long1_MarkSpace, \
- OP_IR2_Max_Min_Long2_MarkSpace, \
- }
- #endif
|