Battoolowflash - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Link

BatTooLowFlash

Declaration:
BOOL BatTooLowFlash (WORD delayCount )
Category(ies):
Link, Flash Memory, Status Line
Description:
Returns TRUE if battery level is (or ever was) too low to write to Flash. If
delayCount is non-zero, and the USER timer is not already in use, a delay
of delayCount will occur before a reading is done.
Inputs:
delayCount — Length of delay before battery reading is taken
Outputs:
Returns TRUE if battery level is (or ever was) too low to write to Flash.
Otherwise returns FALSE.
Assumptions:
USER timer is not already in use.
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
None
Differences:
See Also:
None
Example:
if (BatTooLowFlash(50*MS100))
ERD_dialog( ER_BATT_LOW, FALSE );
TI-89 / TI-92 Plus Developer Guide
(recommended value is 50 † MS100).
/* batteries too low to send product code */
Not for Distribution
657
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents