Changes between Version 2 and Version 3 of EEPROM_onewire
- Timestamp:
- Jul 27, 2006, 8:39:02 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EEPROM_onewire
v2 v3 1 2 1 = The EEPROM = 3 2 == Basic Functionality == 4 3 * 1024-bit memory space divided into 4 pages. 5 * 3 of these haveunlimited user read and write capabilities4 * 3 of these are given unlimited user read and write capabilities 6 5 * the other page is used for storing calibration values and MAC addresses 7 * Reading and writing these values requires the user to provide a pointer to an 8-byte data array 6 * Each page is divided into 4 sectors of 8-bytes each. Read or write functions must be performed on an entire sector. 7 * These functions require the user to provide a pointer to an 8-byte data array 8 8 * Readable 64-bit lasered ROM containing 8-bit family code, 48-bit serial code, and 8-bit Cyclic Redundancy check (CRC). 9 9 * Readable 16-bit serial code given by WARP 10 * The libaries are divided into OneWire_l.c and !OneWire.c -- The latter contains everything the User needs to use the EEPROM.10 * The provided libaries are divided into OneWire_l.c and !OneWire.c -- The latter contains everything the User needs to drive the EEPROM. 11 11 * The !OneWire.c library provides the following functionality: 12 12 * Read valid calibration values that have been stored to a radio's EEPROM … … 19 19 * Write data to the EEPROMs data pages 20 20 21 The header file of !OneWire.c libraryis given below.21 A part of the header file !OneWire.h is given below. 22 22 23 23 '''''short WarpOneWire_ReadRadioCal(unsigned int* baseaddr, char RxNTx, char val_select)'''''[[BR]]