main.c File Reference

#include "type.h"
#include "text.h"
#include "cmds.h"
#include "window.h"
#include "2d.h"
#include "sprintf.h"
#include "uart.h"
#include "io-uart.h"
#include "system.h"
#include "terminal.h"
#include "ff.h"
#include "file.h"
#include "color.h"
#include "key.h"
#include "interrupts.h"
#include "config-flash.h"
#include "msg.h"
#include "uart-ssd.h"
#include "touch.h"
#include "uart-isr.h"
#include "armVIC.h"
#include "cursor.h"
#include "panel.h"
#include "textblt.h"
#include "rtc.h"
#include "sstr.h"
#include "ssdalloc.h"
#include "trace.h"
Include dependency graph for main.c:
This graph shows which files directly or indirectly include this file:

Functions

void ConsoleOut (UINT8 bIsMandatory, const char *str,...)
void ConnectSSD192x ()
void DisconnectSSD192x ()
UINT8 Idle ()
void UARTReceiveSingleTextLine (char *str, UINT32 bufLen, UINT8 echoOn, pIdle pI, pCharRecv pCR)
UINT8 convertFromCmdOrientTo2DOrient (INT32 orient)
int main (void)

Variables

UINT8 g_uartEchoOn = 1
UINT32 g_ssdDir = 0xFFFFFFFF
keyStateType g_keyState
UINT32 g_tickP027
UINT32 g_tickP027local = 0
UINT8 g_inTouchConv = 0
SSDRGBAType blackColor = {0,0,0,0}
const char * g_offPrintReg = "#!%x\n"

Function Documentation

void ConnectSSD192x (  ) 

References g_ssdDir, and SSD1928_CSDown().

