📄 options.h
字号:
* Revision 1.42 2006/07/07 01:03:16 tvander
* Clean build
*
* Revision 1.41 2006/06/23 21:05:02 tvander
* *** empty log message ***
*
* Revision 1.40 2006/06/15 20:02:47 tvander
* Added line frequency
* Disabled the hierarchical watchdog in wd.c
*
* Revision 1.39 2006/06/14 03:01:29 tvander
* Changed to iiceep.c, so the eeprom driver works in brownout mode.
*
* Revision 1.38 2006/06/06 05:13:09 tvander
* clean build
*
* Revision 1.37 2006/05/25 03:36:20 tvander
* *** empty log message ***
*
* Revision 1.36 2006/05/18 23:18:49 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.35 2006/04/27 00:06:55 tvander
* Added tamper resistance, mostly to wh.c; Added a calibration signal to rtc.c
*
* Revision 1.34 2006/04/25 01:09:52 tvander
* Integrated improved RTC. Compensates for time off, has default constant
* compensation. Computes true hours of operation.
*
* Revision 1.33 2006/04/14 20:15:36 tvander
* Integrated with phased calibration
*
* Revision 1.32 2006/03/17 00:27:11 tvander
* IMAX2 flag
*
* Revision 1.31 2006/03/08 03:10:37 gmikef
* *** empty log message ***
*
* Revision 1.30 2006/03/08 00:04:59 tvander
* Clean build
*
* Revision 1.29 2006/03/06 03:35:36 Michael T. Fischer
* More 6530 prep.
*
* Revision 1.28 2006/03/03 11:29:03 Michael T. Fischer
* Prep for 6530 LCD, etc.
*
* Revision 1.27 2006/02/08 03:43:23 tvander
* Made "import" the default power measurement mode, rather than net-metering
*
* Revision 1.26 2006/01/16 20:11:26 tvander
* Clean Keil build, all versions
*
* Revision 1.25 2006/01/10 04:03:44 gmikef
* Added PDATA support for CE Outputs.
*
* Revision 1.24 2006/01/04 04:47:51 gmikef
* Switched RMS and VA calculations to use floating point. (and Calibration).
*
* Revision 1.21 2005/12/07 02:30:45 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.20 2005/11/29 01:21:07 tvander
* Include sag discovery in ce_busy interrupt
*
* Revision 1.19 2005/11/05 02:16:02 tvander
* Fixed build
*
* Revision 1.18 2005/10/31 17:38:02 tvander
* Includes improved EEPROM code with uwire.
* Clean build, all build trees (Thank-you, Mike!)
*
* Revision 1.17 2005/10/29 02:39:01 gmikef
* *** empty log message ***
*
* Revision 1.16 2005/10/18 02:17:10 tvander
* Access CLI in brownout by pressing reset.
* Debugged serial 1 usage from CLI.
* Implemented scrolling display as M17
*
* Revision 1.15 2005/10/12 23:00:05 tvander
* Includes demonstratable mission mode, brownout, LCD and sleep modes
*
* Revision 1.14 2005/10/08 04:41:23 tvander
* Fixed priority inversion.
* Rewrote watchdog to work in brownout, but of course it doesn't work.
* Watchdog can now be defeated by clearing watchdog option to 0.
* Reorganized watt hour modules (at last!).
* Disabled reading of STATUS in 6521_cli because the CE's status is always SAG.
* Tested with 6521_CLI; measurements seem to work.
* Fixed other builds.
*
* Revision 1.13 2005/10/06 20:54:06 tvander
* Added brownout and calibration mode flags.
* Added m6520A01 flag, for code managing that version's errors.
*
* Revision 1.12 2005/09/28 01:04:13 tvander
* Compiled without real-time sag status, but with working frequency and temperature
* displays.
*
* Revision 1.11 2005/09/22 23:45:13 tvander
* Clean build all models and unit tests, updated copyright to be fore Teridian
*
* Revision 1.10 2005/09/13 19:26:54 tvander
* Release 6521 CLI version for early customers.
* RMS works.
* Accumulation interval to 1 second.
* Wrate slowed to 3.2 Kh/pulse for new accumulation interval.
* Pulse outputs inverted, so they start dark.
* LCD density increased from 1/3 bias to 1/2 bias, for demo PCB.
* VAh code is included, but untested.
*
* Revision 1.9 2005/09/12 07:47:29 tvander
* Power measurement is stable, with no creep.
* VARh measurement is stable, with no creep.
* Pulse sources work.
* Full access to MPU variables.
* Rolled date.
* Clock software works.
*
* Revision 1.8 2005/09/11 00:34:04 tvander
* Clean compiles
*
* Revision 1.7 2005/09/08 00:31:41 tvander
* Fixed: Lost data due to overwrite of Ithrshld, xfer busy never runs,
* unavailable second phase, cosmetic issues with status. Updated
* date.
*
* Revision 1.6 2005/09/03 02:16:04 tvander
* Better... serial iface works.
*
* Revision 1.5 2005/09/02 20:41:28 gmikef
* Modified to fit CeCode of 1.5Kbytes and support new "ce_merge".
*
* Revision 1.4 2005/09/01 04:24:45 gmikef
* *** empty log message ***
*
* Revision 1.3 2005/09/01 02:06:01 gmikef
* Cleaned up the builds.
*
* Revision 1.2 2005/08/31 05:56:10 gmikef
* First version w/ LAPIE interface.
*
* Revision 1.1 2005/08/30 02:00:54 gmikef
* *** empty log message ***
*
* Revision 1.1 2005/08/28 02:33:22 gmikef
* *** empty log message ***
*
* Revision 1.8 2005/08/22 22:30:56 tvander
* Clean build of FLAG system
* No pulse counting.
* No debug/CLI.
*
* Revision 1.7 2005/08/20 01:36:26 gmikef
* *** empty log message ***
*
* Revision 1.6 2005/08/19 01:04:42 gmikef
* *** empty log message ***
*
* Revision 1.5 2005/08/18 20:44:44 tvander
* Added temperature measurement to GUI-available fields.
* FIxed memory-space problem in add8_8
* Added temp_x, temp_nom, ppmc and ppmc2 to register def. file.,
* moved many other registers, whcih where in the way.
*
* Revision 1.4 2005/08/18 16:54:36 gmikef
* *** empty log message ***
*
* Revision 1.3 2005/08/16 02:28:31 gmikef
* Remapped LCD for 6520 Eval Board.
* Mapped CE code location to address of 'CeCode'.
*
* Revision 1.2 2005/08/12 21:54:08 tvander
* FLAG is working. Calibration is hanging on a DIO, so its disabled for now.
*
* Revision 1.1 2005/08/12 06:04:27 gmikef
* Added MPU temperature compensation for GAIN_ADJ.
* Added changes to support new CE 6521 code.
*
* Revision 1.21 2005/08/10 01:59:40 gmikef
* *** empty log message ***
*
* Revision 1.20 2005/08/02 22:36:28 tvander
* Optional software pulse logic.
* Fixed build in 6511B and 6521B
*
* Revision 1.19 2005/07/14 20:15:50 tvander
* ce code concentrated in ce.c
* ce interface concentrated in ce652x.c, .h
* Fixed 0-length read or write using flag protocol.
* display.c is out of the build
* kwh_initialize now reads the LRC.
*
* Revision 1.18 2005/07/01 00:27:32 tvander
* Cleared the debug data structure flags again.
*
* Revision 1.17 2005/06/25 02:01:50 tvander
* Integrated pulse count.
*
* Revision 1.16 2005/06/18 00:56:53 tvander
* Turned off debug flags
*
* Revision 1.15 2005/06/17 22:54:43 tvander
* Separated imports and exports.
* Some imports and exports were not being updated.
*
* Revision 1.14 2005/06/09 00:01:23 tvander
* Flag reads and writes work for power registers, the real time clock and CE RAM.
*
* Revision 1.13 2005/06/03 00:33:33 tvander
* Added imports to 6511.
* Added register definition spreadsheet to .doc
*
* Revision 1.12 2005/05/26 21:54:37 tvander
* Flag is grossly working with GUI: signs on, reads, writes both xdata and idata, interlocks with CE cycle, and timeouts work.
*
* Revision 1.11 2005/05/19 00:46:31 tvander
* All features present- including flag1
*
* Revision 1.10 2005/05/19 00:41:34 tvander
* Mader hardware timers optional.
*
* Revision 1.9 2005/05/14 00:56:20 tvander
* Integrated flag0, ser0
* Regression tested and fixed 6521b
*
* Revision 1.8 2005/05/13 00:34:43 tvander
* 6511/32k works
* Integrated and debugged self-calibration.
* The build has one unused segment, and no other errors or warnings.
* default LCD and pulse displays appear OK.
* EEPROM, software timers and hardware timers are all integrated.
*
* Revision 1.7 2005/05/06 16:40:32 tvander
* Build errors fixed
*
* Revision 1.6 2005/04/28 19:20:06 tvander
* Improved; almost compiles
*
* Revision 1.5 2005/04/26 18:13:27 tvander
* Added NULL
*
* Revision 1.4 2005/04/07 01:46:56 gmikef
* *** empty log message ***
*
*
* Revision 1.4 2005/03/08 19:06:45 tvander
* Self calibration in all software models
*
* Revision 1.2 2005/02/17 18:32:31 tvander
* Added automatic check-in logging to all source code.
*
* 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 + -