EDF - OnePIC MCU
v1.1.0
|
#include "bsp.h"
#include <stdint.h>
Go to the source code of this file.
#define | LCD_LINES 2 |
#define | LCD_LINE_LENGTH 40 |
#define | CLEAR_DISPLAY 0x01 |
clear display | |
#define | RETURN_HOME 0x02 |
return to (0,0) or rather top-left | |
#define | ENTRY_MODE_SET 0x04 |
specify direction of cursor movement and display shift mode | |
#define | INCREMENT 0x02 |
increment after each write | |
#define | DECREMENT 0x00 |
decrement after each write | |
#define | SHIFT_ON 0x01 |
shift display or move cursor? | |
#define | SHIFT_OFF 0x00 |
shift display or move cursor? | |
#define | DISPLAY_CONTROL 0x08 |
#define | DISPLAY_ON 0x04 |
#define | DISPLAY_OFF 0x00 |
#define | CURSOR_ON 0x02 |
#define | CURSOR_OFF 0x00 |
#define | BLINKING_ON 0x01 |
#define | BLINKING_OFF 0x00 |
#define | CURSOR_DISPLAY_SHIFT 0x10 |
#define | DISPLAY_SHIFT_ON 0x08 |
#define | DISPLAY_SHIFT_OFF 0x00 |
#define | CURSOR_SHIFT_OFF 0x08 |
#define | CURSOR_SHIFT_ON 0x00 |
#define | SHIFT_RIGHT 0x04 |
#define | SHIFT_LEFT 0x00 |
#define | FUNCTION_SET 0x20 |
#define | EIGHT_BITS 0x10 |
#define | FOUR_BITS 0x00 |
#define | TWO_LINES 0x08 |
#define | ONE_LINE 0x00 |
#define | FIVEXTEN 0x04 |
#define | FIVEXEIGHT 0x00 |
#define | SET_CGRAM_ADDR 0x40 |
#define | SET_DDRAM_ADDR 0x80 |
#define | READ_BUSY_FLAG_ADDR |
#define | WRITE_DATA |
#define | READ_DATA |
char | LCDBuffer [LCD_LINES][LCD_LINE_LENGTH] |
void | LCDStrobeEnable (void) |
toggles enable pin for LCD sample pins | |
void | LCDDataPut (unsigned char data) |
bit-bang upper nibble to LCD | |
void | LCDCommand (unsigned char command) |
writing to the internals of the LCD | |
void | LCDPut (unsigned char character) |
write a single data byte to the LCD | |
void | LCDInit (void) |
Initilize the LCD. | |
void | LCDUpdate (void) |
Update the LCD using LCDBuffer[0] and LCDBuffer[1]. | |
void | LCDPutLine (uint8_t lineNo) |
Definition in file OnePIC_lcd.h.