ButterflyMP3

LCD_driver.c File Reference

#include <avr/io.h>
#include <avr/pgmspace.h>
#include <inttypes.h>
#include <avr/interrupt.h>
#include "main.h"
#include "button.h"
#include "LCD_driver.h"
#include "avrfat16.h"
Include dependency graph for LCD_driver.c:

Go to the source code of this file.

Defines

#define BOOL   char
#define FALSE   0
#define TRUE   (!FALSE)

Functions

void LCD_Init (void)
void LCD_WriteDigit (char c, char digit)
void LCD_AllSegments (char show)
 SIGNAL (SIG_LCD)

Variables

unsigned char gButtonTimeout
char gAutoPressJoystick
volatile char gLCD_Update_Required = 0
char LCD_Data [20]
char gTextBuffer [16]
volatile signed char gScroll
volatile char gScrollMode
char gLCD_Start_Scroll_Timer = 0
char gFlashTimer = 0
char gColon = 0
char gShowFilename
unsigned int LCD_character_table[] PROGMEM

Define Documentation

#define BOOL   char

Definition at line 37 of file LCD_driver.c.

#define FALSE   0

Function Documentation

void LCD_AllSegments ( char  show)

Definition at line 250 of file LCD_driver.c.

References LCD_Data, and LCD_REGISTER_COUNT.

Referenced by LCD_Init().

void LCD_Init ( void  )

Definition at line 150 of file LCD_driver.c.

References FALSE, gLCD_Update_Required, LCD_AllSegments(), LCD_CONTRAST_LEVEL, and LCD_INITIAL_CONTRAST.

Here is the call graph for this function:

void LCD_WriteDigit ( char  c,
char  digit 
)

Definition at line 193 of file LCD_driver.c.

References LCD_Data.

Referenced by SIGNAL().


Variable Documentation

unsigned char gButtonTimeout

Definition at line 42 of file button.c.

Referenced by getkey(), mainTimer(), and PinChangeInterrupt().

char gColon = 0

Definition at line 71 of file LCD_driver.c.

Referenced by LCD_Colon(), and SIGNAL().

char gFlashTimer = 0

Definition at line 68 of file LCD_driver.c.

Referenced by LCD_FlashReset(), and SIGNAL().

Definition at line 64 of file LCD_driver.c.

Referenced by LCD_puts(), LCD_puts_f(), and SIGNAL().

volatile char gLCD_Update_Required = 0

Definition at line 48 of file LCD_driver.c.

Referenced by LCD_Init(), LCD_puts(), LCD_puts_f(), LCD_UpdateRequired(), and SIGNAL().

volatile signed char gScroll

Definition at line 60 of file LCD_driver.c.

Referenced by LCD_puts(), LCD_puts_f(), LCD_UpdateRequired(), and SIGNAL().

volatile char gScrollMode

Definition at line 61 of file LCD_driver.c.

Referenced by LCD_puts(), LCD_puts_f(), LCD_UpdateRequired(), and SIGNAL().

Definition at line 74 of file LCD_driver.c.

Referenced by LCD_puts(), LCD_puts_f(), and SIGNAL().

char gTextBuffer[16]

Definition at line 55 of file LCD_driver.c.

Referenced by LCD_Clear(), LCD_putc(), LCD_puts(), LCD_puts_f(), and SIGNAL().

char LCD_Data[20]

Definition at line 51 of file LCD_driver.c.

Referenced by LCD_AllSegments(), LCD_WriteDigit(), and SIGNAL().

unsigned int LCD_character_table [] PROGMEM

Definition at line 79 of file LCD_driver.c.

 All Files Functions Variables Typedefs Enumerations Enumerator Defines