#pragma once
namespace interrupt {
{% for type, entries in interrupts.items() %}
enum class {{ type }} {
{% for num, name in entries.items() %}
{{ name }} = {{ num }},
{% endfor %}
};
template<{{ type }}>
void handler();
{% endfor %}
typedef void (*vector_t)();
};