heat control  r71
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lcd_lib.c File Reference
#include "lcd_lib.h"
#include <inttypes.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <util/delay.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for lcd_lib.c:

Go to the source code of this file.

Functions

void LCDinit (void)
 
void LCDsendChar (uint8_t ch)
 
void LCDsendCommand (uint8_t cmd)
 
void LCDclr (void)
 
void LCDhome (void)
 
void LCDstring (uint8_t *data)
 
void LCDGotoXY (uint8_t x, uint8_t y)
 
void CopyStringtoLCD (const uint8_t *FlashLoc, uint8_t x, uint8_t y)
 
void LCDdefinechar (const uint8_t *pc, uint8_t char_code)
 
void LCDshiftLeft (uint8_t n)
 
void LCDshiftRight (uint8_t n)
 
void LCDcursorOn (void)
 
void LCDcursorOnBlink (void)
 
void LCDcursorOFF (void)
 
void LCDblank (void)
 
void LCDvisible (void)
 
void LCDcursorLeft (uint8_t n)
 
void LCDcursorRight (uint8_t n)
 
void LCDprogressBar (uint8_t progress, uint8_t maxprogress, uint8_t length)
 

Function Documentation

void CopyStringtoLCD ( const uint8_t *  FlashLoc,
uint8_t  x,
uint8_t  y 
)

Definition at line 401 of file lcd_lib.c.

References LCDGotoXY(), and LCDsendChar().

Here is the call graph for this function:

void LCDblank ( void  )

Definition at line 462 of file lcd_lib.c.

References LCDsendCommand().

Here is the call graph for this function:

void LCDclr ( void  )

Definition at line 361 of file lcd_lib.c.

References LCD_CLR, and LCDsendCommand().

Referenced by DoSetup(), LcdInit(), and Welcome().

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDcursorLeft ( uint8_t  n)

Definition at line 470 of file lcd_lib.c.

References LCDsendCommand().

Here is the call graph for this function:

void LCDcursorOFF ( void  )

Definition at line 458 of file lcd_lib.c.

References LCDsendCommand().

Here is the call graph for this function:

void LCDcursorOn ( void  )

Definition at line 450 of file lcd_lib.c.

References LCDsendCommand().

Here is the call graph for this function:

void LCDcursorOnBlink ( void  )

Definition at line 454 of file lcd_lib.c.

References LCDsendCommand().

Here is the call graph for this function:

void LCDcursorRight ( uint8_t  n)

Definition at line 477 of file lcd_lib.c.

References LCDsendCommand().

Here is the call graph for this function:

void LCDdefinechar ( const uint8_t *  pc,
uint8_t  char_code 
)

Definition at line 425 of file lcd_lib.c.

References LCDsendChar(), and LCDsendCommand().

Referenced by LCDinit().

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDGotoXY ( uint8_t  x,
uint8_t  y 
)

Definition at line 382 of file lcd_lib.c.

References LCD_DDRAM, LCD_LINE0_DDRAMADDR, LCD_LINE1_DDRAMADDR, LCD_LINE2_DDRAMADDR, LCD_LINE3_DDRAMADDR, and LCDsendCommand().

Referenced by CopyStringtoLCD(), TestButton(), Welcome(), WriteCtrlMode(), WriteMeasVal(), WriteSetupGroup(), and WriteSetupValue().

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDhome ( void  )

Definition at line 365 of file lcd_lib.c.

References LCD_HOME, and LCDsendCommand().

Here is the call graph for this function:

void LCDinit ( void  )

Definition at line 80 of file lcd_lib.c.

References LCD_D0, LCD_D1, LCD_D2, LCD_D3, LCD_D4, LCD_D5, LCD_D6, LCD_D7, LCD_E, LCD_RS, LCD_RW, LCDdefinechar(), LCDR, LCDsendCommand(), LCP, LDDR, and LDP.

Referenced by LcdInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDprogressBar ( uint8_t  progress,
uint8_t  maxprogress,
uint8_t  length 
)

Definition at line 485 of file lcd_lib.c.

References LCDsendChar(), and PROGRESSPIXELS_PER_CHAR.

Here is the call graph for this function:

void LCDsendChar ( uint8_t  ch)

Definition at line 262 of file lcd_lib.c.

References LCD_E, LCD_RS, LCP, and LDP.

Referenced by CopyStringtoLCD(), LCDdefinechar(), LCDprogressBar(), LCDstring(), WriteCtrlMode(), and WriteMeasVal().

Here is the caller graph for this function:

void LCDsendCommand ( uint8_t  cmd)

Definition at line 318 of file lcd_lib.c.

References LCD_E, LCP, and LDP.

Referenced by LCDblank(), LCDclr(), LCDcursorLeft(), LCDcursorOFF(), LCDcursorOn(), LCDcursorOnBlink(), LCDcursorRight(), LCDdefinechar(), LCDGotoXY(), LCDhome(), LCDinit(), LCDshiftLeft(), LCDshiftRight(), and LCDvisible().

Here is the caller graph for this function:

void LCDshiftLeft ( uint8_t  n)

Definition at line 436 of file lcd_lib.c.

References LCDsendCommand().

Here is the call graph for this function:

void LCDshiftRight ( uint8_t  n)

Definition at line 443 of file lcd_lib.c.

References LCDsendCommand().

Here is the call graph for this function:

void LCDstring ( uint8_t *  data)

Definition at line 369 of file lcd_lib.c.

References LCDsendChar().

Referenced by TestButton(), Welcome(), WriteCtrlMode(), WriteSetupGroup(), WriteSetupValue(), and WriteValue().

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDvisible ( void  )

Definition at line 466 of file lcd_lib.c.

References LCDsendCommand().

Here is the call graph for this function: