?? help.c
字號:
uint8r_t Help_ER_1[]= {"ER :Error Recording"};
uint8r_t Help_ER_2[]= {"ERCn :Clear error n."};
uint8r_t Help_ER_3[]= {"ERD :Display errors."};
uint8r_t Help_ER_4[]= {"ERSn :Set error n."};
uint8r_t Help_ER_5[]= {"For example: ers10;erd"};
uint8r_t Help_ER_6[]= {" Set error 10, display errors."};
uint8r_t * code ERHelp[] = {
Help_ER_1, Help_ER_2, Help_ER_3, Help_ER_4,
Help_EE_5, Help_EE_6,
NULL
};
#endif
// Wait for software watchdog
uint8r_t Help_W_1[]= {"W - Wait for software watchdog to reset"};
uint8r_t * code WHelp[] = {
Help_W_1, NULL
};
// Reset Part
uint8r_t Help_Z_1[]= {"Z - Software simulates reset"};
uint8r_t * code ZHelp[] = {
Help_Z_1, NULL
};
// Meter Controls.
uint8r_t Help_M[] = {"M - Meter Totals Display"};
uint8r_t Help_M0[] = {"M0 - No display update"};
#if TEMPERATURE
uint8r_t Help_M1[] = {"M1 - Temperature (degrees delta)"};
#endif
#if FREQUENCY
uint8r_t Help_M2[] = {"M2 - Frequency (Hz)"};
#endif
#if WATT_ELEMENT && IMPORT
uint8r_t Help_M3[] = {"M3.element - Wh Total Imported Energy; 0=Total"};
#endif
#if WATT_ELEMENT && EXPORT
uint8r_t Help_M4[] = {"M4.element - Wh Total Exported Energy; 0=Total"};
#endif
#if VAR_ELEMENT && IMPORT
uint8r_t Help_M5[] = {"M5.element - VARh Imported Energy; 0=Total"};
#endif
#if VAR_ELEMENT && EXPORT
uint8r_t Help_M6[] = {"M6.element - VARh Exported Energy; 0=Total"};
#endif
#if VA_ELEMENT
uint8r_t Help_M7[] = {"M7.element - VAh 0=Total"};
#endif
#if OPERATING_TIME
uint8r_t Help_M8[] = {"M8 - Operating Hours (clock must be set)"};
#endif
#if REAL_TIME_DATE
uint8r_t Help_M9[] = {"M9 - Real Time Clock"};
uint8r_t Help_M10[] = {"M10 - Calendar Date"};
#endif
#if POWER_FACTOR
uint8r_t Help_M11[] = {"M11.element - Power factor at element"};
#endif
#if PHASE_ANGLES
uint8r_t Help_M11[] = {"M11.element - V/I angle at element (degrees)"};
#endif
#if VOLTAGE_PHASES
uint8r_t Help_M12[] = {"M12.select - V/V (degrees) 0=A/B, 1 = A/C"};
#endif
#if MAIN_EDGE_COUNT
uint8r_t Help_M13[] = {"M13.select - Edge count:0=cumulative, 1=last second"};
#endif
#if PULSE_CNT
uint8r_t Help_M14[] = {"M14.select - Pulse count:0=Wh LED, 1=VARh LED"};
#endif
#if RMS_VALUES
uint8r_t Help_M15[] = {"M15.select - Irms"};
uint8r_t Help_M16[] = {"M16.select - Vrms"};
#endif
#if BATTERY_TEST
uint8r_t Help_M17[] = {"M17 - Battery voltage"};
#endif
#if RMS_VALUES
uint8r_t Help_M18[] = {"MR.. RMS Values."};
#endif
uint8r_t Help_M19[] = {""};
#if SCROLL_METER
uint8r_t Help_M20[] = {"Press button to scroll LCD"};
#endif
#if PHASE_C_PRESENT
uint8r_t Help_M21[] = {"element: A = 1; B = 2; C = 3"};
#else
uint8r_t Help_M21[] = {"element: A = 1; B = 2"};
#endif
uint8r_t * code MHelp[] = {
Help_M, Help_M0,
#if TEMPERATURE
Help_M1,
#endif
#if FREQUENCY
Help_M2,
#endif
#if WATT_ELEMENT && IMPORT
Help_M3,
#endif
#if WATT_ELEMENT && EXPORT
Help_M4,
#endif
#if VAR_ELEMENT && IMPORT
Help_M5,
#endif
#if VAR_ELEMENT && EXPORT
Help_M6,
#endif
#if VA_ELEMENT
Help_M7,
#endif
#if OPERATING_TIME
Help_M8,
#endif
#if REAL_TIME_DATE
Help_M9,
Help_M10,
#endif
#if PHASE_ANGLES
Help_M11,
#endif
#if POWER_FACTOR
Help_M11,
#endif
#if VOLTAGE_PHASES
Help_M12,
#endif
#if MAIN_EDGE_COUNT
Help_M13,
#endif
#if PULSE_CNT
Help_M14,
#endif
#if RMS_VALUES
Help_M15,
Help_M16,
#endif
#if BATTERY_TEST
Help_M17,
#endif
#if RMS_VALUES
Help_M18,
#endif
Help_M19,
#if SCROLL_METER
Help_M20,
#endif
Help_M21, NULL
};
#if RMS_VALUES
// Meter RMS Controls.
uint8r_t Help_MR[] = {"MR - Meter RMS Display"};
uint8r_t Help_MR1[]= {"MR1.element - RMS Current on element."};
uint8r_t Help_MR2[]= {"MR2.element - RMS Voltage on element."};
uint8r_t Help_MR3[]= {""};
uint8r_t Help_MR4[]= {"Element: A = 1; B = 2; C = 3"};
uint8r_t * code MRHelp[] = {
Help_MR, Help_MR1, Help_MR2, Help_MR3, Help_MR4, NULL
};
#endif
// Power Save Mode.
uint8r_t Help_PS[] = {"PS - Power Save Mode"};
uint8r_t Help_PS0[] = {" Disables: CE, ADC, CKOUT, ECK, RTM, SSI, TMUX and VREF"};
uint8r_t Help_PS1[] = {" Sets MPU Speed to 38.4KHz and Serial Port is off"};
uint8r_t * code PSHelp[] = { Help_PS, Help_PS0, Help_PS1, NULL };
#if ENHANCED_TRIM
uint8r_t Help_T_1[]= {"T - Trim Controls"};
uint8r_t Help_T_2[]= {"Tn - Read selected trim."};
uint8r_t * code THelp[] = {
Help_T_1, Help_T_2, NULL
};
#endif
// CE Data Memory Access.
uint8r_t Help_DA_1[] = {"] : CE Data Access"};
uint8r_t Help_DA_2[] = {"]x.. : Starting CE data address"};
uint8r_t Help_DA_3[] = {" ..???.. : Read consecutive 32-bit words in Decimal"};
uint8r_t Help_DA_4[] = {" ..$$$.. : Read consecutive 32-bit words in Hex"};
uint8r_t Help_DA_5[] = {" ..=n=n.. : Write consecutive memory' values"};
uint8r_t Help_DA_6[] = {"]U ; Update default version of CE Data (overwrites flash)"};
uint8r_t Help_DA_7[] = {""};
uint8r_t Help_DA_8[] = {"For example :]40$$$ - Read CE data words 0x40, 0x41 and 0x42."};
uint8r_t Help_DA_9[] = {" ]7E=12345678=9876ABCD - Write two words starting @ 0x7E"};
uint8r_t * code DAHelp[] = {
Help_DA_1, Help_DA_2, Help_DA_3, Help_DA_4, Help_DA_5,
Help_DA_6, Help_DA_7, Help_DA_8, Help_DA_9, NULL
};
// MPU Data Memory Access.
uint8r_t Help_MA_1[] = {") : MPU Data Access"};
uint8r_t Help_MA_2[] = {")x.. : Starting MPU data address"};
uint8r_t Help_MA_3[] = {" ..???.. : Read consecutive 32-bit words in Decimal"};
uint8r_t Help_MA_4[] = {" ..$$$.. : Read consecutive 32-bit words in Hex"};
uint8r_t Help_MA_5[] = {" ..=n=n.. : Write consecutive memory' values"};
uint8r_t Help_MA_6[] = {""};
uint8r_t Help_MA_7[] = {"For example :)08$$$ - Read MPU data words 0x08, 0x09 and 0x0A."};
uint8r_t Help_MA_8[] = {" )04=12345678=9876ABCD - Write two words starting @ 0x04"};
uint8r_t Help_MA_9[] = {"0:Starting Currnt 1:Config 2:VPThresh 3:IPThresh"};
uint8r_t Help_MA_10[] = {"4:Y_Cal 5:Y_Cal_Deg1 6:Y_Cal_Deg2 7:Pulse W-Source"};
uint8r_t Help_MA_11[] = {"8:Pulse R-Source 9:Vmax A:Imax B:PPMC"};
uint8r_t Help_MA_12[] = {"C:PPMC^2 D:Pulse 3 source E:Pulse 4 source F:SCal"};
uint8r_t Help_MA_13[] = {"10:VCal 11:ICal 12:VThrshld 13:Pulsewidth"};
uint8r_t Help_MA_14[] = {"14:TEMP_NOM 15:Imax2 16:Starting Cur.2 17:VBatMin"};
uint8r_t Help_MA_15[] = {"18..1E:sec,min,hr,day,date,mon,yr"};
uint8r_t Help_MA_16[] = {""};
uint8r_t Help_MA_17[] = {")1=2 /Clears accumulators"};
uint8r_t * code MAHelp[] = {
Help_MA_1, Help_MA_2, Help_MA_3, Help_MA_4, Help_MA_5,
Help_MA_6, Help_MA_7, Help_MA_8, Help_MA_9, Help_MA_10,
Help_MA_11, Help_MA_12, Help_MA_13, Help_MA_14, Help_MA_15,
Help_MA_16, Help_MA_17,
NULL
};
#if LOAD
// DownLoad/UpLoad Controls.
uint8r_t Help_L_1[] = {"L : Select DownLoad Destination / UpLoad Source."};
uint8r_t Help_L_2[] = {"LC= : Download Verilog HEX records into CE code space"};
uint8r_t Help_L_3[] = {"LCD= : Download Verilog HEX records into CE code default space"};
uint8r_t Help_L_4[] = {"LD= : Download Verilog HEX records into CE data space"};
uint8r_t Help_L_5[] = {"LDD= : Download Verilog HEX records into CE data default space"};
uint8r_t Help_L_6[] = {"LE= : Download Verilog HEX records into EEProm space"};
uint8r_t Help_L_7[] = {"LF= : Download Verilog HEX records into FLASH space"};
uint8r_t Help_L_8[] = {"LX= : Download Verilog HEX records into MPU data space"};
uint8r_t Help_L_9[] = {""};
uint8r_t Help_L_10[] = {"LC? : Upload CE code space as Verilog HEX records"};
uint8r_t Help_L_11[] = {"LCD? : Upload CE code default space as Verilog HEX records"};
uint8r_t Help_L_12[] = {"LD? : Upload CE data space as Verilog HEX records"};
uint8r_t Help_L_13[] = {"LDD? : Upload CE data default space as Verilog HEX records"};
uint8r_t Help_L_14[] = {"LE? : Upload EEProm space as Verilog HEX records"};
uint8r_t Help_L_15[] = {"LF? : Upload FLASH space as Verilog HEX records"};
uint8r_t Help_L_16[] = {"LX? : Upload MPU data space as Verilog HEX records"};
uint8r_t Help_L_17[] = {"LDM : Monitor group of CE data space variables"};
uint8r_t Help_L_18[] = {"LXM : Monitor group of MPU data space variables"};
uint8r_t Help_L_19[] = {""};
uint8r_t Help_L_20[] = {"e.g. LD=<CR>@0000 12345678 9ABCDEF0 ... <CR><LF>"};
uint8r_t * code LHelp[] = {
Help_L_1, Help_L_2, Help_L_3, Help_L_4, Help_L_5,
Help_L_6, Help_L_7, Help_L_8, Help_L_9, Help_L_10,
Help_L_11, Help_L_12, Help_L_13, Help_L_14, Help_L_15,
Help_L_16, Help_L_17, Help_L_18, Help_L_19, Help_L_20, NULL
};
#endif
#endif
/***************************************************************************
* History:
* $Log: help.c,v $
* Revision 1.14 2006/10/13 00:46:19 tvander
* Removed compile options for 6530, 6515; renamed 6511 and 6513 to trace11 and trace13; Binary verified unchanged from previous version.
*
* Revision 1.13 2006/09/09 01:08:17 gmikef
* *** empty log message ***
*
* Revision 1.12 2006/06/06 05:17:50 tvander
* clean build
*
* Revision 1.11 2006/06/06 03:53:51 tvander
* Added calibration count to access.c
* Added to help files, at least, they compile for a 6513.
* io.c support the calibration loader.
* ser0cli.c and ser1cli.c were allocating too many timers. Fixed.
*
* Revision 1.10 2006/05/30 17:15:18 tvander
* Integrated calibration loader
*
* Revision 1.9 2006/05/18 23:18:42 tvander
* 16K and 32K
* First cut at new requirements.
* 32K 6521 is grossly tested.
* All others have a clean compile with C51 8.02
*
* Revision 1.8 2006/03/07 23:57:07 tvander
* Revised help system for accuracy.
* Revised help system for compile flags.
* Clean build
*
* Revision 1.7 2006/03/06 03:28:23 Michael T. Fischer
* More 6530 prep.
*
* Revision 1.6 2006/01/16 20:11:19 tvander
* Clean Keil build, all versions
*
* Revision 1.4 2005/12/07 02:30:42 tvander
* Added SO command.
* Fixed uninitialized variable in tempoerature compensation of calibration.
* Added xtal_freq to 6521 options, and alternative brownout baud rate
* to reg652x.h
* Rolled date.
*
* Revision 1.3 2005/11/05 01:55:38 tvander
* Added EEPROM erase command
*
* Revision 1.2 2005/08/31 05:52:13 gmikef
* First version w/ LAPIE interface.
*
* Revision 1.1 2005/08/28 02:23:07 gmikef
* *** empty log message ***
*
* Revision 1.1 2005/08/18 02:56:07 gmikef
* *** empty log message ***
*
*
* 2005 AUGUST 17; First Version.
* Copyright (C) 2005 Teridian Semiconductor Corp. All Rights Reserved. *
* this program is fully protected by the United States copyright *
* laws and is the property of Teridian Semiconductor Corporation. *
***************************************************************************/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -