heat control
r71
|
#include <inttypes.h>
Go to the source code of this file.
Macros | |
#define | LCD_4BIT |
#define | LCD_RS 0 |
#define | LCD_RW 1 |
#define | LCD_E 2 |
#define | LCD_D0 0 |
#define | LCD_D1 0 |
#define | LCD_D2 0 |
#define | LCD_D3 0 |
#define | LCD_D4 4 |
#define | LCD_D5 5 |
#define | LCD_D6 6 |
#define | LCD_D7 7 |
#define | LDP PORTA |
#define | LCP PORTA |
#define | LDDR DDRA |
#define | LCDR DDRA |
#define | LCD_CLR 0 |
#define | LCD_HOME 1 |
#define | LCD_ENTRY_MODE 2 |
#define | LCD_ENTRY_INC 1 |
#define | LCD_ENTRY_SHIFT 0 |
#define | LCD_ON_CTRL 3 |
#define | LCD_ON_DISPLAY 2 |
#define | LCD_ON_CURSOR 1 |
#define | LCD_ON_BLINK 0 |
#define | LCD_MOVE 4 |
#define | LCD_MOVE_DISP 3 |
#define | LCD_MOVE_RIGHT 2 |
#define | LCD_FUNCTION 5 |
#define | LCD_FUNCTION_8BIT 4 |
#define | LCD_FUNCTION_2LINES 3 |
#define | LCD_FUNCTION_10DOTS 2 |
#define | LCD_CGRAM 6 |
#define | LCD_DDRAM 7 |
#define | LCD_BUSY 7 |
#define | LCD_LINES 2 |
#define | LCD_LINE_LENGTH 16 |
#define | LCD_LINE0_DDRAMADDR 0x00 |
#define | LCD_LINE1_DDRAMADDR 0x40 |
#define | LCD_LINE2_DDRAMADDR 0x14 |
#define | LCD_LINE3_DDRAMADDR 0x54 |
#define | PROGRESSPIXELS_PER_CHAR 6 |
Functions | |
void | LCDsendChar (uint8_t) |
void | LCDsendCommand (uint8_t) |
void | LCDinit (void) |
void | LCDclr (void) |
void | LCDhome (void) |
void | LCDstring (uint8_t *) |
void | LCDGotoXY (uint8_t, uint8_t) |
void | CopyStringtoLCD (const uint8_t *, uint8_t, uint8_t) |
void | LCDdefinechar (const uint8_t *, uint8_t) |
void | LCDshiftRight (uint8_t) |
void | LCDshiftLeft (uint8_t) |
void | LCDcursorOn (void) |
void | LCDcursorOnBlink (void) |
void | LCDcursorOFF (void) |
void | LCDblank (void) |
void | LCDvisible (void) |
void | LCDcursorLeft (uint8_t) |
void | LCDcursorRight (uint8_t) |
void | LCDprogressBar (uint8_t progress, uint8_t maxprogress, uint8_t length) |
#define LCD_DDRAM 7 |
Definition at line 101 of file lcd_lib.h.
Referenced by LCDGotoXY().
#define LCD_E 2 |
Definition at line 39 of file lcd_lib.h.
Referenced by LCDinit(), LCDsendChar(), and LCDsendCommand().
#define LCD_LINE0_DDRAMADDR 0x00 |
Definition at line 107 of file lcd_lib.h.
Referenced by LCDGotoXY().
#define LCD_LINE1_DDRAMADDR 0x40 |
Definition at line 108 of file lcd_lib.h.
Referenced by LCDGotoXY().
#define LCD_LINE2_DDRAMADDR 0x14 |
Definition at line 109 of file lcd_lib.h.
Referenced by LCDGotoXY().
#define LCD_LINE3_DDRAMADDR 0x54 |
Definition at line 110 of file lcd_lib.h.
Referenced by LCDGotoXY().
#define LCD_RS 0 |
Definition at line 37 of file lcd_lib.h.
Referenced by LCDinit(), and LCDsendChar().
#define LCP PORTA |
Definition at line 78 of file lcd_lib.h.
Referenced by LCDinit(), LCDsendChar(), and LCDsendCommand().
#define LDP PORTA |
Definition at line 77 of file lcd_lib.h.
Referenced by LCDinit(), LCDsendChar(), and LCDsendCommand().
#define PROGRESSPIXELS_PER_CHAR 6 |
Definition at line 112 of file lcd_lib.h.
Referenced by LCDprogressBar().
void CopyStringtoLCD | ( | const uint8_t * | , |
uint8_t | , | ||
uint8_t | |||
) |
Definition at line 401 of file lcd_lib.c.
References LCDGotoXY(), and LCDsendChar().
void LCDblank | ( | void | ) |
Definition at line 462 of file lcd_lib.c.
References LCDsendCommand().
void LCDclr | ( | void | ) |
void LCDcursorLeft | ( | uint8_t | ) |
Definition at line 470 of file lcd_lib.c.
References LCDsendCommand().
void LCDcursorOFF | ( | void | ) |
Definition at line 458 of file lcd_lib.c.
References LCDsendCommand().
void LCDcursorOn | ( | void | ) |
Definition at line 450 of file lcd_lib.c.
References LCDsendCommand().
void LCDcursorOnBlink | ( | void | ) |
Definition at line 454 of file lcd_lib.c.
References LCDsendCommand().
void LCDcursorRight | ( | uint8_t | ) |
Definition at line 477 of file lcd_lib.c.
References LCDsendCommand().
void LCDdefinechar | ( | const uint8_t * | , |
uint8_t | |||
) |
Definition at line 425 of file lcd_lib.c.
References LCDsendChar(), and LCDsendCommand().
Referenced by LCDinit().
void LCDGotoXY | ( | uint8_t | , |
uint8_t | |||
) |
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().
void LCDhome | ( | void | ) |
Definition at line 365 of file lcd_lib.c.
References LCD_HOME, and LCDsendCommand().
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().
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.
void LCDsendChar | ( | uint8_t | ) |
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().
void LCDsendCommand | ( | uint8_t | ) |
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().
void LCDshiftLeft | ( | uint8_t | ) |
Definition at line 436 of file lcd_lib.c.
References LCDsendCommand().
void LCDshiftRight | ( | uint8_t | ) |
Definition at line 443 of file lcd_lib.c.
References LCDsendCommand().
void LCDstring | ( | uint8_t * | ) |
Definition at line 369 of file lcd_lib.c.
References LCDsendChar().
Referenced by TestButton(), Welcome(), WriteCtrlMode(), WriteSetupGroup(), WriteSetupValue(), and WriteValue().
void LCDvisible | ( | void | ) |
Definition at line 466 of file lcd_lib.c.
References LCDsendCommand().