?? spl10tab.h
字號:
/*============================================================================
Copyright (c) 2001 Sunplus Technology Co., Ltd.
Module Name: SPL10tab.H
Abstract: Module related to SPL10 routine
Environment: Keil C51 Compiler
Revision History: 11/13/2002 XYQ created
=============================================================================*/
//-----------------------------------------------------------------------------
// SPL10 ICON TABLE
//-----------------------------------------------------------------------------
#ifdef SPL10
#define Digital7Segment_Numbers 9
#define Icon_TowDotS Digital7Segment_Numbers*7
#define Icon_REP_ALL Digital7Segment_Numbers*7+1
#define Icon_REP_1 Digital7Segment_Numbers*7+2
#define Icon_MP3 Digital7Segment_Numbers*7+3
#define Icon_WMA Digital7Segment_Numbers*7+4
#define Icon_DVRD Digital7Segment_Numbers*7+5
#define Icon_DVRE Digital7Segment_Numbers*7+6
#define Icon_Dash1 Digital7Segment_Numbers*7+7
#define Icon_REP_CYCLE Digital7Segment_Numbers*7+8
#define Icon_REP_A Digital7Segment_Numbers*7+9
#define Icon_REP_B Digital7Segment_Numbers*7+10
#define Icon_PC_Link Digital7Segment_Numbers*7+11
#define Icon_Batt_Frame Digital7Segment_Numbers*7+12
#define Icon_Batt_1 Digital7Segment_Numbers*7+13
#define Icon_Batt_2 Digital7Segment_Numbers*7+14
#define Icon_Batt_3 Digital7Segment_Numbers*7+15
#define Icon_Playing Digital7Segment_Numbers*7+16
#define Icon_Pause Digital7Segment_Numbers*7+17
#define Icon_Stop Digital7Segment_Numbers*7+18
#define Icon_Lock Digital7Segment_Numbers*7+19
#define Icon_DELETE Digital7Segment_Numbers*7+20
#define Icon_Auto_Study Digital7Segment_Numbers*7+21
#define Icon_Manual_Study Digital7Segment_Numbers*7+22
//
// -- -- -- -- -- -- -- -- --
// | | | | | | | | | | . | | | | . | | | |
// -- -- -- -- -- -- -- -- -- --
// | | | | | | | | | | . | | | | . | | | |
// -- -- -- -- -- -- -- -- --
// N2 N1 N0 h1 h0 m1 m0 s1 s0
// 8 7 6 5 4 3 2 1 0 (7 Segement Address)
//------------------------------------------------------------------------------
code unsigned char IconAddress[][Digital7Segment_Numbers*7+23]=
{
//------------------------------------------------------------------------------------
//Customer A
//BYTE Format: high nibble==icon bit offset;(value:0x00----0x07)
// low nibble==spl10 address of icon(value:0x00----0x0f)
// 0x7f means no this Icon
//Second0 A B C D E F G
0x37, 0x77, 0x57, 0x07, 0x17, 0x27, 0x67, //7 Segement Address0
//Second1 A B C D E F G
0x36, 0x76, 0x56, 0x06, 0x16, 0x26, 0x66, //7 Segement Address1
//Minute0 A B C D E F G
0x35, 0x75, 0x55, 0x05, 0x15, 0x25, 0x65, //7 Segement Address2
//Minute1 A B C D E F G
0x34, 0x74, 0x54, 0x04, 0x14, 0x24, 0x64, //7 Segement Address3
//小時目前還沒用到
//Hour0 A B C D E F G
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, //7 Segement Address4
//Hour1 A B C D E F G
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, //7 Segement Address5
//Number0 A B C D E F G
0x33, 0x73, 0x53, 0x03, 0x13, 0x23, 0x63, //7 Segement Address6
//Number1 A B C D E F G
0x32, 0x72, 0x52, 0x02, 0x12, 0x22, 0x62, //7 Segement Address7
//Number2 A B C D E F G
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, //7 Segement Address8
// TowDotS REP_ALL REP_1 'MP3' 'WMA' 'DVRD' 'REC'
0x70, 0x40, 0x50, 0x42, 0x7f, 0x44, 0x43,
// Dash1 REP_CYCLE'REP_A' 'REP_B' 'PC_Link''Batt_Fr''Batt_1'
0x71, 0x01, 0x11, 0x21, 0x47, 0x20, 0x00,
// 'Batt_2' 'Batt_3' 'Playing''Pause' 'Stop' 'Lock' 'Delete'
0x30, 0x10, 0x41, 0x51, 0x61, 0x60, 0x46,
// 'Astudy' 'MStudy'
0x7f, 0x7f,
//------------------------------------------------------------------------------------
//Customer B
//BYTE Format: high nibble==icon bit offset;(value:0x00----0x07)
// low nibble==spl10 address of icon(value:0x00----0x0f)
// 0x7f means no this Icon
//Second0 A B C D E F G
0x07, 0x17, 0x27, 0x37, 0x66, 0x46, 0x56, //7 Segement Address0
//Second1 A B C D E F G
0x06, 0x16, 0x26, 0x36, 0x65, 0x45, 0x55, //7 Segement Address1
//Minute0 A B C D E F G
0x05, 0x15, 0x25, 0x35, 0x64, 0x44, 0x54, //7 Segement Address2
//Minute1 A B C D E F G
0x04, 0x14, 0x24, 0x34, 0x63, 0x43, 0x53, //7 Segement Address3
//小時目前還沒用到
//Hour0 A B C D E F G
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, //7 Segement Address4
//Hour1 A B C D E F G
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, //7 Segement Address5
//Number0 A B C D E F G
0x03, 0x13, 0x23, 0x33, 0x62, 0x42, 0x52, //7 Segement Address6
//Number1 A B C D E F G
0x02, 0x12, 0x22, 0x32, 0x61, 0x41, 0x51, //7 Segement Address7
//Number2 A B C D E F G
0x01, 0x11, 0x21, 0x31, 0x60, 0x40, 0x50, //7 Segement Address8
// TowDotS REP_ALL REP_1 'MP3' 'WMA' 'DVRD' 'REC'
0x75, 0x74, 0x71, 0x58, 0x7f, 0x28, 0x38,
// Dash1 REP_CYCLE'REP_A' 'REP_B' 'PC_Link''Batt_Fr''Batt_1'
0x73, 0x7f, 0x30, 0x70, 0x76, 0x38, 0x57,
// 'Batt_2' 'Batt_3' 'Playing''Pause' 'Stop' 'Lock' 'Delete'
0x67, 0x77, 0x00, 0x10, 0x48, 0x20, 0x08,
// 'study' 'MStudy'
0x7f, 0x7f,
//------------------------------------------------------------------------------------
//sunplus V1.1
//BYTE Format: high nibble==icon bit offset;(value:0x00----0x07)
// low nibble==spl10 address of icon(value:0x00----0x0f)
// 0x7f means no this Icon
//Second0 A B C D E F G
0x46, 0x56, 0x76, 0x36, 0x26, 0x16, 0x66, //7 Segement Address0
//Second1 A B C D E F G
0x45, 0x55, 0x75, 0x35, 0x25, 0x15, 0x65, //7 Segement Address1
//Minute0 A B C D E F G
0x44, 0x54, 0x74, 0x34, 0x24, 0x14, 0x64, //7 Segement Address2
//Minute1 A B C D E F G
0x43, 0x53, 0x73, 0x33, 0x23, 0x13, 0x63, //7 Segement Address3
//小時目前還沒用到
//Hour0 A B C D E F G
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, //7 Segement Address4
//Hour1 A B C D E F G
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, //7 Segement Address5
//Number0 A B C D E F G
0x42, 0x52, 0x72, 0x32, 0x22, 0x12, 0x62, //7 Segement Address6
//Number1 A B C D E F G
0x41, 0x51, 0x71, 0x31, 0x21, 0x11, 0x61, //7 Segement Address7
//Number2 A B C D E F G
0x40, 0x50, 0x70, 0x30, 0x20, 0x10, 0x60, //7 Segement Address8
// TowDotS REP_ALL REP_1 'MP3' 'WMA' 'DVRD' 'DVRE'
0x07, 0x01, 0x02, 0x37, 0x7f, 0x17, 0x7f,
// Dash1 REP_CYCLE'REP_A' 'REP_B' 'PC_Link''Batt_Fr''Batt_1'
0x7f, 0x7f, 0x03, 0x04, 0x00, 0x7f, 0x7f,
// 'Batt_2' 'Batt_3' 'Playing''Pause' 'Stop' 'Lock' 'Delete'
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f,
// 'study' 'MStudy'
0x27, 0x7f,
//------------------------------------------------------------------------------------
//sunplus V1.3
//BYTE Format: high nibble==icon bit offset;(value:0x00----0x07)
// low nibble==spl10 address of icon(value:0x00----0x0f)
// 0x7f means no this Icon
//Second0 A B C D E F G
0x7a, 0x6a, 0x4a, 0x0a, 0x1a, 0x2a, 0x5a, //7 Segement Address0
//Second1 A B C D E F G
0x79, 0x69, 0x49, 0x09, 0x19, 0x29, 0x59, //7 Segement Address1
//Minute0 A B C D E F G
0x78, 0x68, 0x48, 0x08, 0x18, 0x28, 0x58, //7 Segement Address2
//Minute1 A B C D E F G
0x77, 0x67, 0x47, 0x07, 0x17, 0x27, 0x57, //7 Segement Address3
//小時目前還沒用到
//Hour0 A B C D E F G
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, //7 Segement Address4
//Hour1 A B C D E F G
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, //7 Segement Address5
//Number0 A B C D E F G
0x76, 0x66, 0x46, 0x06, 0x16, 0x26, 0x56, //7 Segement Address6
//Number1 A B C D E F G
0x75, 0x65, 0x45, 0x05, 0x15, 0x25, 0x55, //7 Segement Address7
//Number2 A B C D E F G
0x74, 0x64, 0x44, 0x04, 0x14, 0x24, 0x54, //7 Segement Address8
//icon TowDotS REP_ALL REP_1 'MP3' 'WMA' 'DVRD' 'DVRE'
0x38, 0x62, 0x31, 0x32, 0x72, 0x30, 0x63,
// Dash1 REP_CYCLE'REP_A' 'REP_B' 'PC_Link''Batt_Fr''Batt_1'
0x7f, 0x7f, 0x50, 0x51, 0x02, 0x34, 0x37,
// 'Batt_2' 'Batt_3' 'Playing''Pause' 'Stop' 'Lock' 'Delete'
0x36, 0x35, 0x03, 0x13, 0x23, 0x43, 0x42,
// 'AutoSt' 'MStudy'
0x33, 0x53,
};
//------------------------------------------------------------------------------
// bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
// X g f e d c b a
// ====a====
// || ||
// || ||
// ff bb
// || ||
// ====g====
// || ||
// ee cc
// || ||
// || ||
// ====d====
//
code unsigned char ASCIITable[]=
{
// MDigit0 MDigit1 MDigit2 MDigit3 MDigit4 MDigit5 MDigit6 MDigit7 MDigit8 MDigit9
0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f,
// 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J'
0x77, 0x7c, 0x39, 0x5e, 0x79, 0x71, 0x7d, 0x76, 0x30, 0x0e,
// 'K' 'L' 'M' 'N' 'O' 'P' 'Q' 'R' 'S' 'T'
0x76, 0x38, 0x79, 0x37, 0x3f, 0x73, 0x67, 0x50, 0x6d, 0x31,
// 'U' //'V' //'W' //'X' //'Y' //'Z' //'a' //'b' //'c' //'d'
0x3e, 0x3e, 0x4f, 0x76, 0x6e, 0x5b, 0x5f, 0x7c, 0x58, 0x5e,
// //'e' //'f' //'g' //'h' //'i' //'j' //'k' //'l' //'m' //'n'
0x7b, 0x71, 0x7d, 0x74, 0x30, 0x0e, 0x76, 0x38, 0x79, 0x54,
// //'o' //'p' //'q' //'r' //'s' //'t' //'u' //'v' //'w' //'x'
0x5c, 0x73, 0x67, 0x50, 0x6d, 0x78, 0x1c, 0x1c, 0x4f, 0x76,
// //'y' //'z' //' ' //'?' //'_' //'-'
0x6e, 0x5b, 0x00, 0x53, 0x08, 0x40,
};
#endif//#ifdef SPL10
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -