#include "main.h"
#include <stdint.h>
Go to the source code of this file.
◆ DEBUG_uart_print_array_hex()
void DEBUG_uart_print_array_hex |
( |
const uint8_t * | array, |
|
|
uint32_t | array_len ) |
Print an array of bytes in hex format, like 00 01 02 ...
- Parameters
-
array | A pointer to the array of bytes. |
array_len | The length of the array. |
◆ DEBUG_uart_print_int32()
void DEBUG_uart_print_int32 |
( |
int32_t | value | ) |
|
◆ DEBUG_uart_print_mixed_array()
void DEBUG_uart_print_mixed_array |
( |
const uint8_t * | array, |
|
|
uint16_t | array_len, |
|
|
const char * | prefix ) |
Print array in hex + ASCII format for UART debugging, aligned.
- Parameters
-
array | Pointer to the byte array. |
array_len | Length of the array. |
prefix | Prefix string to prepend to the hex line (e.g., "AX100 Down") |
◆ DEBUG_uart_print_str()
void DEBUG_uart_print_str |
( |
const char * | str | ) |
|
◆ DEBUG_uart_print_str_max_len()
void DEBUG_uart_print_str_max_len |
( |
const char * | str, |
|
|
size_t | n ) |
◆ DEBUG_uart_print_uint32()
void DEBUG_uart_print_uint32 |
( |
uint32_t | value | ) |
|
◆ DEBUG_uart_print_uint64()
void DEBUG_uart_print_uint64 |
( |
uint64_t | value | ) |
|
◆ DEBUG_uart_write_bytes()
void DEBUG_uart_write_bytes |
( |
const uint8_t * | data, |
|
|
uint32_t | data_len ) |