summaryrefslogtreecommitdiff
path: root/interrupt/interrupt_enums.h.j2
blob: cc05100ceb6926cd9e41711d6d6e66ac0ffcf76d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

enum class Exception {
    {% for num, name in exceptions.items() %}
        {{ name }} = {{ num }},
    {% endfor %}
};

enum class IRQ {
    {% for num, name in irqs.items() %}
        {{ name }} = {{ num }},
    {% endfor %}
};