{% extends "base.html" %} {%- macro reserved_field(high, low, low_to_high) -%} {%- if high == low %} [{{high}}] {%- elif low_to_high %} [{{low}}:{{high}}] {%- else %} [{{high}}:{{low}}] {%- endif %} - - - - {%- endmacro %} {%- block content -%} {%- for field in reversed(list(node.fields(skip_not_present=skip_not_present))) %} {%- if loop.first and field.inst.high < (node.get_property('regwidth') - 1) %} {{reserved_field(node.get_property('regwidth') - 1, field.inst.high + 1, reg_fields_are_low_to_high(node))}} {%- elif (not loop.first) and field.inst.high < loop.previtem.inst.low - 1 %} {{reserved_field(loop.previtem.inst.low - 1, field.inst.high + 1, reg_fields_are_low_to_high(node))}} {%- endif %} {%- if field.inst.msb == field.inst.lsb %} {%- else %} {%- endif %} {%- if loop.last and field.inst.low != 0 %} {{reserved_field(field.inst.low - 1, 0, reg_fields_are_low_to_high(node))}} {%- endif %} {%- endfor %}
Bits Identifier Access Reset Decoded Name
[{{field.inst.lsb}}][{{field.inst.msb}}:{{field.inst.lsb}}] {%- if (has_description(field) or has_enum_encoding(field)) -%} {{field.inst.inst_name}} {%- else -%} {{- field.inst.inst_name -}} {%- endif -%} {{field.get_property("sw").name}} {%- if field.get_property("onread") -%} , {{ field.get_property("onread").name -}} {%- endif -%} {%- if field.get_property("onwrite") -%} , {{ field.get_property("onwrite").name -}} {%- endif -%} {%- if field.get_property("reset") != None -%} {%- if field.get_property("reset") is integer -%} {{"0x%x" % field.get_property("reset")}} {%- else -%} {{macros.reference_link(field.get_property("reset"))}} {%- endif -%} {%- else -%} - {%- endif %} {%- if field.get_property("encode") != None %} {%- endif %} {{(field.get_html_name() or "-")|safe}}

{%- block reg_value_edit %} {%- endblock reg_value_edit %}

{%- for field in reversed(list(node.fields(skip_not_present=skip_not_present))) if (has_description(field) or has_enum_encoding(field) or has_extra_property_doc(field)) %} {%- if loop.first %}

Field Descriptions

{%- endif %} {% include "field_description.html" %} {%- endfor %} {%- endblock content %}