We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de5ec96 commit 35514f0Copy full SHA for 35514f0
targets/chip/target_template/target_template.hpp
@@ -51,6 +51,26 @@ namespace klib::template {
51
static void disable_irq() {
52
// globally disable the interrupts
53
}
54
+
55
+ /**
56
+ * @brief Set the priority of a interrupt
57
+ *
58
+ * @tparam Irq
59
+ */
60
+ template <irq::arm_vector Irq, uint8_t Priority>
61
+ static void interrupt_priority() {
62
+ // set the priority of a interrupt
63
+ }
64
65
66
67
68
69
70
+ template <uint32_t Irq, uint8_t Priority>
71
72
73
74
75
76
#endif
0 commit comments