41 static const unsigned char CMD_SET_MODE_UNMANAGED[] = {0xAA,0x71,0x00,0x00}; |
41 static const unsigned char CMD_SET_MODE_UNMANAGED[] = {0xAA,0x71,0x00,0x00}; |
42 static const unsigned char CMD_GET_CLOCK_MEMORY[] = {0xAA,0x40,0x00,0x00}; |
42 static const unsigned char CMD_GET_CLOCK_MEMORY[] = {0xAA,0x40,0x00,0x00}; |
43 static unsigned char CMD_SET_PWM1[] = {0xAA,0x45,0x00,0x01,0x00}; |
43 static unsigned char CMD_SET_PWM1[] = {0xAA,0x45,0x00,0x01,0x00}; |
44 static unsigned char CMD_SET_PWM2[] = {0xAA,0x46,0x00,0x01,0x00}; |
44 static unsigned char CMD_SET_PWM2[] = {0xAA,0x46,0x00,0x01,0x00}; |
45 static unsigned char CMD_BOOT[] = {0xAA,0x80,0x00,0x00}; |
45 static unsigned char CMD_BOOT[] = {0xAA,0x80,0x00,0x00}; |
|
46 static unsigned char CMD_READ_EE[] = {0xAA,0x21,0x00,0x01,0x01}; |
46 #define BAUDRATE B921600 |
47 #define BAUDRATE B921600 |
47 |
48 |
48 |
49 |
49 const unsigned char CMD_HDR_SYNC = 0; |
50 const unsigned char CMD_HDR_SYNC = 0; |
50 const unsigned char CMD_HDR_COMMAND = 1; |
51 const unsigned char CMD_HDR_COMMAND = 1; |
64 }; |
65 }; |
65 |
66 |
66 /*! \brief configuration set during runtime */ |
67 /*! \brief configuration set during runtime */ |
67 struct runtime_flags { |
68 struct runtime_flags { |
68 bool parse_return_clockram; |
69 bool parse_return_clockram; |
|
70 bool parse_return_eeprom; |
69 }; |
71 }; |
70 |
72 |
71 /*! \brief char table display, showing almost the lower half of the display charset |
73 /*! \brief char table display, showing almost the lower half of the display charset |
72 |
74 |
73 TEST_STRING_1 contains the command to show the first 57 characters from the |
75 TEST_STRING_1 contains the command to show the first 57 characters from the |