Go to the documentation of this file.
13 #include <CAENVMElib.h>
21 #define Wait_ms(t) Sleep(t)
23 #define Wait_ms(t) usleep((t)*1000)
26 #define CAENCOM_INVALID_FILE_HANDLE -1
28 #define MAIN_MEM_PAGE_READ_CMD 0xD2
29 #define MAIN_MEM_PAGE_PROG_TH_BUF1_CMD 0x82
30 #define STATUS_READ_CMD 0xD7
32 #define ROM_FLASH_PAGE 0
33 #define LICENSE_FLASH_PAGE 2
34 #define KEY_SIZE 64 // Number of bytes for key storage
35 #define LICENSE_DATA_SIZE 8 // Number of bytes for the licence data
36 #define MAX_MULTIACCESS_BUFSIZE 2048