package intel_hex

  1. Overview
  2. Docs

Module Intel_hex.RecordSource

Intel HEX record's module.

The module contains Intel HEX record type and function to process it.

Sourcetype t =
  1. | Data of int * string
    (*

    Address and payload

    *)
  2. | End_of_file
  3. | Extended_segment_address of int
  4. | Extended_linear_address of int
  5. | Start_linear_address of int
  6. | Start_segment_address of {
    1. cs : int;
    2. ip : int;
    }

Intel HEX record type.

Sourceval is_eof : t -> bool

is_eof record returns true if record is End_of_file variant else returns false.

Sourceval pp : Format.formatter -> t -> unit

pp ppf record pretty print the record value into ppf format object.