msg/msg.c File Reference

#include "stdio.h"
#include "../capi/ssd192X.h"
#include "string.h"
Include dependency graph for msg.c:

Data Structures

struct  stringTableType
struct  SSDRegTableType

Functions

void PrintToFile (FILE *f, char *str)
void PrintOutDefineOffset (FILE *f, char *defStr)
void PrintOutDefine (FILE *f, char *defStr, unsigned int l)
void WriteToDataFile (FILE *f, const unsigned char *data, unsigned long len)
unsigned int InsertFileToDataFile (FILE *fDataFile, const unsigned char *fileName)
void WriteStringTableToDataFile (FILE *fHeadFile, FILE *fDataFile, stringTableType *stringTable)
void WriteRegInitTable (FILE *fDataFile, SSDRegTableType *pTable, unsigned int len)
int main ()

Variables

unsigned int g_offset = 0
unsigned const char sofaChromeChars []
SSDRegTableType lcd_init []
SSDRegTableType jpeg_reg_init []
stringTableType stringTable []
const unsigned char jpegImage []

Function Documentation

unsigned int InsertFileToDataFile ( FILE *  fDataFile,
const unsigned char *  fileName 
)

References WriteToDataFile().

Here is the call graph for this function:

int main ( void   ) 
void PrintOutDefine ( FILE *  f,
char *  defStr,
unsigned int  l 
)

References PrintToFile().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void PrintOutDefineOffset ( FILE *  f,
char *  defStr 
)

References g_offset, and PrintToFile().

Referenced by main(), and WriteStringTableToDataFile().

Here is the call graph for this function:

Here is the caller graph for this function:

void PrintToFile ( FILE *  f,
char *  str 
)

Referenced by main(), PrintOutDefine(), PrintOutDefineOffset(), and WriteStringTableToDataFile().

Here is the caller graph for this function:

void WriteRegInitTable ( FILE *  fDataFile,
SSDRegTableType pTable,
unsigned int  len 
)

References SSDRegTableType::reg, and WriteToDataFile().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void WriteStringTableToDataFile ( FILE *  fHeadFile,
FILE *  fDataFile,
stringTableType stringTable 
)

References stringTableType::def, g_offset, PrintOutDefineOffset(), PrintToFile(), and WriteToDataFile().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void WriteToDataFile ( FILE *  f,
const unsigned char *  data,
unsigned long  len 
)

References g_offset.

Referenced by InsertFileToDataFile(), main(), WriteRegInitTable(), and WriteStringTableToDataFile().

Here is the caller graph for this function:


Variable Documentation

