dsPid33
src/DEE Emulation 16-bit.c File Reference
Include dependency graph for DEE Emulation 16-bit.c:

Go to the source code of this file.

Defines

#define DEE_BANK_SIZE   (sizeof(emulationPages[0])*NUM_DATA_EE_PAGES)
#define DEE_PAGE_SIZE   (sizeof(emulationPages[0]))
#define DEE_PAGE_TBL(bank, page)   ((__builtin_tbladdress(&emulationPages) + (DEE_BANK_SIZE * (bank)) + (DEE_PAGE_SIZE * (page))) >> 16)
#define DEE_PAGE_OFFSET(bank, page)   ((__builtin_tbladdress(&emulationPages) + (DEE_BANK_SIZE * (bank)) + (DEE_PAGE_SIZE * (page))) & 0xFFFF)

Functions

unsigned char emulationPages[DATA_EE_BANKS
*NUM_DATA_EE_PAGES][NUMBER_OF_INSTRUCTIONS_IN_PAGE *2] 
__attribute__ ((space(psv), aligned(NUMBER_OF_INSTRUCTIONS_IN_PAGE *2), noload))
void UnlockWrite (void)
int GetPageStatus (unsigned char bank, unsigned char page, unsigned char field)
void ErasePage (unsigned char bank, unsigned char page)
unsigned int GetNextAvailCount (unsigned char bank)
int PackEE (unsigned char bank)
unsigned char DataEEInit (void)
unsigned int DataEERead (unsigned int addr)
unsigned char DataEEWrite (unsigned int data, unsigned int addr)

Variables

DATA_EE_FLAGS dataEEFlags

Define Documentation

#define DEE_BANK_SIZE   (sizeof(emulationPages[0])*NUM_DATA_EE_PAGES)

Definition at line 101 of file DEE Emulation 16-bit.c.

#define DEE_PAGE_OFFSET (   bank,
  page 
)    ((__builtin_tbladdress(&emulationPages) + (DEE_BANK_SIZE * (bank)) + (DEE_PAGE_SIZE * (page))) & 0xFFFF)

Definition at line 105 of file DEE Emulation 16-bit.c.

#define DEE_PAGE_SIZE   (sizeof(emulationPages[0]))

Definition at line 102 of file DEE Emulation 16-bit.c.

#define DEE_PAGE_TBL (   bank,
  page 
)    ((__builtin_tbladdress(&emulationPages) + (DEE_BANK_SIZE * (bank)) + (DEE_PAGE_SIZE * (page))) >> 16)

Definition at line 104 of file DEE Emulation 16-bit.c.


Function Documentation

unsigned char emulationPages [DATA_EE_BANKS * NUM_DATA_EE_PAGES][NUMBER_OF_INSTRUCTIONS_IN_PAGE * 2] __attribute__ ( (space(psv), aligned(NUMBER_OF_INSTRUCTIONS_IN_PAGE *2), noload)  )
unsigned char DataEEInit ( void  )

Definition at line 466 of file DEE Emulation 16-bit.c.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int DataEERead ( unsigned int  addr)

Definition at line 590 of file DEE Emulation 16-bit.c.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned char DataEEWrite ( unsigned int  data,
unsigned int  addr 
)

Definition at line 672 of file DEE Emulation 16-bit.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ErasePage ( unsigned char  bank,
unsigned char  page 
)

Definition at line 189 of file DEE Emulation 16-bit.c.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int GetNextAvailCount ( unsigned char  bank)

Definition at line 227 of file DEE Emulation 16-bit.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int GetPageStatus ( unsigned char  bank,
unsigned char  page,
unsigned char  field 
)

Definition at line 144 of file DEE Emulation 16-bit.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int PackEE ( unsigned char  bank)

Definition at line 282 of file DEE Emulation 16-bit.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void UnlockWrite ( void  )

Definition at line 120 of file DEE Emulation 16-bit.c.

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 93 of file DEE Emulation 16-bit.c.

 All Data Structures Files Functions Variables Defines