irset_Sharp2.h 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. #ifndef _CUSTOMER_IR_Set_H
  2. #define _CUSTOMER_IR_Set_H
  3. #define OP_IR_Protocol_reg 0x85820220 /* 0xbe080004 */
  4. #define OP_IR_Interrupt_en_reg 0x00030002 /* 0xbe080008 */
  5. #define OP_IR_Interrupt_staus 0x00000000 /* 0xbe08000c */
  6. #define OP_IR_MinSpaceBetweenPacket 0x00a200a2 /* 0xbe080010 */
  7. #define OP_IR_Max_Min_Symbol 0x01340075 /* 0xbe080014 */
  8. #define OP_IR_Max_Min_Short_Mark 0x0032001e /* 0xbe080018 */
  9. #define OP_IR_Max_Min_Short_Space 0x0032001e /* 0xbe08001c */
  10. #define OP_IR_Max_Min_Long_Mark 0x0096005a /* 0xbe080020 */
  11. #define OP_IR_Max_Min_Head_Mark 0x018f00ef /* 0xbe080024 */
  12. #define OP_IR_Max_Min_Head_Space 0x00c70078 /* 0xbe080028 */
  13. #define OP_IR_REG_2C 0x00000000 /* 0xbe08002c */
  14. #define OP_IR_Max_Min_Repeat_Space 0x00000000 /* 0xbe080030 */
  15. #define OP_IR_Extra_Decode_Option 0x00000000 /* 0xbe080034 */
  16. #define OP_IR_REG_38 0x00000000 /* 0xbe080038 */
  17. #define OP_IR_WatchDog_Timeout 0x00300000 /* 0xbe08003c (unused now) */
  18. #define OP_IR_Repeat_Threshold 0x00020304 /* 0xbe080040 */
  19. #define OP_IR_Packet_Timeout_Threshold 0x01001c76 /* 0xbe080044 */
  20. #define OP_IR_Key_Press_Counter 0x00000000 /* 0xbe080048 */
  21. #define OP_IR_Protocol_Type_Option 0x00bf3021 /* 0xbe08004c */
  22. #define OP_IR_Internal_Counter 0x00000000 /* 0xbe080050 */
  23. #define OP_IR_Bit47_to_Bit16 0x00000000 /* 0xbe080054 */
  24. #define OP_IR_Receiver_Signal 0x00000000 /* 0xbe080058 */
  25. #define OP_IR_Power_Code_Option 0x00000000 /* 0xbe08005c */
  26. #define OP_IR_Power_Code_A_Low_Channel 0x00000000 /* 0xbe080060 */
  27. #define OP_IR_Power_Code_A_High_Channel 0x00000000 /* 0xbe080064 */
  28. #define OP_IR_Power_Code_B_Low_Channel 0x00000000 /* 0xbe080068 */
  29. #define OP_IR_Power_Code_B_High_Channel 0x00000000 /* 0xbe08006c */
  30. #define OP_IR_Power_Code_C_Low_Channel 0x00000000 /* 0xbe080070 */
  31. #define OP_IR_Power_Code_C_High_Channel 0x00000000 /* 0xbe080074 */
  32. #define OP_IR_Power_Code_D_Low_Channel 0x00000000 /* 0xbe080078 */
  33. #define OP_IR_Power_Code_D_High_Channel 0x00000000 /* 0xbe08007c */
  34. #define OP_IR_Max_Min_Long1_MarkSpace 0x00000000 /* 0xbe080080 */
  35. #define OP_IR_Max_Min_Long2_MarkSpace 0x00000000 /* 0xbe080084 */
  36. /*------------- */
  37. #define OP_IRSET_SHARP2 \
  38. { \
  39. OP_IR_Protocol_reg, \
  40. OP_IR_Interrupt_en_reg, \
  41. OP_IR_Interrupt_staus, \
  42. OP_IR_MinSpaceBetweenPacket, \
  43. OP_IR_Max_Min_Symbol, \
  44. OP_IR_Max_Min_Short_Mark, \
  45. OP_IR_Max_Min_Short_Space, \
  46. OP_IR_Max_Min_Long_Mark, \
  47. OP_IR_Max_Min_Head_Mark, \
  48. OP_IR_Max_Min_Head_Space, \
  49. OP_IR_REG_2C, \
  50. OP_IR_Max_Min_Repeat_Space, \
  51. OP_IR_Extra_Decode_Option, \
  52. OP_IR_REG_38, \
  53. OP_IR_WatchDog_Timeout, \
  54. OP_IR_Repeat_Threshold, \
  55. OP_IR_Packet_Timeout_Threshold, \
  56. OP_IR_Key_Press_Counter, \
  57. OP_IR_Protocol_Type_Option, \
  58. OP_IR_Internal_Counter, \
  59. OP_IR_Bit47_to_Bit16, \
  60. OP_IR_Receiver_Signal, \
  61. OP_IR_Power_Code_Option, \
  62. OP_IR_Power_Code_A_Low_Channel, \
  63. OP_IR_Power_Code_A_High_Channel, \
  64. OP_IR_Power_Code_B_Low_Channel, \
  65. OP_IR_Power_Code_B_High_Channel, \
  66. OP_IR_Power_Code_C_Low_Channel, \
  67. OP_IR_Power_Code_C_High_Channel, \
  68. OP_IR_Power_Code_D_Low_Channel, \
  69. OP_IR_Power_Code_D_High_Channel, \
  70. OP_IR_Max_Min_Long1_MarkSpace, \
  71. OP_IR_Max_Min_Long2_MarkSpace, \
  72. }
  73. #else
  74. #define _CUSTOMER_IR2_Set_H
  75. #define OP_IR2_Protocol_reg 0x85820220 /* 0xbe080504 */
  76. #define OP_IR2_Interrupt_en_reg 0x85820320 /* 0xbe080508 */
  77. #define OP_IR2_Interrupt_staus 0x00000000 /* 0xbe08050c */
  78. #define OP_IR2_MinSpaceBetweenPacket 0x00a200a2 /* 0xbe080510 */
  79. #define OP_IR2_Max_Min_Symbol 0x01340075 /* 0xbe080514 */
  80. #define OP_IR2_Max_Min_Short_Mark 0x0032001e /* 0xbe080518 */
  81. #define OP_IR2_Max_Min_Short_Space 0x0032001e /* 0xbe08051c */
  82. #define OP_IR2_Max_Min_Long_Mark 0x0096005a /* 0xbe080520 */
  83. #define OP_IR2_Max_Min_Head_Mark 0x018f00ef /* 0xbe080524 */
  84. #define OP_IR2_Max_Min_Head_Space 0x00c70078 /* 0xbe080528 */
  85. #define OP_IR2_REG_2C 0x00000000 /* 0xbe08052c */
  86. #define OP_IR2_Max_Min_Repeat_Space 0x00000000 /* 0xbe080530 */
  87. #define OP_IR2_Extra_Decode_Option 0x00000000 /* 0xbe080534 */
  88. #define OP_IR2_REG_38 0x00000000 /* 0xbe080538 */
  89. #define OP_IR2_WatchDog_Timeout 0x00300000 /* 0xbe08053c (unused now) */
  90. #define OP_IR2_Repeat_Threshold 0x00020304 /* 0xbe080540 */
  91. #define OP_IR2_Packet_Timeout_Threshold 0x01001c76 /* 0xbe080544 */
  92. #define OP_IR2_Key_Press_Counter 0x00000000 /* 0xbe080548 */
  93. #define OP_IR2_Protocol_Type_Option 0x00bf3021 /* 0xbe08054c */
  94. #define OP_IR2_Internal_Counter 0x00000000 /* 0xbe080550 */
  95. #define OP_IR2_Bit47_to_Bit16 0x00000000 /* 0xbe080554 */
  96. #define OP_IR2_Receiver_Signal 0x00000000 /* 0xbe080558 */
  97. #define OP_IR2_Power_Code_Option 0x00000000 /* 0xbe08055c */
  98. #define OP_IR2_Power_Code_A_Low_Channel 0x00000000 /* 0xbe080560 */
  99. #define OP_IR2_Power_Code_A_High_Channel 0x00000000 /* 0xbe080564 */
  100. #define OP_IR2_Power_Code_B_Low_Channel 0x00000000 /* 0xbe080568 */
  101. #define OP_IR2_Power_Code_B_High_Channel 0x00000000 /* 0xbe08056c */
  102. #define OP_IR2_Power_Code_C_Low_Channel 0x00000000 /* 0xbe080570 */
  103. #define OP_IR2_Power_Code_C_High_Channel 0x00000000 /* 0xbe080574 */
  104. #define OP_IR2_Power_Code_D_Low_Channel 0x00000000 /* 0xbe080578 */
  105. #define OP_IR2_Power_Code_D_High_Channel 0x00000000 /* 0xbe08057c */
  106. #define OP_IR2_Max_Min_Long1_MarkSpace 0x00000000 /* 0xbe080580 */
  107. #define OP_IR2_Max_Min_Long2_MarkSpace 0x00000000 /* 0xbe080584 */
  108. /*------------- */
  109. #define OP_IRSET_SHARP2 \
  110. { \
  111. OP_IR2_Protocol_reg, \
  112. OP_IR2_Interrupt_en_reg, \
  113. OP_IR2_Interrupt_staus, \
  114. OP_IR2_MinSpaceBetweenPacket, \
  115. OP_IR2_Max_Min_Symbol, \
  116. OP_IR2_Max_Min_Short_Mark, \
  117. OP_IR2_Max_Min_Short_Space, \
  118. OP_IR2_Max_Min_Long_Mark, \
  119. OP_IR2_Max_Min_Head_Mark, \
  120. OP_IR2_Max_Min_Head_Space, \
  121. OP_IR2_REG_2C, \
  122. OP_IR2_Max_Min_Repeat_Space, \
  123. OP_IR2_Extra_Decode_Option, \
  124. OP_IR2_REG_38, \
  125. OP_IR2_WatchDog_Timeout, \
  126. OP_IR2_Repeat_Threshold, \
  127. OP_IR2_Packet_Timeout_Threshold, \
  128. OP_IR2_Key_Press_Counter, \
  129. OP_IR2_Protocol_Type_Option, \
  130. OP_IR2_Internal_Counter, \
  131. OP_IR2_Bit47_to_Bit16, \
  132. OP_IR2_Receiver_Signal, \
  133. OP_IR2_Power_Code_Option, \
  134. OP_IR2_Power_Code_A_Low_Channel, \
  135. OP_IR2_Power_Code_A_High_Channel, \
  136. OP_IR2_Power_Code_B_Low_Channel, \
  137. OP_IR2_Power_Code_B_High_Channel, \
  138. OP_IR2_Power_Code_C_Low_Channel, \
  139. OP_IR2_Power_Code_C_High_Channel, \
  140. OP_IR2_Power_Code_D_Low_Channel, \
  141. OP_IR2_Power_Code_D_High_Channel, \
  142. OP_IR2_Max_Min_Long1_MarkSpace, \
  143. OP_IR2_Max_Min_Long2_MarkSpace, \
  144. }
  145. #endif