10.07.2015 Views

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

CF2 API Reference (PDF) - Persistor Instruments Inc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>Virtual EEPROM FunctionsSummary of VEE FunctionsVEECheckVEEClearVEEDeleteVEEFetchFloatVEEFetchLongVEEFetchNextVEEFetchStrVEEFetchVarVEEGetDataCheck the Virtual EEPROM and return free size if OKClear the entire Virtual EEPROMDelete a Virtual EEPROM variableReturn float value from Virtual EEPROMReturn long value from Virtual EEPROMFind the next valid VEE entry (NULL to start)Return C string from Virtual EEPROMFetch a Virtual EEPROM variableReturn pointer to VEE variable data field or zeroVEEGetName Return VEE variable name or null string pointer ("\0")VEEStoreFloatVEEStoreLongVEEStoreStrStore float data to Virtual EEPROMStore long data to Virtual EEPROMStore string data to Virtual EEPROMVEECheck -- Check the Virtual EEPROM and return free size if OKDescription:Prototype:Inputs:Returns:Confirms VEE internal data structures and returns the free space in bytes or -1 if there is anerrorshort VEECheck(void);None.Returns zero or one of the enumerated VEE error codes.VEEClear -- Clear the entire Virtual EEPROMDescription:Prototype:Inputs:Returns:Notes:Delete the entire virtual eeprom.bool VEEClear(void);None.Returns TRUE if successful.This erases the entire VEE except for a single byte that is copied and retained for the PBMstartup vector. Use this only to fix unrecoverable problems that could happen if an applicaitionprogram corrupts the VEE flash.PERSISTOR<strong>Instruments</strong> <strong>Inc</strong>.78 of 84<strong>CF2</strong> <strong>API</strong> <strong>Reference</strong>7/19/2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!