Ke Ao Teensy Flight Software
The software on the Teensy in the Ke Ao cubesat.
Loading...
Searching...
No Matches
debug.h File Reference

Definitions of Serial Console helper functions. More...

#include "support/configCosmosKernel.h"
#include <Arduino.h>
#include <stdint.h>

Go to the source code of this file.

Enumerations

enum  Short_Name : uint8_t {
  RFM23 = 1 , RFM98 , LI3 , PDU ,
  RPI , MAIN
}
 

Functions

void Helpers::connect_serial_debug (long baud)
 
void Helpers::print_debug (Short_Name channel, const char *msg)
 
void Helpers::print_debug (Short_Name channel, const char *msg, u_int32_t iretn)
 
void Helpers::print_debug (Short_Name channel, const char *msg, int32_t iretn)
 
void Helpers::print_hexdump (Short_Name channel, const char *msg, uint8_t *src, uint8_t size)
 
void Helpers::print_debug_rapid (Short_Name channel, const char *msg)
 
void Helpers::print_debug_rapid (Short_Name channel, const char *msg, u_int32_t iretn)
 

Detailed Description

Definitions of Serial Console helper functions.

This defines helper functions that print debug messages to the Serial Console.

These functions are frequently called, and it makes more sense to have them all written in the same place, in the same way.