EE445M RTOS
Taken at the University of Texas Spring 2015
|
#include "libstd/defines.h"
Go to the source code of this file.
Data Structures | |
struct | graph |
Macros | |
#define | GL_BLANK_STEPS_PRECEEDING_STALE_DATA 2 |
Typedefs | |
typedef struct graph | graph |
Functions | |
char * | strdup (const char *str) |
graph * | GLCreateGraph (long x_min, long x_max, long y_min, long y_max, long x_steps) |
void | GLDestroyGraph (graph *graph) |
char * | GLSetTitle (graph *graph, char *title) |
void | GLLabelAxes (graph *graph, char *x_axis, char *y_axis) |
void | GLPushDataPoint (graph *graph, long y_val) |
long | GLOffScreenValue (graph *graph) |
#define GL_BLANK_STEPS_PRECEEDING_STALE_DATA 2 |
Definition at line 14 of file graphlib.h.
Referenced by _FBDrawGraphData().
graph* GLCreateGraph | ( | long | x_min, |
long | x_max, | ||
long | y_min, | ||
long | y_max, | ||
long | x_steps | ||
) |
Definition at line 25 of file graphlib.c.
References graph::all_data_points_valid, graph::data, graph::x_index, graph::x_index_max, graph::x_max, graph::x_min, graph::y_max, and graph::y_min.
Referenced by main().
void GLDestroyGraph | ( | graph * | graph | ) |
Definition at line 83 of file graphlib.c.
References graph::data, graph::title, graph::x_title, and graph::y_title.
void GLLabelAxes | ( | graph * | graph, |
char * | x_axis, | ||
char * | y_axis | ||
) |
Definition at line 48 of file graphlib.c.
References strdup(), graph::x_title, and graph::y_title.
Referenced by main().
long GLOffScreenValue | ( | graph * | graph | ) |
Definition at line 71 of file graphlib.c.
References graph::y_max, and graph::y_min.
void GLPushDataPoint | ( | graph * | graph, |
long | y_val | ||
) |
Definition at line 56 of file graphlib.c.
References graph::all_data_points_valid, graph::data, graph::most_recent_data_point, graph::x_index, and graph::x_index_max.
Referenced by main().
char* GLSetTitle | ( | graph * | graph, |
char * | title | ||
) |
Definition at line 42 of file graphlib.c.
References strdup(), and graph::title.
Referenced by main().
char* strdup | ( | const char * | str | ) |
Definition at line 15 of file graphlib.c.
References null.
Referenced by GLLabelAxes(), GLSetTitle(), and utarray_str_cpy().