#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, 2142396597, 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, 118800392, -82863647, -14393203, 14998966, 134217728, -32560799, -55010388, 8738688, 94669037, -39103961, -111135, 3511227, 62401680, -64689137, 23533300, -234895, 59498826, -64175174, 22820600, -19439247, 53190395, -53002242, 32953529, -37437867, 40306700, -48930330, 39633701, -39580597, 33286779, -46576953, 38426755, -39311852, 32799433, -38158760, 34135386, -38955390, 30826789, -29794317, 31198603, -34822702, 27596976, -24371262, 26148278, -28219875, 25252655, -20076748, 20344878, -23194815, 22581284, -16708654, 16019309, -18750972, 19027915, -14845262, 13154551, -15143697, 16169703, -13636198, 11281489, -12825287, 14011576, -12480732, 10410367, -11402392, 11261248, -8998254, 6926757, -7576738, 7364421, -6088729, 5346296, -6147508, 6248488, -5511781, 5010848, -5258503, 5486769, -4903632, 4597338, -4574840, 4748702, -4243178, 4227814, -4144119, 4180243, -3805191, 3867680, -3711842, 3625526, -3368504, 3380231, -3257719, 3131194, -2946608, 2894158, -2816467, 2653918, -2514699, 2451773, -2400274, 2226629, -2122580, 2057652, -2010928, 1862932, -1779076, 1725460, -1693925, 1584710, -1506489, 1469824, -1445714, 1360411, -1282331, 1254399, -1230090, 1164644, -1088291, 1055279, -1024399, 967445, -890883, 847754, -808568, 751179, -677741, 626222, -580979, 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, -2075029024, -2075029024, -2075029024, -2075029024, 4, 2011479060, 2011479060, 2011479060, 2011479060, 4, 1927919, 1927919, 1927919, 1927919, 4, 1927919, 1927919, 1927919, 1927919, 4, 1927919, 1927919, 1927919, 1927919, 11, 6, 6, 8, 4, 6001, 6002, 6003, 6004, 0, 4, -2010592606, -2010592606, -2010592606, -2010592606, 4, 1890137506, 1890137506, 1890137506, 1890137506, 4, 2139838940, 2139838940, 2139838940, 2139838940, 4, -2011039454, -2011039454, -2011039454, -2011039454, 4, 1896888517, 1896888517, 1896888517, 1896888517, 22, 5, 5, 144, 41, 6, 6, 7, 16, 27, 7, 6, 144, 267, 2146747946, 40, 6, 6, 26779650, 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, 90, 110, 10715, 23, 3704409, 536870912, 536870912, 1073577011, 1073752125, 2902004, 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, 90, 110, 10715, 23, 3704409, 134217728, 201326592, 1073731522, 1073746974, 2902004, 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, -2063892258, 1986569085, 2147483647, -2029490748, 1923805421, 3, 4, 4, -1068212083, 1697978257, 2147483647, -871084725, 988338515, 3, 4, 4, 0, 0, 2147483647, 0, 0, 3, 4, 4, 0, 0, 2147483647, 0, 0, 3, 4, 4, 0, 0, 2147483647, 0, 0, 7, 4, 4, 1073741824, 0, 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, -112237290, -2464688, 57359843, -26448604, 37979658, 69329531, -41518614, -13220876, 58910277, -9801964, -8522350, 64132601, -18413453, -27758520, 35938069, -187856, -22206711, 32589041, 2579861, -33602577, 10384533, 3411015, -23490596, 1360101, 7690543, -23709165, -2451903, 741139, -15631270, -7374714, 7394426, -14869629, -5377309, 1692848, -5928021, -7315155, 5551363, -4946119, -2214478, 911678, -667036, -3192877, 3325616, -1532458, 842761, -432765, 1003678, -1561292, 1858330, -1047288, 916756, -1139856, 768841, -1137781, 585641, -1204314, 555195, -1332311, 313893, -1270890, 309792, -1282216, 273965, -605104, -163031, -45695, -410690, -74067, -13527, 143414, 46192, 393079, 92887, 303544, 291831, 534787, 161809, 658888, 193919, 497891, 230473, 612692, 100149, 607395, 145793, 418220, 94876, 452732, -16288, 370509, 31922, 241662, -32521, 244675, -86816, 164656, -50827, 100427, -89806, 100913, -97273, 57538, -67427, 42336, -79237, 44981, -69517, 27758, -48842, 23548, -44105, 19743, -33560, 10993, -23162, 6114, -18613, 784, -13777, -4972, -9754, -10231, -7085, -15773, -4820, -21322, -2634, 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, -2051949278, -2051949278, -2051949278, -2051949278, 4, 1976807176, 1976807176, 1976807176, 1976807176, 4, 3862595, 3862595, 3862595, 3862595, 4, 3862595, 3862595, 3862595, 3862595, 4, 3862595, 3862595, 3862595, 3862595, 11, 5, 5, 7, 4, 6001, 6002, 6003, 6004, 0, 4, -2017623040, -2017623040, -2017623040, -2017623040, 4, 1902596626, 1902596626, 1902596626, 1902596626, 4, 2126980415, 2126980415, 2126980415, 2126980415, 4, -2018706137, -2018706137, -2018706137, -2018706137, 4, 1920933665, 1920933665, 1920933665, 1920933665, 22, 4, 4, 144, 41, 5, 6, 5, 16, 27, 5, 5, 144, 267, 2146747946, 40, 5, 5, 67267442, 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, 100, 120, 9011, 23, 3543348, 536870912, 536870912, 1073577011, 1073752125, 3609216, 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, 100, 120, 9011, 23, 3543348, 134217728, 201326592, 1073731522, 1073746974, 3609216, 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, -1359164928

#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, -2131919907, 2127878774, 9802436, 0, -9802436, 3, 5, 8, -2131919907, 2127878774, 9802436, 0, -9802436, 3, 5, 9, -2131919907, 2127878774, 9802436, 0, -9802436, 3, 5, 5, -2131919907, 2127878774, 9802436, 0, -9802436, 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, 10715, 1024, 1073239999, 3, 4, 6, -2131919907, 2127878774, 9802436, 0, -9802436, 19, 6, 7, 5, 32768, 1, 262135, 12, 3, 4, 6, -2131919907, 2127878774, 9802436, 0, -9802436, 19, 6, 8, 6, 32768, 1, 262135, 12, 3, 4, 6, -2131919907, 2127878774, 9802436, 0, -9802436, 19, 6, 9, 7, 32768, 1, 262135, 12, 3, 4, 4, -2131919907, 2127878774, 9802436, 0, -9802436, 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, -2123412626, 2120779994, 13351826, 0, -13351826, 3, 5, 8, -2123412626, 2120779994, 13351826, 0, -13351826, 3, 5, 9, -2123412626, 2120779994, 13351826, 0, -13351826, 3, 5, 5, -2123412626, 2120779994, 13351826, 0, -13351826, 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, 9011, 1024, 1073239999, 3, 4, 6, -2123412626, 2120779994, 13351826, 0, -13351826, 19, 6, 7, 10, 32768, 1, 262135, 12, 3, 4, 6, -2123412626, 2120779994, 13351826, 0, -13351826, 19, 6, 8, 11, 32768, 1, 262135, 12, 3, 4, 6, -2123412626, 2120779994, 13351826, 0, -13351826, 19, 6, 9, 12, 32768, 1, 262135, 12, 3, 4, 4, -2123412626, 2120779994, 13351826, 0, -13351826, 19, 4, 5, 13, 32768, 1, 262135, 12, 23, 13, 12, 11, 10, 3, 6001, 6002, 6003, 6004, 0, 1000275886