Classes | Defines | Functions | Variables
LPC2k_ee.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ee_data
struct  ee_data2

Defines

#define EE_ADDR_H   0x0003FFFF
#define EE_ADDR_L   0x00038000
#define EE_BUFFER_MASK   0x00000000
#define EE_BUFFER_SIZE   256
#define EE_CCLK   60000
#define EE_REC_ID   0xAA
#define EE_REC_SIZE   0x100
#define EE_SEC_H   14
#define EE_SEC_L   14
#define EE_SIZE   (EE_ADDR_H+1-EE_ADDR_L)
#define EE_START_MASK   0xFFFFFF00
#define INDEX_OUT_OF_RANGE   502
#define NO_RECORDS_AVAILABLE   500
#define NO_SPACE_IN_EEPROM   501

Functions

void ee_count (unsigned int, unsigned int[])
void ee_erase (unsigned int, unsigned int[])
void ee_read (unsigned int, unsigned int[])
void ee_readn (unsigned int, unsigned int[])
void ee_write (unsigned int, unsigned int[])

Variables

const unsigned char eeprom []

Define Documentation

#define EE_ADDR_H   0x0003FFFF

Definition at line 22 of file LPC2k_ee.h.

#define EE_ADDR_L   0x00038000

Definition at line 21 of file LPC2k_ee.h.

#define EE_BUFFER_MASK   0x00000000

Definition at line 162 of file LPC2k_ee.h.

#define EE_BUFFER_SIZE   256

Definition at line 160 of file LPC2k_ee.h.

#define EE_CCLK   60000

Definition at line 24 of file LPC2k_ee.h.

#define EE_REC_ID   0xAA

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! !!

! !!

! DO NOT MODIFY THE FOLLOWING CODE!!! !!

! =================================== !!

! !!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 174 of file LPC2k_ee.h.

#define EE_REC_SIZE   0x100

Definition at line 135 of file LPC2k_ee.h.

#define EE_SEC_H   14

Definition at line 20 of file LPC2k_ee.h.

#define EE_SEC_L   14

Definition at line 19 of file LPC2k_ee.h.

#define EE_SIZE   (EE_ADDR_H+1-EE_ADDR_L)

Definition at line 175 of file LPC2k_ee.h.

#define EE_START_MASK   0xFFFFFF00

Definition at line 161 of file LPC2k_ee.h.

#define INDEX_OUT_OF_RANGE   502

Definition at line 178 of file LPC2k_ee.h.

#define NO_RECORDS_AVAILABLE   500

Definition at line 176 of file LPC2k_ee.h.

#define NO_SPACE_IN_EEPROM   501

Definition at line 177 of file LPC2k_ee.h.


Function Documentation

void ee_count ( unsigned int  command_ee,
unsigned int  result_ee[] 
)

Definition at line 312 of file LPC2k_ee.c.

void ee_erase ( unsigned int  command_ee,
unsigned int  result_ee[] 
)

Definition at line 68 of file LPC2k_ee.c.

void ee_read ( unsigned int  command_ee,
unsigned int  result_ee[] 
)

Definition at line 229 of file LPC2k_ee.c.

void ee_readn ( unsigned int  command_ee,
unsigned int  result_ee[] 
)

Definition at line 276 of file LPC2k_ee.c.

void ee_write ( unsigned int  command_ee,
unsigned int  result_ee[] 
)

Definition at line 147 of file LPC2k_ee.c.


Variable Documentation

const unsigned char eeprom[]


ccny_asctec_firmware_2
Author(s): Ivan Dryanovski, Roberto G. Valenti
autogenerated on Tue Jan 7 2014 11:04:17