#include <stdint.h>
#include "stm32l4xx_hal.h"
#include "stm32l4xx_hal_uart.h"
Go to the source code of this file.
◆ UART_ERROR_TRACKING_JSON_BUFFER_LEN
#define UART_ERROR_TRACKING_JSON_BUFFER_LEN 768 |
◆ UART_get_errors_json()
uint8_t UART_get_errors_json |
( |
char * | json_buf, |
|
|
uint16_t | json_buf_len ) |
◆ UART_single_subsystem_error_info_to_json()
◆ UART_track_error_from_isr()
void UART_track_error_from_isr |
( |
USART_TypeDef * | huart_instance, |
|
|
uint32_t | error_code ) |
Track the error for a given UART instance.
- Parameters
-
huart_instance | The uart instance we are tracking the error for |
error_code | The error code to track |
- Note
- This function will check if the error code is a known error and increment the corresponding error count
-
There can't be any Log_message as this will be called in the HAL_UART_ErrorCallback function
◆ UART_error_ax100_error_info
◆ UART_error_camera_error_info
◆ UART_error_eps_error_info
◆ UART_error_gnss_error_info
◆ UART_error_mpi_error_info
◆ UART_error_telecommand_error_info