var searchIndex = {}; searchIndex["ihex"] = {"doc":"","items":[[0,"checksum","ihex","",null,null],[5,"checksum","ihex::checksum","The Intel HEX checksum is computed by summing all relevant bytes in a\nrecord and taking the two's complement of the least significant byte of the sum.\n@param data Data to checksum.\n@result The correct checksum byte for the record.",null,null],[0,"reader","ihex","",null,null],[3,"Reader","ihex::reader","",null,null],[4,"ReaderError","","",null,null],[13,"MissingStartCode","","A record string does not being with a ':'.",0,null],[13,"RecordTooShort","","The record provided is shorter than the smallest valid.",0,null],[13,"RecordTooLong","","The record provided exceeds the maximum size (255b payload).",0,null],[13,"RecordNotEvenLength","","The record is not an even number of bytes.",0,null],[13,"ContainsInvalidCharacters","","The record is not all hexadecimal characters.",0,null],[13,"ChecksumMismatch","","The checksum did not match.",0,null],[13,"PayloadLengthMismatch","","The record is not the length it claims.",0,null],[13,"UnsupportedRecordType","","The record type is not supported.",0,null],[13,"InvalidLengthForType","","The payload length does not match the record type.",0,null],[0,"payload_sizes","","",null,null],[17,"END_OF_FILE","ihex::reader::payload_sizes","An EoF record has no payload.",null,null],[17,"EXTENDED_SEGMENT_ADDRESS","","An Extended Segment Address has a 16-bit payload.",null,null],[17,"START_SEGMENT_ADDRESS","","An Start Segment Address has two 16-bit payloads.",null,null],[17,"EXTENDED_LINEAR_ADDRESS","","An Extended Linear Address has a 16-bit payload.",null,null],[17,"START_LINEAR_ADDRESS","","An Start Linear Address has a 32-bit payload.",null,null],[11,"fmt","ihex::reader","",0,null],[11,"clone","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"description","","",0,null],[11,"fmt","","",0,null],[11,"new_stopping_after_error_and_eof","","Designated initializer for the IHEX reader.\n@param string The IHEX object file as a string.\n@param stop_after_first_error Terminate the iterator after the first record fails to parse.\n@param stop_after_eof Terminate the iterator after an EOF record is encountered, even if more records exist.\n@return A new IHEX object file reader for the given string.",1,{"inputs":[{"name":"str"},{"name":"bool"},{"name":"bool"}],"output":{"name":"self"}}],[11,"new","","Create a new IHEX reader for the string which stops on first error or after the first EOF record.\n@param string The IHEX object file as a string.\n@return A new IHEX object file reader for the given string.",1,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"next","","Iterates over the lines of the IHEX object, skipping any empty ones,\nand returns the result of parsing that line.",1,null],[0,"record","ihex","",null,null],[4,"Record","ihex::record","",null,null],[13,"Data","","Specifies a 16-bit offset address and up to 255 bytes of data.\nAvailability: I8HEX, I16HEX and I32HEX.",2,null],[12,"offset","ihex::record::Record","",2,null],[12,"value","","",2,null],[13,"EndOfFile","ihex::record","Indicates the end of the object file. Must occur exactly once per file, at the end.\nAvailability: I8HEX, I16HEX and I32HEX.",2,null],[13,"ExtendedSegmentAddress","","Specifies bits 4-19 of the Segment Base Address (SBA) to address up to 1MiB.\nAvailability: I16HEX.",2,null],[13,"StartSegmentAddress","","Specifies the 20-bit segment address for the CS and IP registers.\nAvailability: I16HEX.",2,null],[12,"cs","ihex::record::Record","",2,null],[12,"ip","","",2,null],[13,"ExtendedLinearAddress","ihex::record","Specifies the upper 16 bits of a 32-bit linear address.\nThe lower 16 bits are derived from the Data record load offset.\nAvailability: I32HEX.",2,null],[13,"StartLinearAddress","","Specifies the execution start address for the object file.\nThis is the 32-bit linear address for register EIP.\nAvailability: I32HEX.",2,null],[0,"types","","",null,null],[17,"DATA","ihex::record::types","Type specifier for a Data record.",null,null],[17,"END_OF_FILE","","Type specifier for an End-Of-File record.",null,null],[17,"EXTENDED_SEGMENT_ADDRESS","","Type specifier for an Extended Segment Address record.",null,null],[17,"START_SEGMENT_ADDRESS","","Type specifier for a Start Segment Address record.",null,null],[17,"EXTENDED_LINEAR_ADDRESS","","Type specifier for an Extended Linear Address record.",null,null],[17,"START_LINEAR_ADDRESS","","Type specifier for a Start Linear Address record.",null,null],[11,"fmt","ihex::record","",2,null],[11,"clone","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"record_type","","@return The record type specifier corresponding to the receiver.",2,null],[0,"writer","ihex","",null,null],[4,"WriterError","ihex::writer","",null,null],[13,"DataExceedsMaximumLength","","A record contains data too large to represent.",3,null],[13,"MissingEndOfFileRecord","","Object does not end in an EoF record.",3,null],[13,"MultipleEndOfFileRecords","","Object contains multiple EoF records.",3,null],[5,"create_object_file_representation","","Generates an Intel HEX object file representation of the record set. It is the callers\nresponsibility to ensure that no overlapping data ranges are defined within the\nobject file. The set of records must have exactly 1 EOF record, \nand it must be the last record in the list.\n@param records Set of records to include in the object file representation.\n@return The object file representation if built successfully, or a failure reason.",null,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"description","","",3,null],[11,"fmt","","",3,null],[11,"to_string","ihex::record","@return The IHEX record representation of the receiver, or an error on failure.",2,null],[11,"from_record_string","","Parses a given IHEX string representation of a Record and\n@param string The IHEX string representation of the record.\n@return The Record corresponding to the IHEX string representation.",2,{"inputs":[{"name":"str"}],"output":{"name":"result"}}]],"paths":[[4,"ReaderError"],[3,"Reader"],[4,"Record"],[4,"WriterError"]]}; initSearch(searchIndex);