From 326a39a636e48865c343da19b8b9e3cbd6efd2b6 Mon Sep 17 00:00:00 2001 From: Andrea Zoppi Date: Sun, 3 Mar 2024 00:51:52 +0100 Subject: [PATCH] Added missing `formats.avr` docs Signed-off-by: Andrea Zoppi --- .../hexrec.formats.avr.AvrFile.rst | 75 +++++++++++++++++++ .../hexrec.formats.avr.AvrRecord.rst | 48 ++++++++++++ .../hexrec.formats.avr.AvrTag.rst | 25 +++++++ docs/_autosummary/hexrec.formats.avr.rst | 40 ++++++++++ docs/reference.rst | 1 + 5 files changed, 189 insertions(+) create mode 100644 docs/_autosummary/hexrec.formats.avr.AvrFile.rst create mode 100644 docs/_autosummary/hexrec.formats.avr.AvrRecord.rst create mode 100644 docs/_autosummary/hexrec.formats.avr.AvrTag.rst create mode 100644 docs/_autosummary/hexrec.formats.avr.rst diff --git a/docs/_autosummary/hexrec.formats.avr.AvrFile.rst b/docs/_autosummary/hexrec.formats.avr.AvrFile.rst new file mode 100644 index 0000000..2ccf1f0 --- /dev/null +++ b/docs/_autosummary/hexrec.formats.avr.AvrFile.rst @@ -0,0 +1,75 @@ +AvrFile +======= + +.. currentmodule:: hexrec.formats.avr + +.. autoclass:: AvrFile + :members: + :inherited-members: + :private-members: + :special-members: + + + + + .. rubric:: Attributes + + .. autosummary:: + + ~AvrFile.DEFAULT_DATALEN + ~AvrFile.FILE_EXT + ~AvrFile.META_KEYS + ~AvrFile.maxdatalen + ~AvrFile.memory + ~AvrFile.records + + + + + + + .. rubric:: Methods + + .. autosummary:: + :nosignatures: + + ~AvrFile.__init__ + ~AvrFile.append + ~AvrFile.apply_records + ~AvrFile.clear + ~AvrFile.convert + ~AvrFile.copy + ~AvrFile.crop + ~AvrFile.cut + ~AvrFile.delete + ~AvrFile.discard_memory + ~AvrFile.discard_records + ~AvrFile.extend + ~AvrFile.fill + ~AvrFile.find + ~AvrFile.flood + ~AvrFile.from_blocks + ~AvrFile.from_bytes + ~AvrFile.from_memory + ~AvrFile.from_records + ~AvrFile.get_address_max + ~AvrFile.get_address_min + ~AvrFile.get_holes + ~AvrFile.get_meta + ~AvrFile.get_spans + ~AvrFile.index + ~AvrFile.load + ~AvrFile.merge + ~AvrFile.parse + ~AvrFile.print + ~AvrFile.read + ~AvrFile.save + ~AvrFile.serialize + ~AvrFile.set_meta + ~AvrFile.shift + ~AvrFile.split + ~AvrFile.update_records + ~AvrFile.validate_records + ~AvrFile.view + ~AvrFile.write + diff --git a/docs/_autosummary/hexrec.formats.avr.AvrRecord.rst b/docs/_autosummary/hexrec.formats.avr.AvrRecord.rst new file mode 100644 index 0000000..6b4cf9a --- /dev/null +++ b/docs/_autosummary/hexrec.formats.avr.AvrRecord.rst @@ -0,0 +1,48 @@ +AvrRecord +========= + +.. currentmodule:: hexrec.formats.avr + +.. autoclass:: AvrRecord + :members: + :inherited-members: + :private-members: + :special-members: + + + + + .. rubric:: Attributes + + .. autosummary:: + + ~AvrRecord.EQUALITY_KEYS + ~AvrRecord.LINE_REGEX + ~AvrRecord.META_KEYS + + + + + + + .. rubric:: Methods + + .. autosummary:: + :nosignatures: + + ~AvrRecord.__init__ + ~AvrRecord.compute_checksum + ~AvrRecord.compute_count + ~AvrRecord.copy + ~AvrRecord.create_data + ~AvrRecord.data_to_int + ~AvrRecord.get_meta + ~AvrRecord.parse + ~AvrRecord.print + ~AvrRecord.serialize + ~AvrRecord.to_bytestr + ~AvrRecord.to_tokens + ~AvrRecord.update_checksum + ~AvrRecord.update_count + ~AvrRecord.validate + diff --git a/docs/_autosummary/hexrec.formats.avr.AvrTag.rst b/docs/_autosummary/hexrec.formats.avr.AvrTag.rst new file mode 100644 index 0000000..299b5dd --- /dev/null +++ b/docs/_autosummary/hexrec.formats.avr.AvrTag.rst @@ -0,0 +1,25 @@ +AvrTag +====== + +.. currentmodule:: hexrec.formats.avr + +.. autoclass:: AvrTag + :members: + :inherited-members: + :private-members: + :special-members: + + + + + .. rubric:: Attributes + + .. autosummary:: + + ~AvrTag.DATA + + + + + + diff --git a/docs/_autosummary/hexrec.formats.avr.rst b/docs/_autosummary/hexrec.formats.avr.rst new file mode 100644 index 0000000..927395c --- /dev/null +++ b/docs/_autosummary/hexrec.formats.avr.rst @@ -0,0 +1,40 @@ +avr +=== + +.. automodule:: hexrec.formats.avr + + + + + + + + + + + + + + + .. rubric:: Classes + + .. autosummary:: + :toctree: + :template: custom-class-template.rst + :nosignatures: + + AvrFile + AvrRecord + AvrTag + + + + + + + + + + + + diff --git a/docs/reference.rst b/docs/reference.rst index 175bb4f..4f1097d 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -8,6 +8,7 @@ Reference hexrec.base hexrec.formats hexrec.formats.asciihex + hexrec.formats.avr hexrec.formats.ihex hexrec.formats.mos hexrec.formats.raw