PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | sgn(x) ((x<0)?-1:((x>0)?1:0)) |
#define | RESOLUTION_X 160 |
#define | RESOLUTION_Y 120 |
Functions | |
void | plot (int color, int x, int y) |
void | leds_ctrl (unsigned int id, unsigned int val) |
int | delay (int ritardo) |
void | line (int x1, int y1, int x2, int y2, unsigned int color) |
void | Rect (int left, int top, int right, int bottom, unsigned int color) |
void | RectFill (int left, int top, int right, int bottom, unsigned int color) |
void | Circle (int x0, int y0, int radius, unsigned int color) |
void | CircleFill (int x0, int y0, int radius, unsigned int color) |
void | plot_test () |
int | main () |
#define RESOLUTION_X 160 |
Definition at line 6 of file vgatest.c.
Referenced by plot_test().
#define RESOLUTION_Y 120 |
Definition at line 7 of file vgatest.c.
Referenced by plot_test().
void Circle | ( | int | x0, |
int | y0, | ||
int | radius, | ||
unsigned int | color | ||
) |
Definition at line 77 of file vgatest.c.
Referenced by plot_test().
void CircleFill | ( | int | x0, |
int | y0, | ||
int | radius, | ||
unsigned int | color | ||
) |
Definition at line 103 of file vgatest.c.
Referenced by plot_test().
int delay | ( | int | ritardo | ) |
Definition at line 1 of file delay.c.
Referenced by AllocationInformation::EstimateControllerDelay(), AllocationInformation::get_correction_time(), BB_based_stg::InternalExec(), cdfc_module_binding::InternalExec(), and plot_test().
void leds_ctrl | ( | unsigned int | id, |
unsigned int | val | ||
) |
Definition at line 1 of file leds_ctrl.c.
Referenced by plot_test().
void line | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
unsigned int | color | ||
) |
Definition at line 13 of file vgatest.c.
References abs, plot(), sgn, and x.
Referenced by CircleFill(), Rect(), and RectFill().
int main | ( | void | ) |
Definition at line 204 of file vgatest.c.
References plot_test().
void plot | ( | int | color, |
int | x, | ||
int | y | ||
) |
Definition at line 1 of file plot.c.
Referenced by Circle(), line(), and plot_test().
void plot_test | ( | ) |
Definition at line 126 of file vgatest.c.
References Circle(), CircleFill(), delay(), k, leds_ctrl(), plot(), Rect(), RectFill(), RESOLUTION_X, RESOLUTION_Y, and x.
Referenced by main().
void Rect | ( | int | left, |
int | top, | ||
int | right, | ||
int | bottom, | ||
unsigned int | color | ||
) |
Definition at line 59 of file vgatest.c.
References line().
Referenced by plot_test().
void RectFill | ( | int | left, |
int | top, | ||
int | right, | ||
int | bottom, | ||
unsigned int | color | ||
) |
Definition at line 66 of file vgatest.c.
References line().
Referenced by plot_test().