SWE-350 TOTP Generator Milestone 5
The DE-10 board has six 7-segment displays, this can be used to display and generate a time based one-time pin (TOTP).
Loading...
Searching...
No Matches
lcd_graphic.h File Reference
#include "font.h"
Include dependency graph for lcd_graphic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  LCD_CANVAS
 

Macros

#define SUPPORT_LCD_FONT
 
#define LCD_WHITE   0x00
 
#define LCD_BLACK   0xFF
 

Functions

void DRAW_Clear (LCD_CANVAS *pCanvas, int Color)
 
void DRAW_Line (LCD_CANVAS *pCanvas, int X1, int Y1, int X2, int Y2, int Color)
 
void DRAW_Pixel (LCD_CANVAS *pCanvas, int X, int Y, int Color)
 
void DRAW_Rect (LCD_CANVAS *pCanvas, int X1, int Y1, int X2, int Y2, int Color)
 
void DRAW_Circle (LCD_CANVAS *pCanvas, int x0, int y0, int Radius, int Color)
 
void DRAW_Refresh (LCD_CANVAS *pCanvas)
 
void DRAW_PrintChar (LCD_CANVAS *pCanvas, int X0, int Y0, char Text, int Color, FONT_TABLE *font_table)
 FONT API ///////////////////////////////////.
 
void DRAW_PrintString (LCD_CANVAS *pCanvas, int X0, int Y0, char *pText, int Color, FONT_TABLE *font_table)
 

Macro Definition Documentation

◆ LCD_BLACK

#define LCD_BLACK   0xFF

Definition at line 20 of file lcd_graphic.h.

◆ LCD_WHITE

#define LCD_WHITE   0x00

Definition at line 19 of file lcd_graphic.h.

◆ SUPPORT_LCD_FONT

#define SUPPORT_LCD_FONT

Definition at line 4 of file lcd_graphic.h.

Function Documentation

◆ DRAW_Circle()

void DRAW_Circle ( LCD_CANVAS * pCanvas,
int x0,
int y0,
int Radius,
int Color )

Definition at line 167 of file lcd_graphic.c.

Here is the call graph for this function:

◆ DRAW_Clear()

void DRAW_Clear ( LCD_CANVAS * pCanvas,
int Color )

Definition at line 194 of file lcd_graphic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DRAW_Line()

void DRAW_Line ( LCD_CANVAS * pCanvas,
int X1,
int Y1,
int X2,
int Y2,
int Color )

Definition at line 72 of file lcd_graphic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DRAW_Pixel()

void DRAW_Pixel ( LCD_CANVAS * pCanvas,
int X,
int Y,
int Color )

Definition at line 46 of file lcd_graphic.c.

Here is the caller graph for this function:

◆ DRAW_PrintChar()

void DRAW_PrintChar ( LCD_CANVAS * pCanvas,
int X0,
int Y0,
char Text,
int Color,
FONT_TABLE * font_table )

FONT API ///////////////////////////////////.

Definition at line 234 of file lcd_graphic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DRAW_PrintString()

void DRAW_PrintString ( LCD_CANVAS * pCanvas,
int X0,
int Y0,
char * pText,
int Color,
FONT_TABLE * font_table )

Definition at line 258 of file lcd_graphic.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DRAW_Rect()

void DRAW_Rect ( LCD_CANVAS * pCanvas,
int X1,
int Y1,
int X2,
int Y2,
int Color )

Definition at line 160 of file lcd_graphic.c.

Here is the call graph for this function:

◆ DRAW_Refresh()

void DRAW_Refresh ( LCD_CANVAS * pCanvas)

Definition at line 65 of file lcd_graphic.c.

Here is the call graph for this function:
Here is the caller graph for this function: