device-driver-codegen 2.0.0

Internal compiler crate for the device-driver toolkit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
{% for device in driver.devices %}
    {% for block in device.blocks %}
        {% include "block.rs.j2" %}
    {% endfor %}
{% endfor %}

{% for field_set in driver.field_sets %}
    {% include "fieldset.rs.j2" %}
{% endfor %}

{% for enum_value in driver.enums %}
    {% include "enums.rs.j2" %}
{% endfor %}