Classes | Macros | Typedefs | Enumerations | Functions
debug.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include "board.h"
#include "../SDK/src/ISConstants.h"
#include "../SDK/src/com_manager.h"
#include "conf_common.h"
#include "misc/utilities.h"
#include "globals.h"
#include "misc/debug.h"
Include dependency graph for debug.cpp:

Go to the source code of this file.

Classes

struct  term_line_t
 

Macros

#define MAX_NAME_LENGTH   60
 
#define MAX_NUM_LINES   50
 
#define MAX_VALUE_LENGTH   20
 
#define PARAM_STARTING_LINE   1
 
#define ROUNDUP(x, y)   ((x % y) ? ((x) += 4-((x)%4)) : (x))
 

Typedefs

typedef enum memory_type_t memory_type_t
 
typedef enum number_type_t number_type_t
 
typedef struct term_line_t term_line_t
 

Enumerations

enum  memory_type_t { M_RAM =0, M_FLASH }
 
enum  number_type_t {
  R_X08 =0, R_U08, R_S08, R_X16,
  R_U16, R_S16, R_X32, R_U32,
  R_S32, R_F32, R_F64, R_F32_R2D,
  R_STR, R_BLANK
}
 

Functions

void dg_printf (const char *format,...)
 
void term_add (void *val, char *name, memory_type_t memType, number_type_t numType)
 

Macro Definition Documentation

◆ MAX_NAME_LENGTH

#define MAX_NAME_LENGTH   60

Definition at line 23 of file debug.cpp.

◆ MAX_NUM_LINES

#define MAX_NUM_LINES   50

Definition at line 22 of file debug.cpp.

◆ MAX_VALUE_LENGTH

#define MAX_VALUE_LENGTH   20

Definition at line 24 of file debug.cpp.

◆ PARAM_STARTING_LINE

#define PARAM_STARTING_LINE   1

Definition at line 21 of file debug.cpp.

◆ ROUNDUP

#define ROUNDUP (   x,
 
)    ((x % y) ? ((x) += 4-((x)%4)) : (x))

Definition at line 18 of file debug.cpp.

Typedef Documentation

◆ memory_type_t

◆ number_type_t

◆ term_line_t

typedef struct term_line_t term_line_t

Enumeration Type Documentation

◆ memory_type_t

Enumerator
M_RAM 
M_FLASH 

Definition at line 26 of file debug.cpp.

◆ number_type_t

Enumerator
R_X08 
R_U08 
R_S08 
R_X16 
R_U16 
R_S16 
R_X32 
R_U32 
R_S32 
R_F32 
R_F64 
R_F32_R2D 
R_STR 
R_BLANK 

Definition at line 27 of file debug.cpp.

Function Documentation

◆ dg_printf()

void dg_printf ( const char *  format,
  ... 
)

Definition at line 79 of file debug.cpp.

◆ term_add()

void term_add ( void *  val,
char *  name,
memory_type_t  memType,
number_type_t  numType 
)


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05