Home
last modified time | relevance | path

Searched refs:ext_irqs (Results 1 – 1 of 1) sorted by relevance

/loramac-node-latest/src/boards/mcu/saml21/hal/src/
Dhal_ext_irq.c70 static struct ext_irq ext_irqs[EXT_IRQ_AMOUNT]; variable
82 ext_irqs[i].pin = 0xFFFFFFFF; in ext_irq_init()
83 ext_irqs[i].cb = NULL; in ext_irq_init()
106 if (ext_irqs[i].pin == pin) { in ext_irq_register()
107 ext_irqs[i].cb = cb; in ext_irq_register()
122 if (NULL == ext_irqs[i].cb) { in ext_irq_register()
123 ext_irqs[i].cb = cb; in ext_irq_register()
124 ext_irqs[i].pin = pin; in ext_irq_register()
130 if ((ext_irqs[i].pin < ext_irqs[j].pin) && (ext_irqs[j].pin != 0xFFFFFFFF)) { in ext_irq_register()
131 struct ext_irq tmp = ext_irqs[j]; in ext_irq_register()
[all …]