Netcruzer Library API  V2.03
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
nz_xRam.h
Go to the documentation of this file.
1 
49 #ifndef __XRAM_H
50 #define __XRAM_H
51 
52 #include "HardwareProfile.h"
53 
55 //Alternative function names, use by Microchip Stack
56 #define SPIRAMInit xramInit
57 #define SPIRAMGetArray xramGetArray
58 #define SPIRAMPutArray xramPutArray
59 #define SPIRAMPutString xramPutString
60 #define SPIRAMPutROMArray xramPutROMArray
61 #define SPIRAMPutROMString xramPutROMString
62 
63 void xramInit(void);
64 void xramGetArray(WORD wAddress, BYTE *vData, WORD wLength);
65 void xramPutArray(WORD wAddress, BYTE *vData, WORD wLength);
66 #define xramPutString(a,b) xramPutArray(a, strlen((char*)b))
67 #define xramPutROMString(a,b) xramPutArray(a, strlen((char*)b))
68 #define xramPutROMArray(a,b,c) xramPutROMArray(a, b, c)
69 
70 #endif