forked from achamaikin/CCSModuleSW30Web
Enhance board and PSU control structures; update connector state handling and stop button logic. Adjust LED color cycles for better visual feedback. Refactor serial communication to improve state management and error handling.
This commit is contained in:
+6
-5
@@ -14,11 +14,12 @@ void CCS_RxEventCallback(UART_HandleTypeDef *huart, uint16_t size);
|
||||
void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart);
|
||||
|
||||
typedef enum {
|
||||
CCS_DISABLED = 0,
|
||||
CCS_UNPLUGGED = 1,
|
||||
CCS_AUTH_REQUIRED = 2,
|
||||
CCS_CONNECTED = 3,
|
||||
CCS_REPLUGGING = 4,
|
||||
CCS_UNKNOWN = 0,
|
||||
CCS_DISABLED = 1,
|
||||
CCS_UNPLUGGED = 2,
|
||||
CCS_AUTH_REQUIRED = 3,
|
||||
CCS_CONNECTED = 4,
|
||||
CCS_REPLUGGING = 5,
|
||||
} CCS_ConnectorState_t;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user