ButterflyMP3
|
#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"
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 BOOL char |
Definition at line 37 of file LCD_driver.c.
#define FALSE 0 |
Definition at line 38 of file LCD_driver.c.
Referenced by cue_file(), getkey(), handle_mmc(), LCD_Init(), MMC_Detect(), PinChangeInterrupt(), restore_player(), SIGNAL(), streaming(), and update_LCD().
#define TRUE (!FALSE) |
Definition at line 39 of file LCD_driver.c.
Referenced by ADC2Temp(), cue_file(), handle_interface(), handle_mmc(), main(), mainTimer(), MMC_Detect(), open_Dir(), PinChangeInterrupt(), play_track_number(), restore_player(), SIGNAL(), streaming(), volume_down(), and volume_up().
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.
void LCD_WriteDigit | ( | char | c, |
char | digit | ||
) |
SIGNAL | ( | SIG_LCD | ) |
Definition at line 275 of file LCD_driver.c.
References EOL, FALSE, FAT16_longfilename, gColon, gFlashTimer, gLCD_Start_Scroll_Timer, gLCD_Update_Required, gScroll, gScrollMode, gShowFilename, gTextBuffer, LCD_Data, LCD_FLASH_SEED, LCD_REGISTER_COUNT, LCD_TIMER_SEED, LCD_WriteDigit(), pLCDREG, and TRUE.
char gAutoPressJoystick |
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().
char gLCD_Start_Scroll_Timer = 0 |
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().
char gShowFilename |
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.