LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Functions
CHIP: Common Chip EEPROM commands

Detailed Description

Functions

uint8_t Chip_EEPROM_Write (uint32_t dstAdd, uint8_t *ptr, uint32_t byteswrt)
 Write data to EEPROM. More...
 
uint8_t Chip_EEPROM_Read (uint32_t srcAdd, uint8_t *ptr, uint32_t bytesrd)
 Read data from EEPROM. More...
 

Function Documentation

uint8_t Chip_EEPROM_Read ( uint32_t  srcAdd,
uint8_t *  ptr,
uint32_t  bytesrd 
)

Read data from EEPROM.

Parameters
srcAdd: EEPROM address to be read from
ptr: Pointer to buffer to read to
bytesrd: Number of bytes to read from EEPROM
Returns
An IAP response definition from iap.h

Definition at line 67 of file eeprom.c.

uint8_t Chip_EEPROM_Write ( uint32_t  dstAdd,
uint8_t *  ptr,
uint32_t  byteswrt 
)

Write data to EEPROM.

Parameters
dstAdd: EEPROM address to be written to
ptr: Pointer to buffer to write from
byteswrt: Number of bytes to write to EEPROM
Returns
An IAP response definition from iap.h

Definition at line 52 of file eeprom.c.