JD2022-TU1/main/extern/rfphio/rfphio_lib/include/rfp-srv.h

24 lines
493 B
C

/*
rfp_srv.h
*/
//#define MAX_XMIT_SIZE (8*1024 - 64) //no
#define MAX_XMIT_SIZE 4 * 1024 //ok
//#define MAX_XMIT_SIZE 6 * 1024 //no
typedef char DECI2_PACKET [MAX_XMIT_SIZE] ;
// EXI-USBメモリマッピング
#define DECI2_BUFFER_SIZE sizeof(DECI2_PACKET)
#define DECI2_PC2NNGC_ADDR 0x0000
#define DECI2_NNGC2PC_ADDR (DECI2_PC2NNGC_ADDR + DECI2_BUFFER_SIZE)
#ifdef WIN32
#ifdef __cplusplus
extern "C"
#endif
void *GetBlock(u32 size); /* should place this def at a better position */
#endif