Menu

loadHex16

functions (4)
Majenko Technologies

Format: void loadHex16(char * filename, unsigned short * store, int start, int end);

Parameters:

  • filename : The path to the file to load. File should be in Intel HEX format.
  • store : The address of an array of 16-bit shorts to load the data into.
  • start : The start address to start loading from.
  • end : The end address to limit the loading to.

This function parses an Intel HEX file and loads the data, as 16-bit values, into an array of shorts. The data is selected between the start and end addresses.


Related

Wiki: utility functions

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.