ACI_File_Params |
Top Previous Next |
typedef struct tagACI_File_Params { UINT Size; // (in) Size of structure, in bytes LPCSTR FileName; // (in) File name UINT BufferNumber; // (in) Buffer number UINT LayerNumber; // (in) Layer number UINT Format; // (in) File format: see ACI_PLF_... and ACI_PSF_xxx constants DWORD StartAddressLow; // (in) Low 32 bits of start address for ACI_FileSave(). // For ACI_FileLoad(): Ignored if Format != ACI_PLF_BINARY DWORD StartAddressHigh; // (in) High 32 bits of start address for ACI_FileSave(). // For ACI_FileLoad(): Ignored if Format != ACI_PLF_BINARY DWORD EndAddressLow; // (in) ACI_FileSave(): Low 32 bits of end address DWORD EndAddressHigh; // (in) ACI_FileSave(): High 32 bits of end address DWORD OffsetLow; // (in) Low 32 bits of address offset for ACI_FileLoad() DWORD OffsetHigh; // (in) High 32 bits of address offset for ACI_FileLoad() } ACI_File_Params;
This is the bit definition from the aciprog.h header file:
*// ACI File formats for ACI_FileLoad() #define ACI_PLF_INTEL_HEX 0 // Standard/Extended Intel HEX #define ACI_PLF_BINARY 1 // Binary image #define ACI_PLF_MOTOROLA_S 2 // Motorola S-record #define ACI_PLF_POF 3 // POF #define ACI_PLF_JEDEC 4 // JEDEC #define ACI_PLF_PRG 5 // PRG #define ACI_PLF_OTP 6 // Holtek OTP #define ACI_PLF_SAV 7 // Angstrem SAV #define ACI_PLF_ASCII_HEX 8 // ASCII Hex #define ACI_PLF_ASCII_OCTAL 9 // ASCII Octal
See also: ACI_FileLoad, ACI_FileSave.
|