Functional Overview
while (TRUE) {
itt;
dac_write(i);
}
Data Eeprom
The data eeprom memory is readable and writable in some chips. These options lets the user
read and write to the data eeprom memory. These functions are only available in flash chips.
Relevant Functions:
(8 bit or 16 bit depending on the
device)
read_eeprom(address)
write_eeprom(address, value)
Reads the data EEPROM memory location
Erases and writes value to data EEPROM location address.
Reads N bytes of data EEPROM starting at memory location
address. The maximum return size is int64.
Reads from EEPROM to fill variable starting at address
Reads N bytes, starting at address, to pointer
Writes value to EEPROM address
Writes N bytes to address from pointer
Relevant Preprocessor:
#ROM address={list}
write_eeprom = noint
Can also be used to put data EEPROM memory data into the
hex file.
Allows interrupts to occur while the write_eeprom() operations
is polling the done bit to check if the write operations has
completed. Can be used as long as no EEPROM operations
are performed during an ISR.
Relevant Interrupts:
INT_EEPROM
Relevant Include Files:
None, all functions built-in
Relevant getenv() parameters:
DATA_EEPROM
Example Code:
For 18F452
#rom 0xf00000={1,2,3,4,5}
Interrupt fires when EEPROM write is complete
Size of data EEPROM memory.
//inserts this data into the hex file. The data eeprom address
//differs for different family of chips. Please refer to the
//programming specs to find the right value for the device
39
相关PDF资料
PCI-EXP-T42G5-N1 IP CORE PCI EXPRESS ORCA 4
PCM18XH2 PROCESSOR MODULE MPLAB-ICE 2000
PCM18XN0 PROCESSOR MODULE FOR ICE2000
PDA-B-24-615-E-2B1-1-C CIRCUIT BREAKER MAG 1P 15A
PFMF.260.2 PFMF PTC FUSE SMT 2.6A 1812
PFNF.200.2 PFNF PTC FUSE SMT 2A 1206
PFRY.375 PTC-FUSE RADIAL 72 VDC
PFSM.150.33.2 FUSE PTC 8A 15V FST-TRIP SMD
相关代理商/技术参数
PCD_09 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:Low Profile PCB Relay PCD
PCD-00173-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0E 制造商:Molex 功能描述:Ethernet Cable Assembly
PCD-00173-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0K 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00174-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Red; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet ;RoHS Compliant: NA
PCD-00174-0E 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Grey; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet;RoHS Compliant: NA
PCD-00174-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY