dsPid33
|
#include "DEE Emulation 16-bit.h"
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 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.
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.
unsigned int DataEERead | ( | unsigned int | addr | ) |
Definition at line 590 of file DEE Emulation 16-bit.c.
unsigned char DataEEWrite | ( | unsigned int | data, |
unsigned int | addr | ||
) |
Definition at line 672 of file DEE Emulation 16-bit.c.
void ErasePage | ( | unsigned char | bank, |
unsigned char | page | ||
) |
Definition at line 189 of file DEE Emulation 16-bit.c.
unsigned int GetNextAvailCount | ( | unsigned char | bank | ) |
Definition at line 227 of file DEE Emulation 16-bit.c.
int GetPageStatus | ( | unsigned char | bank, |
unsigned char | page, | ||
unsigned char | field | ||
) |
Definition at line 144 of file DEE Emulation 16-bit.c.
int PackEE | ( | unsigned char | bank | ) |
Definition at line 282 of file DEE Emulation 16-bit.c.
void UnlockWrite | ( | void | ) |
Definition at line 120 of file DEE Emulation 16-bit.c.
Definition at line 93 of file DEE Emulation 16-bit.c.