EDF - OnePIC MCU  v1.1.0
LCD
Collaboration diagram for LCD:

Functions

void LCDStrobeEnable (void)
 toggles enable pin for LCD sample pins
void LCDLowNibPut (uint8_t data)
 bit-bang lower nibble
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].

Variables

char LCDBuffer [LCD_LINES][LCD_LINE_LENGTH]

Detailed Description

Note:
LCD Model #: TSB1G7000 based on NT7603 controller

Function Documentation

void LCDCommand ( unsigned char  command)

writing to the internals of the LCD

Parameters:
commandLCD command
Note:
see the NT7603 datasheet for commands and timing specs

Definition at line 82 of file OnePIC_lcd.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDDataPut ( unsigned char  data)

bit-bang upper nibble to LCD

Parameters:
databyte to write

Definition at line 54 of file OnePIC_lcd.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDInit ( void  )

Initilize the LCD.

  • 4-bit mode
  • two lines
  • cursor OFF
  • blinking OFF
  • clear screen

Definition at line 119 of file OnePIC_lcd.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDLowNibPut ( uint8_t  data)

bit-bang lower nibble

Parameters:
databyte to write

Definition at line 37 of file OnePIC_lcd.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDPut ( unsigned char  character)

write a single data byte to the LCD

Parameters:
charactercharacter to write

Definition at line 92 of file OnePIC_lcd.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void LCDUpdate ( void  )

Update the LCD using LCDBuffer[0] and LCDBuffer[1].

Precondition:
load the LCD buffers before updating
Note:
will always RETURN_HOME before writing

Definition at line 163 of file OnePIC_lcd.c.

Here is the call graph for this function:

Here is the caller graph for this function: