19.2.4 ext_irq_enable
Enable external IRQ.
int32_t ext_irq_enable(
const uint32_t pin
)
Parameters
- pin
-
Type: const uint32_t
Pin to enable external IRQ on
Returns
Type: int32_t
Enabling status.
- -1
-
Passed parameters were invalid
- 0
-
The enabling is completed successfully