Register callback for the given external interrupt.
int32_t ext_irq_register( const uint32_t pin, ext_irq_cb_t cb )
Type: const uint32_t
Pin to enable external IRQ on
Type: ext_irq_cb_t typedef
Callback function
Type: int32_t
Registration status.
Passed parameters were invalid
The callback registration is completed successfully