Referenced by Idle(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

void ConsoleOut ( UINT8  bIsMandatory,
const char *  str,
  ... 
)

References funcprintfArp(), g_uartEchoOn, GetTermStatus(), TermSendChar(), and UART_SendChar().

Referenced by EnumDirToConsole(), Idle(), LoadFileToSSDMem(), main(), OpenFile(), PlayMJPEG(), ReadFile(), and WriteFile().

Here is the call graph for this function:

Here is the caller graph for this function:

UINT8 convertFromCmdOrientTo2DOrient ( INT32  orient  ) 

References NONE, ROT270, ROT90, subcmdHor2Orient, subcmdHorOrient, subcmdVer2Orient, subcmdVerOrient, and VFLIP.

Referenced by main().

Here is the caller graph for this function:

void DisconnectSSD192x (  ) 

References g_ssdDir, PORTD_LCDPOWER, PORTD_SSD1928_RESET, and SSD1928_CSUp().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

UINT8 Idle (  ) 
int main ( void   ) 

References SSDRGBAType::a, ADC_CHANNEL_ONE, ADC_Init(), SSDRGBAType::b, ClearDisplay(), ssdcmdTypeTag::cmd, cmdArc, cmdBacklight, cmdBkColor, cmdBlt, cmdCLS, cmdCursor, cmdDisplay, cmdEcho, cmdEnterISP, ssdcmdTypeTag::cmdExtra, ssdcmdTypeTag::cmdExtraLen, cmdFCLOSE, cmdFILETOSSD, cmdFloatWin, cmdFOPEN, cmdFrame, cmdFrColor, cmdFREAD, cmdFWRITE, cmdIOMode, cmdLCDSPI, cmdLine, cmdLS, cmdPixel, cmdPlayMJPEG, cmdReboot, cmdRect, cmdSetCurPos, cmdSetFont, cmdSLIDE, cmdSSDMEMRB, cmdSSDMEMRW, cmdSSDMEMWW, cmdSSDREGRB, cmdSSDREGRW, cmdSSDREGWB, cmdSSDREGWW, cmdSSDRESET, cmdStreamMJPEG, cmdTERM, cmdText, cmdUARTBaud, cmdWEE, CONFIGBYTES_FIRST_BOOTUP_FLAG_OFF, ConnectSSD192x(), ConsoleOut(), convertFromCmdOrientTo2DOrient(), CurShapeToSSDMem(), CURSOR_NORMAL, CURSORWIN_START_MEM, delay_ms(), ssdcmdTypeTag::dest, DisconnectSSD192x(), DisplayOnOff(), enableIRQ(), EnterISPMode(), EnumDirToConsole(), f_close(), f_mount(), fc_check(), fc_ee_checksum(), fc_ee_checksum_complete(), fc_get_first_bootup_flag(), fc_update_bootup_count(), fc_update_bootup_value(), fc_update_first_bootup_flag(), FILEBUFFER_START_MEM, FIOCLR, FIOSET, FLOATWIN_START_MEM, FR_OK, SSDRGBAType::g, g_uartEchoOn, Get16bitColor(), GetTermStatus(), GetTermWindow(), GPIOInit(), _WINDOW::height, Idle(), indirect_fast(), indirect_slow(), InitKeyState(), InitUART(), ssdcmdTypeTag::intPair, ssdcmdTypeTag::intQuad, LCD_SetReg(), LoadFileToSSDMem(), MAINWIN_START_MEM, _WINDOW::mem_offset, NONE, offInvalidCommand, offSDMountFailed, OpenFile(), ParseCmdLine(), ParseErrorMissingLeadChars, PlayMJPEG(), PORTD_LCDPOWER, PORTD_SSD1928_RESET, ProcessUartIo(), SSDRGBAType::r, ReadFile(), REG_DV_OFORMAT, SCRATCHWIN_START_MEM, SetActiveFont(), SetFontColor(), SetFontWindow(), SetTermFontData(), SetTermOrgXY(), SetTermStatus(), SetTermWindow(), SSD1928Init(), ssd192X_cursor_attr(), ssd192X_cursor_hide(), ssd192X_cursor_luts(), ssd192X_cursor_moveto(), ssd192X_cursor_show(), SSD192X_DISPLAYMODE_RGB16, SSD192X_DISPLAYMODE_RGB2, ssd_2d_arc(), ssd_2d_blt(), ssd_2d_line(), ssd_2d_rect(), ssd_2d_rect_outline(), ssd_floatwin_move(), SSD_MEMRB, SSD_MEMRW, SSD_REGRB, SSD_REGRW, SSD_REGWB, SSD_REGWW, ssd_set_16bbp_srcdst_mode(), ssd_window_create(), ssd_window_create_with_memory(), ssd_window_hide(), StreamMJPEGFromUART(), StringToCursorMem(), ssdcmdTypeTag::subcmd, subcmdDstCursor1, subcmdDstFloatWin, subcmdDstMainWin, subcmdDstScratchWin, subcmdHex, subcmdHide, subcmdMove, subcmdOff, subcmdOn, subcmdOpen, subcmdShow, TermCharRecv(), TermCls(), TERMCURSOR_START_MEM, TermSetCurPos(), TextOut(), timer2_init(), timer_init(), TP_Done(), TP_Init(), UART_printf(), UARTInit(), UARTReceiveSingleTextLine(), VPBDIV, WDTInit(), _WINDOW::width, WIN_CURSOR1, WIN_CURSOR2, WIN_FLOATING, WIN_MAINPANEL, WIN_SUBPANEL, WriteFile(), WriteToEEFromSSDMem(), WriteToSSDFromUART(), and WriteToUARTFromSSD().

void UARTReceiveSingleTextLine ( char *  str,
UINT32  bufLen,
UINT8  echoOn,
pIdle  pI,
pCharRecv  pCR 
)

References DisableUART(), g_uartInit, SSD1928_CSDown(), SSD1928_CSUp(), U0LSR, U0RBR, U0THR, uart0_transmit(), Uart0ChAvailable(), Uart0Getch(), and UARTInit().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

SSDRGBAType blackColor = {0,0,0,0}
const char* g_offPrintReg = "#!%x\n"
UINT32 g_ssdDir = 0xFFFFFFFF

Referenced by timer2_ISR().

Referenced by ConsoleOut(), and main().

Generated on Wed Mar 23 11:08:38 2011 for Omnima LCD by  doxygen 1.6.3