Artemis Teensy Flight Software
The software on the Teensy in the Artemis cubesat.
|
The header file for helper functions. More...
Go to the source code of this file.
Namespaces | |
Helpers | |
Helper functions and debugging tools. | |
Macros | |
#define | SECONDS 1000 |
The number of milliseconds in a second. | |
Enumerations | |
enum | Helpers::Short_Name : uint8_t { RFM23 = 1 , PDU , RPI , MAIN , TEST } |
Enumeration of channels calling helper functions. | |
Functions | |
void | Helpers::connect_serial_debug (long baud) |
Connects to a computer over USB Serial for debugging. More... | |
void | Helpers::print_hexdump (Short_Name channel, const char *msg, uint8_t *src, uint8_t size) |
Helper function to print the hexdump of a region of memory. More... | |
template<typename Arg > | |
void | Helpers::print_args (std::ostream &oss, const Arg &arg) |
Base case of the recursive debug print. More... | |
template<typename Arg , typename... Args> | |
void | Helpers::print_args (std::ostream &oss, const Arg &arg, const Args &...args) |
Recursive case of the recursive debug print. More... | |
template<typename... Args> | |
void | Helpers::print_debug (Short_Name channel, const Args &...args) |
Helper function to print debug messages. More... | |
template<typename... Args> | |
void | Helpers::print_debug_rapid (Short_Name channel, const Args &...args) |
Helper function to print debug messages quickly. More... | |
Variables | |
unsigned long | _heap_start |
unsigned long | _heap_end |
char * | __brkval |
The header file for helper functions.
This file contains declarations and definitions of helper functions used for debugging the flight software.