Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Gesture_Keyboard PAJ7620_Gesture
PAC7620_30Set.h
00001 const uint8_t init_ges7620_register_array[][2] = { 00002 {0xEF,0x00}, 00003 {0x37,0x07}, 00004 {0x38,0x17}, 00005 {0x39,0x06}, 00006 {0x42,0x01}, 00007 {0x46,0x2D}, 00008 {0x47,0x0F}, 00009 {0x48,0x3C}, 00010 {0x49,0x00}, 00011 {0x4A,0x1E}, 00012 {0x4C,0x20}, 00013 {0x51,0x10}, 00014 {0x5E,0x10}, 00015 {0x60,0x27}, 00016 {0x80,0x42}, 00017 {0x81,0x44}, 00018 {0x82,0x04}, 00019 {0x8B,0x01}, 00020 {0x90,0x06}, 00021 //{0x91,0x0A} 00022 {0x95,0x0A}, 00023 {0x96,0x0C}, 00024 {0x97,0x05}, 00025 {0x9A,0x14}, 00026 {0x9C,0x3F}, 00027 {0xA5,0x19}, 00028 {0xCC,0x19}, 00029 {0xCD,0x0B}, 00030 {0xCE,0x13}, 00031 {0xCF,0x64}, 00032 {0xD0,0x21}, 00033 {0xEF,0x01}, 00034 {0x02,0x0F}, 00035 {0x03,0x10}, 00036 {0x04,0x02}, 00037 {0x25,0x01}, 00038 {0x27,0x39}, 00039 {0x28,0x7F}, 00040 {0x29,0x08}, 00041 {0x3E,0xFF}, 00042 {0x5E,0x3D}, 00043 {0x65,0x96}, 00044 {0x67,0x97}, 00045 {0x69,0xCD}, 00046 {0x6A,0x01}, 00047 {0x6D,0x2C}, 00048 {0x6E,0x01}, 00049 {0x72,0x01}, 00050 {0x73,0x35}, 00051 {0x77,0x01}, 00052 {0xEF,0x00}, 00053 }; 00054 00055 #define INIT_Ges7620_REG_ARRAY_SIZE (sizeof(init_ges7620_register_array)/sizeof(init_ges7620_register_array[0])) 00056 00057 const uint8_t init_ges7630_register_array[][2] = { 00058 {0xEF,0x00}, 00059 {0x07,0x01}, 00060 {0x10,0x01}, 00061 {0x11,0x31}, 00062 {0x13,0x07}, 00063 {0x14,0x17}, 00064 {0x15,0x06}, 00065 {0x42,0x01}, 00066 {0x46,0x2D}, 00067 {0x47,0x0F}, 00068 {0x48,0x4B}, 00069 {0x49,0x00}, 00070 {0x4A,0x4B}, 00071 {0x4C,0x12}, 00072 {0x4D,0x14}, 00073 {0x4E,0x30}, 00074 {0x4F,0x50}, 00075 {0x51,0x10}, 00076 {0x54,0x01}, 00077 {0x5F,0xFF}, 00078 {0x61,0x4C}, 00079 {0x80,0xCA}, 00080 {0x81,0xCC}, 00081 {0x85,0x00}, 00082 {0x88,0x05}, 00083 {0x89,0x18}, 00084 {0x8A,0x00}, 00085 {0x8B,0x01}, 00086 {0x90,0x06}, 00087 {0x93,0x0F}, 00088 {0x94,0x0F}, 00089 {0x95,0x0A}, 00090 {0x96,0x0C}, 00091 {0x97,0x05}, 00092 {0x99,0x20}, 00093 {0x9A,0x14}, 00094 {0x9C,0x3F}, 00095 {0xA5,0x11}, 00096 {0xCA,0x64}, 00097 {0xCF,0x01}, 00098 {0xE0,0x01}, 00099 {0xE1,0x04}, 00100 {0xE2,0x1E}, 00101 {0xE3,0xD6}, 00102 {0xE4,0x00}, 00103 {0xE5,0x0C}, 00104 {0xE6,0x0A}, 00105 {0xE7,0x00}, 00106 {0xE8,0x00}, 00107 {0xE9,0x00}, 00108 {0xEF,0x01}, 00109 {0x04,0x03}, 00110 {0x25,0x01}, 00111 {0x26,0x1C}, 00112 {0x27,0x0A}, 00113 {0x28,0x78}, 00114 {0x29,0x07}, 00115 {0x32,0x1C}, 00116 {0x33,0x1C}, 00117 {0x42,0x80}, 00118 {0x44,0x20}, 00119 {0x5E,0x74}, 00120 {0x5F,0x19}, 00121 {0x64,0x0A}, 00122 {0x65,0xA3}, 00123 {0x74,0x09}, 00124 {0x77,0x31}, 00125 {0x7E,0x01}, 00126 {0xEF,0x00}, 00127 }; 00128 00129 #define INIT_Ges7630_REG_ARRAY_SIZE (sizeof(init_ges7630_register_array)/sizeof(init_ges7630_register_array[0])) 00130 00131 //default, 15cm operation distance settings 00132 const uint8_t set1_ges7630_register_array[][2] = { 00133 {0xEF,0x00}, 00134 {0x48,0x4B}, 00135 {0x49,0x00}, 00136 {0x4A,0x4B}, 00137 {0x4B,0x00}, 00138 {0xAA,0x1E}, 00139 {0xAB,0x1E}, 00140 {0xCA,0x63}, 00141 {0xEF,0x01}, 00142 {0x00,0x1D}, 00143 {0x01,0x1D}, 00144 {0x02,0x00}, 00145 {0x03,0x00}, 00146 {0x4A,0x1D}, 00147 {0x4B,0x1D}, 00148 {0x4C,0x00}, 00149 {0x4D,0x00}, 00150 {0xEF,0x00}, 00151 {0x93,0x0F}, 00152 {0x94,0x0F}, 00153 }; 00154 00155 #define SET1_Ges7630_REG_ARRAY_SIZE (sizeof(set1_ges7630_register_array)/sizeof(set1_ges7630_register_array[0])) 00156 00157 //20cm operation distance settings 00158 const uint8_t set2_ges7630_register_array[][2] = { 00159 {0xEF,0x00}, 00160 {0x48,0x6B}, 00161 {0x49,0x00}, 00162 {0x4A,0x6B}, 00163 {0x4B,0x00}, 00164 {0xAA,0x1E}, 00165 {0xAB,0x1E}, 00166 {0xCA,0x63}, 00167 {0xEF,0x01}, 00168 {0x00,0x1D}, 00169 {0x01,0x1D}, 00170 {0x02,0x00}, 00171 {0x03,0x00}, 00172 {0x4A,0x1D}, 00173 {0x4B,0x1D}, 00174 {0x4C,0x00}, 00175 {0x4D,0x00}, 00176 {0xEF,0x00}, 00177 {0x93,0x0F}, 00178 {0x94,0x0F}, 00179 }; 00180 00181 #define SET2_Ges7630_REG_ARRAY_SIZE (sizeof(set2_ges7630_register_array)/sizeof(set2_ges7630_register_array[0])) 00182 00183 //30cm operation distance settings 00184 const uint8_t set3_ges7630_register_array[][2] = { 00185 {0xEF,0x00}, 00186 {0x48,0x00}, 00187 {0x49,0x02}, 00188 {0x4A,0x00}, 00189 {0x4B,0x02}, 00190 {0xAA,0x10}, 00191 {0xAB,0x10}, 00192 {0xCA,0x62}, 00193 {0xEF,0x01}, 00194 {0x00,0x0F}, 00195 {0x01,0x0F}, 00196 {0x02,0x08}, 00197 {0x03,0x08}, 00198 {0x4A,0x0F}, 00199 {0x4B,0x0F}, 00200 {0x4C,0x00}, 00201 {0x4D,0x00}, 00202 {0xEF,0x00}, 00203 {0x93,0x07}, 00204 {0x94,0x07}, 00205 }; 00206 00207 #define SET3_Ges7630_REG_ARRAY_SIZE (sizeof(set3_ges7630_register_array)/sizeof(set3_ges7630_register_array[0]))
Generated on Wed Jul 13 2022 04:52:17 by
