|
CTS-SAT-1-OBC-Firmware
|
#include "main.h"#include "debug_tools/debug_i2c.h"#include "debug_tools/debug_uart.h"#include "transforms/arrays.h"#include <stdint.h>#include <string.h>#include <stdio.h>#include <ctype.h>
Functions | |
| void | DEBUG_uart_print_str (const char *str) |
| void | DEBUG_uart_print_str_max_len (const char *str, size_t n) |
| void | DEBUG_uart_print_uint32 (uint32_t value) |
| void | DEBUG_uart_print_int32 (int32_t value) |
| void | DEBUG_uart_print_uint64 (uint64_t value) |
| 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 ... | |
| void | DEBUG_uart_write_bytes (const uint8_t *data, uint32_t data_len) |
| 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. | |
| 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 ...
| array | A pointer to the array of bytes. |
| array_len | The length of the array. |


| void DEBUG_uart_print_int32 | ( | int32_t | value | ) |

| 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.
| 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") |


| void DEBUG_uart_print_str | ( | const char * | str | ) |

| void DEBUG_uart_print_str_max_len | ( | const char * | str, |
| size_t | n ) |


| void DEBUG_uart_print_uint32 | ( | uint32_t | value | ) |

| void DEBUG_uart_print_uint64 | ( | uint64_t | value | ) |

| void DEBUG_uart_write_bytes | ( | const uint8_t * | data, |
| uint32_t | data_len ) |