Public functions of the LC display device driver library. More...
Functions | |
void | dev_Lcd_Initialize (void) |
Initializes the LCD Device. More... | |
void | dev_Lcd_Clear (void) |
Clears the LC Display Screen. More... | |
void | dev_Lcd_GotoXY (volatile uint8_t x, volatile uint8_t y) |
Sets the cursor position to the given x- and y-coordinates. More... | |
void | dev_Lcd_WriteChar (const char ch) |
Writes a character on the LCD screen. More... | |
void | dev_Lcd_WriteString (const char *str) |
Writes a complete string on the LCD screen. More... | |
void | dev_Lcd_WriteStringXY (volatile uint8_t column_index, volatile uint8_t line_index, const char *str) |
Sets the cursor position to the given x- and y-coordinates and writes the given string on the lcd screen. More... | |
Public functions of the LC display device driver library.
This is the detailed description of public API functions of the LC display device driver library.
void dev_Lcd_Clear | ( | void | ) |
Clears the LC Display Screen.
void |
This function clears the LCD screen and sets the cursor position at 0,0 (left upper corner). Instead of calling this function, clearing the screen can also be achieved by sending the character '\f' within a string
Definition at line 166 of file dev_lcd.c.
void dev_Lcd_GotoXY | ( | volatile uint8_t | x, |
volatile uint8_t | y | ||
) |
Sets the cursor position to the given x- and y-coordinates.
x | x-coordinate for the new cursor position starting with zero |
y | y-coordinate for the new cursor position starting with zero |
This function sets the cursor position to the given x- and y-coordinates starting at (0, 0) in the upper left corner.
Definition at line 184 of file dev_lcd.c.
void dev_Lcd_Initialize | ( | void | ) |
Initializes the LCD Device.
void |
This function initializes the LCD Device Driver. It needs to be called once at boot-up before that device can be used.
Definition at line 126 of file dev_lcd.c.
void dev_Lcd_WriteChar | ( | const char | ch | ) |
Writes a character on the LCD screen.
ch | character be written to the LCD screen |
This function writes the single character 'ch' to the currently selected position on LCD screen. The following special characters will result in a specific response of the LCD:
Definition at line 209 of file dev_lcd.c.
void dev_Lcd_WriteString | ( | const char * | str | ) |
Writes a complete string on the LCD screen.
str | Pointer to a string variable to be written on the LCD screen |
This function writes a complete string 'str' to the currently selected position on LCD screen. If the length of the string exceeds the available number display digits, the position will overrun and start again from position (0, 0).
The following special characters within the string will result in a specific response of the LCD:
Definition at line 272 of file dev_lcd.c.
void dev_Lcd_WriteStringXY | ( | volatile uint8_t | column_index, |
volatile uint8_t | line_index, | ||
const char * | str | ||
) |
Sets the cursor position to the given x- and y-coordinates and writes the given string on the lcd screen.
column_index | x-coordinates for the new cursor position starting with zero |
line_index | y-coordinates for the new cursor position starting with zero |
str | pointer to a string variable to be written on the LCD screen |
This function positions the cursor at the location defined by parameters x and y and writes a complete string 'str' to the newly selected position on LCD screen. If the length of the string exceeds the available number display digits, the position will overrun and start again from position (0, 0) in the upper left corner.
The following special characters within the string will result in a specific response of the LCD:
Definition at line 305 of file dev_lcd.c.