You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
11 KiB

#define CSPL_IN_LEFT 1
#define CSPL_IN_RIGHT 2
#define CSPL_OUT_RIGHT 4
#define CSPL_OUT_LEFT 3
#define CSPL_TEMPERATURE_RIGHT 120
#define CSPL_CAL_STATUS_RIGHT 908
#define CSPL_CAL_CHECKSUM_LEFT 903
#define CSPL_CAL_STATUS_LEFT 902
#define CSPL_CAL_Z_RIGHT 906
#define CSPL_TEMPERATURE_LEFT 119
#define CSPL_EXCURSION_MODEL_RIGHT 122
#define CSPL_CAL_Z_LEFT 900
#define CSPL_CAL_AMBIENT_TEMPERATURE_LEFT 901
#define CSPL_CAL_CHECKSUM_RIGHT 909
#define CSPL_EXCURSION_MODEL_LEFT 121
#define CSPL_CAL_AMBIENT_TEMPERATURE_RIGHT 907
#define CSPL_CAL_SET_STATUS_FULL_RIGHT 910
#define CSPL_CAL_SET_STATUS_HP_LEFT 905
#define CSPL_CAL_SET_STATUS_HP_RIGHT 911
#define CSPL_CAL_SET_STATUS_FULL_LEFT 904
#define CSPL_CONFIG_RX 1075, 4, 768, 1234, 17320, 768, 5679, 16, 9875, 48000, 48, 8, 4, 1, 4, 2, 4, 3, 4, 4, 4, 0, 48, 0, 48, 0, 48, 0, 48, 16, 16, 902, 120, 906, 119, 900, 908, 901, 122, 121, 909, 907, 903, 905, 904, 911, 910, 100, 53, 1, 4, 53, 1, 5, 53, 0, 5, 1, 4, 4, 53, 0, 5, 1, 5, 5, 1, 5, 5, 1, 5, 5, 3, 5, 5, -2119657205, 2092542729, 2119835196, -2119835196, 2119835196, 3, 5, 5, -2119657205, 2092542729, 2119835196, -2119835196, 2119835196, 3, 5, 5, -2028333824, 1921728022, 2031469829, -2031469829, 2031469829, 3, 5, 5, -2037000325, 1943679728, 2045581688, -2037000325, 2045581688, 3, 5, 5, -2111035207, 2079021717, 2113252682, -2111035207, 2113252682, 3, 5, 5, 0, 0, 2147483647, 0, 0, 3, 5, 5, 0, 0, 2147483647, 0, 0, 7, 5, 5, 1073741824, 0, 3, 5, 6, 1373994854, 1025621547, 106278871, -106278871, 106278871, 3, 6, 6, 1373994854, 1025621547, 106278871, -106278871, 106278871, 3, 5, 5, 1373994854, 1025621547, 1480273725, 1480273725, 1480273725, 3, 5, 5, 1373994854, 1025621547, 1480273725, 1480273725, 1480273725, 3, 5, 7, -1831322671, 1596987371, 20456418, 20456418, 20456418, 3, 7, 7, -1831322671, 1596987371, 20456418, 20456418, 20456418, 3, 5, 5, -1831322671, 1596987371, 1851779090, -1851779090, 1851779090, 3, 5, 5, -1831322671, 1596987371, 1851779090, -1851779090, 1851779090, 18, 5, 5, 128, 134217728, -40937556, -46891406, 27494328, 96081171, -978360, -49713780, -16008094, 45763321, -19069140, -15112536, 7250345, 32294573, -38237403, -9849328, 11578299, 33255467, -25347701, -1929414, -3372557, 18343825, -11635151, 10660808, -9372381, 5285056, -8971193, 13625324, -10207774, 3240525, -7104780, 11297808, -10210094, 2504719, -6699694, 10342977, -8843683, 2257075, -6991247, 8241562, -7018829, 2836259, -5545669, 7075603, -6137906, 2301011, -3380012, 6515857, -5167679, 2373416, -2156348, 4639811, -4191250, 2777844, -1238903, 2774341, -3349884, 2763070, -1277152, 1492871, -2429281, 2367039, -1177030, 583171, -1691005, 2046791, -1147287, 549742, -1252174, 1522755, -986424, 652345, -602213, 995489, -860103, 537041, -359769, 650879, -615294, 395890, -332497, 377714, -398719, 317705, -260284, 210014, -288074, 213729, -163979, 131934, -193017, 137700, -89282, 71139, -122094, 96374, -35777, 26143, -65183, 69950, -11047, 1957, -22590, 44162, -10259, -10308, 4199, 23661, -10282, -14033, 13080, 3377, -7084, -10058, 16083, -8107, -2076, -6697, 15324, -12851, 4522, -5084, 12788, -12882, 8432, -4971, 10343, -11204, 9283, 4, 5, 7, 5, 4, 5, 6, 5, 1, 5, 5, 1, 5, 5, 11, 5, 6, 8, 4, 6001, 6002, 6003, 6004, 0, 4, -2068579266, -2068579266, -2068579266, -2068579266, 4, 1998199733, 1998199733, 1998199733, 1998199733, 4, 1981031, 1981031, 1981031, 1981031, 4, 1981031, 1981031, 1981031, 1981031, 4, 1981031, 1981031, 1981031, 1981031, 11, 6, 6, 8, 4, 6001, 6002, 6003, 6004, 0, 4, -2091490476, -2091490476, -2091490476, -2091490476, 4, 2038343940, 2038343940, 2038343940, 2038343940, 4, 2141402859, 2141402859, 2141402859, 2141402859, 4, -2091636844, -2091636844, -2091636844, -2091636844, 4, 2044131992, 2044131992, 2044131992, 2044131992, 22, 5, 5, 144, 41, 6, 6, 7, 16, 27, 7, 6, 144, 267, 2146747946, 40, 6, 6, 23867388, 18, 6, 6, 17, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 22, 5, 5, 16, 39, 5, 6, 6, 1, 5, 5, 3, 5, 5, -1792293227, 1538959524, 1817757406, -1817757406, 1817757406, 3, 5, 5, -1792293227, 1538959524, 1817757406, -1817757406, 1817757406, 37, 5, 5, 3, 4, 6, 0, 11, 12, 80, 100, 10682, 23, 4219805, 536870912, 536870912, 1073577011, 1073752125, 2559575, 3, 6, 6, -1792293227, 1538959524, 25464179, 25464179, 25464179, 3, 6, 6, -1792293227, 1538959524, 25464179, 25464179, 25464179, 4, 5, 6, 5, 37, 5, 5, 3, 4, 6, 0, 11, 13, 80, 100, 10682, 23, 4219805, 134217728, 201326592, 1073731522, 1073746974, 2559575, 25, 5, 6, 48, 2386766, 499999, 4800, 3, 6, 6, -2133569855, 2119835204, 44785, 44785, 44785, 1, 6, 7, 4, 5, 6, 6, 1, 5, 5, 4, 7, 5, 5, 52, 5, 2, 1, 4, 4, 1, 4, 4, 3, 4, 4, -2119657205, 2092542729, 2119835196, -2119835196, 2119835196, 3, 4, 4, -2119657205, 2092542729, 2119835196, -2119835196, 2119835196, 3, 4, 4, -1146322345, 1013459261, 1171657068, -366534877, 429710904, 3, 4, 4, -2102401069, 2059172818, 581441336, -557764037, 535941067, 3, 4, 4, -2023273766, 1901444819, 2147483647, -1979949407, 1814745118, 3, 4, 4, -2067110613, 2005998600, 2076741124, -2067110613, 2076741124, 3, 4, 4, -2048164275, 1957634275, 2050361618, -2050361618, 2050361618, 7, 4, 4, 1697734891, 1, 3, 4, 5, 1373994854, 1025621547, 106278871, -106278871, 106278871, 3, 5, 5, 1373994854, 1025621547, 106278871, -106278871, 106278871, 3, 4, 4, 1373994854, 1025621547, 1480273725, 1480273725, 1480273725, 3, 4, 4, 1373994854, 1025621547, 1480273725, 1480273725, 1480273725, 3, 4, 6, -1831322671, 1596987371, 20456418, 20456418, 20456418, 3, 6, 6, -1831322671, 1596987371, 20456418, 20456418, 20456418, 3, 4, 4, -1831322671, 1596987371, 1851779090, -1851779090, 1851779090, 3, 4, 4, -1831322671, 1596987371, 1851779090, -1851779090, 1851779090, 18, 4, 4, 128, 134217728, -67273502, -50769372, -24753640, 92313919, 16766696, 32340833, -42934243, 49438138, -31446774, 2132753, -8449061, 96851052, -31563921, -9091095, -68972659, 85589909, -23138364, 20540540, -57056639, 57400000, -32705377, 26680625, -66641650, 57126114, -37068512, 40514240, -66798094, 41814828, -32640960, 46797075, -56240323, 40688886, -48085381, 51105057, -53567617, 49581278, -43774734, 46746197, -50907909, 42131362, -43375764, 51938130, -47716519, 45012070, -47577990, 47324596, -43726478, 41106849, -41246635, 41773427, -39971610, 38775983, -40040188, 38638857, -36494065, 34072816, -33141846, 30143634, -28213768, 27057150, -26458813, 24172575, -23815069, 22636543, -21770331, 21829657, -21603822, 20393346, -21010248, 20346418, -17135751, 15756584, -15166075, 13007543, -11425835, 12450817, -12165176, 11130067, -10495517, 10366207, -9081224, 7632126, -6501612, 6434254, -5798542, 5166535, -5016891, 4998199, -4225594, 3429974, -2782712, 2215807, -1476249, 819142, -563185, 468149, 3740, -445459, 515008, -859574, 1458829, -1702455, 1813086, -2179687, 2422946, -2448566, 2575029, -2762850, 2833371, -2827956, 2883012, -2933843, 2922067, -2913550, 2976658, -3000639, 2986670, -2971632, 2911815, -2785955, 2670615, -2581071, 2506677, -2497206, 2551074, -2604462, 2632387, 4, 4, 6, 4, 4, 4, 5, 4, 1, 4, 4, 1, 4, 4, 11, 4, 5, 7, 4, 6001, 6002, 6003, 6004, 0, 4, -2034521330, -2034521330, -2034521330, -2034521330, 4, 1940516371, 1940516371, 1940516371, 1940516371, 4, 4241933, 4241933, 4241933, 4241933, 4, 4241933, 4241933, 4241933, 4241933, 4, 4241933, 4241933, 4241933, 4241933, 11, 5, 5, 7, 4, 6001, 6002, 6003, 6004, 0, 4, -2088682933, -2088682933, -2088682933, -2088682933, 4, 2039150258, 2039150258, 2039150258, 2039150258, 4, 2096115637, 2096115637, 2096115637, 2096115637, 4, -2042088320, -2042088320, -2042088320, -2042088320, 4, 1996135910, 1996135910, 1996135910, 1996135910, 22, 4, 4, 144, 41, 5, 6, 5, 16, 27, 5, 5, 144, 267, 2146747946, 40, 5, 5, 44957785, 18, 5, 5, 17, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 7895160, 22, 4, 4, 16, 39, 4, 5, 5, 1, 4, 4, 3, 4, 4, -1792293227, 1538959524, 1817757406, -1817757406, 1817757406, 3, 4, 4, -1792293227, 1538959524, 1817757406, -1817757406, 1817757406, 37, 4, 4, 1, 2, 10, 5, 9, 14, 80, 100, 9592, 23, 4219805, 536870912, 536870912, 1073577011, 1073752125, 2848121, 3, 5, 5, -1792293227, 1538959524, 25464179, 25464179, 25464179, 3, 5, 5, -1792293227, 1538959524, 25464179, 25464179, 25464179, 4, 4, 5, 4, 37, 4, 4, 1, 2, 10, 5, 9, 15, 80, 100, 9592, 23, 4219805, 134217728, 201326592, 1073731522, 1073746974, 2848121, 25, 4, 5, 48, 2386766, 499999, 4800, 3, 5, 5, -2133569855, 2119835204, 44785, 44785, 44785, 1, 5, 6, 4, 4, 5, 5, 1, 4, 4, 4, 6, 4, 4, 52, 4, 3, 532187606
#define CSPL_IN_CURRENT_RIGHT 11
#define CSPL_IN_VOLTAGE_LEFT 10
#define CSPL_IN_VOLTAGE_RIGHT 12
#define CSPL_IN_CURRENT_LEFT 9
#define CSPL_TEMPERATURE_RIGHT 120
#define CSPL_TEMPERATURE_LEFT 119
#define CSPL_EXCURSION_MODEL_RIGHT 122
#define CSPL_EXCURSION_MODEL_LEFT 121
#define CSPL_CONFIG_TX 425, 4, 768, 1234, 4268, 1344, 5679, 16, 9875, 48000, 48, 11, 4, 10, 2, 11, 2, 12, 2, 9, 2, 0, 48, 0, 48, 0, 48, 0, 48, 0, 48, 0, 48, 0, 48, 14, 4, 119, 121, 120, 122, 50, 17, 3, 4, 17, 0, 5, 3, 5, 5, -2143508228, 2139547499, 2143511901, -2143511901, 2143511901, 3, 5, 5, -2143508228, 2139547499, 2143511901, -2143511901, 2143511901, 3, 5, 6, -2146598296, 2145797691, 842978, 0, -842978, 3, 6, 6, -2146598296, 2145797691, 842978, 0, -842978, 3, 5, 7, -2133441509, 2129303216, 9090215, 0, -9090215, 3, 5, 8, -2133441509, 2129303216, 9090215, 0, -9090215, 3, 5, 9, -2133441509, 2129303216, 9090215, 0, -9090215, 3, 5, 5, -2133441509, 2129303216, 9090215, 0, -9090215, 3, 4, 4, -2143508228, 2139547499, 2143511901, -2143511901, 2143511901, 3, 4, 4, -2143508228, 2139547499, 2143511901, -2143511901, 2143511901, 3, 4, 10, -2146598296, 2145797691, 842978, 0, -842978, 3, 10, 10, -2146598296, 2145797691, 842978, 0, -842978, 19, 10, 6, 4, 1024, 8, 131067, 13, 21, 4, 0, 10682, 1024, 1073239999, 3, 4, 6, -2133441509, 2129303216, 9090215, 0, -9090215, 19, 6, 7, 5, 32768, 1, 262135, 12, 3, 4, 6, -2133441509, 2129303216, 9090215, 0, -9090215, 19, 6, 8, 6, 32768, 1, 262135, 12, 3, 4, 6, -2133441509, 2129303216, 9090215, 0, -9090215, 19, 6, 9, 7, 32768, 1, 262135, 12, 3, 4, 4, -2133441509, 2129303216, 9090215, 0, -9090215, 19, 4, 5, 8, 32768, 1, 262135, 12, 23, 8, 7, 6, 5, 1, 6001, 6002, 6003, 6004, 0, 17, 1, 4, 17, 2, 5, 3, 5, 5, -2143508228, 2139547499, 2143511901, -2143511901, 2143511901, 3, 5, 5, -2143508228, 2139547499, 2143511901, -2143511901, 2143511901, 3, 5, 6, -2146598296, 2145797691, 842978, 0, -842978, 3, 6, 6, -2146598296, 2145797691, 842978, 0, -842978, 3, 5, 7, -2124750919, 2121816295, 12833676, 0, -12833676, 3, 5, 8, -2124750919, 2121816295, 12833676, 0, -12833676, 3, 5, 9, -2124750919, 2121816295, 12833676, 0, -12833676, 3, 5, 5, -2124750919, 2121816295, 12833676, 0, -12833676, 3, 4, 4, -2143508228, 2139547499, 2143511901, -2143511901, 2143511901, 3, 4, 4, -2143508228, 2139547499, 2143511901, -2143511901, 2143511901, 3, 4, 10, -2146598296, 2145797691, 842978, 0, -842978, 3, 10, 10, -2146598296, 2145797691, 842978, 0, -842978, 19, 10, 6, 9, 1024, 8, 131067, 13, 21, 9, 2, 9593, 1024, 1073239999, 3, 4, 6, -2124750919, 2121816295, 12833676, 0, -12833676, 19, 6, 7, 10, 32768, 1, 262135, 12, 3, 4, 6, -2124750919, 2121816295, 12833676, 0, -12833676, 19, 6, 8, 11, 32768, 1, 262135, 12, 3, 4, 6, -2124750919, 2121816295, 12833676, 0, -12833676, 19, 6, 9, 12, 32768, 1, 262135, 12, 3, 4, 4, -2124750919, 2121816295, 12833676, 0, -12833676, 19, 4, 5, 13, 32768, 1, 262135, 12, 23, 13, 12, 11, 10, 3, 6001, 6002, 6003, 6004, 0, -1677286117