unsigned int g_offset = 0
const unsigned char jpegImage[]
Initial value:
 {
0xff,0xd8,0xff,0xe0,0x00,0x10,0x4a,0x46,0x49,0x46,0x00,0x01,0x01,0x01,0x00,0x60,0x00,0x60,0x00,0x00,0xff,0xdb,0x00,0x43,0x00,0x08,0x06,0x06,0x07,0x06,0x05,0x08,0x07,0x07,0x07,0x09,0x09,0x08,0x0a,0x0c,0x14,0x0d,0x0c,0x0b,0x0b,0x0c,0x19,0x12,0x13,0x0f,0x14,0x1d,0x1a,0x1f,0x1e,0x1d,0x1a,0x1c,0x1c,0x20,0x24,0x2e,0x27,0x20,0x22,0x2c,0x23,0x1c,0x1c,0x28,0x37,0x29,0x2c,0x30,0x31,0x34,0x34,0x34,0x1f,0x27,
0x39,0x3d,0x38,0x32,0x3c,0x2e,0x33,0x34,0x32,0xff,0xdb,0x00,0x43,0x01,0x09,0x09,0x09,0x0c,0x0b,0x0c,0x18,0x0d,0x0d,0x18,0x32,0x21,0x1c,0x21,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0x32,0xff,0xc0,
0x00,0x11,0x08,0x00,0x23,0x00,0x27,0x03,0x01,0x22,0x00,0x02,0x11,0x01,0x03,0x11,0x01,0xff,0xc4,0x00,0x1f,0x00,0x00,0x01,0x05,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0xff,0xc4,0x00,0xb5,0x10,0x00,0x02,0x01,0x03,0x03,0x02,0x04,0x03,0x05,0x05,0x04,0x04,0x00,0x00,0x01,0x7d,0x01,0x02,0x03,0x00,0x04,0x11,0x05,0x12,0x21,
0x31,0x41,0x06,0x13,0x51,0x61,0x07,0x22,0x71,0x14,0x32,0x81,0x91,0xa1,0x08,0x23,0x42,0xb1,0xc1,0x15,0x52,0xd1,0xf0,0x24,0x33,0x62,0x72,0x82,0x09,0x0a,0x16,0x17,0x18,0x19,0x1a,0x25,0x26,0x27,0x28,0x29,0x2a,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,
0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xff,0xc4,0x00,0x1f,0x01,0x00,0x03,
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0xff,0xc4,0x00,0xb5,0x11,0x00,0x02,0x01,0x02,0x04,0x04,0x03,0x04,0x07,0x05,0x04,0x04,0x00,0x01,0x02,0x77,0x00,0x01,0x02,0x03,0x11,0x04,0x05,0x21,0x31,0x06,0x12,0x41,0x51,0x07,0x61,0x71,0x13,0x22,0x32,0x81,0x08,0x14,0x42,0x91,0xa1,0xb1,0xc1,0x09,0x23,0x33,0x52,0xf0,0x15,
0x62,0x72,0xd1,0x0a,0x16,0x24,0x34,0xe1,0x25,0xf1,0x17,0x18,0x19,0x1a,0x26,0x27,0x28,0x29,0x2a,0x35,0x36,0x37,0x38,0x39,0x3a,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0xa2,0xa3,0xa4,0xa5,0xa6,
0xa7,0xa8,0xa9,0xaa,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xff,0xda,0x00,0x0c,0x03,0x01,0x00,0x02,0x11,0x03,0x11,0x00,0x3f,0x00,0xf5,0x0a,0x6c,0x92,0x24,0x31,0xb4,0x92,0x30,0x44,0x51,0x96,0x66,0x38,0x00,0x54,0x17,
0x77,0x12,0x42,0xd6,0xd1,0x42,0x88,0xf3,0x5c,0xcc,0xb0,0xc6,0x1d,0x8a,0xae,0x48,0x27,0x92,0x01,0x38,0xe3,0xd2,0xa3,0xbd,0xb2,0xd5,0x0c,0x32,0x41,0x71,0xfd,0x90,0x15,0x81,0x04,0x35,0xcc,0x9f,0xfc,0x6e,0xb9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0x63,0x89,0x5d,0x89,0x54,0xec,0x58,0x1e,0x84,0xfa,0x76,0x1d,0x79,0xe2,0xb9,0xe8,0xe0,0x93,0x56,0xbc,0x36,0x3a,0x79,0x22,0x15,0x38,0x9a,0xe0,0x77,0xf5,0x55,0x3f,0xd6,0xb7,0xb5,0x4b,0x2d,0x72,0xfd,0x22,0xd3,0xa4,0x9f,0x7c,0x0a,0x70,0x6e,0x8b,0x1f,0x31,0xa3,0xec,0xa7,0xdf,0xfd,
0xae,0xa4,0x7b,0xf3,0x5b,0x9a,0x5e,0x97,0x6f,0xa5,0xda,0x24,0x10,0x20,0x50,0x06,0x38,0x15,0xcb,0x47,0x04,0xb9,0xdb,0x6a,0xc9,0x6c,0x8f,0x36,0x96,0x5e,0x9d,0x57,0x29,0x2b,0x25,0xd3,0xb9,0x2d,0x85,0xa2,0x58,0xd9,0xc7,0x6e,0x9f,0x75,0x14,0x01,0x45,0x59,0xa2,0xbd,0x23,0xd7,0xd8,0x28,0xa2,0x8a,0x63,0x0a,0x28,0xa2,0x80,0x0a,0x28,0xa2,0x80,0x3f,0xff,0xd9}

Referenced by main().

unsigned const char sofaChromeChars[]

Referenced by main().

Initial value:
 
{
    {"offBootMsg",                      "#U-boot@omnima.co.uk "__DATE__"\n"},
    {"offSDMountFailed",        "#Failed to mount SD FS\n"},
    {"offOLCDPromtp",           "#OLCD:"},
    {"offSSDCommsNOK",          "#SSD192x comms failed: %x\n"},
    {"offInvalidCommand",       "#Invalid command\n"},
    {"offPrintReg",                     "#!%x\n"},
    {"offFopenFailed",          "#Failed to open file: '%s', error: %x\n"},
    {"offFreadFailed",          "#Failed to read file: '%s', error: %x\n"},
    {"offDirFormat",            "#%d,%s[%d]\n"},
    {"offFopenFailed2",         "#Open failed: %d: %s\n"},
    {"offFwriteFailed",         "#Write failed: %d, written: %d\n"},
    {"offFreadFailed2",         "#Read failed: %d, read: %d\n"},
    {0,0}
}
Generated on Wed Mar 23 11:08:38 2011 for Omnima LCD by  doxygen 1.6.3