nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ st25r3911b_irq_init()

int st25r3911b_irq_init ( struct k_sem *  irq_sem)

#include <lib/st25r3911b/st25r3911b_interrupt.h>

Initialize NFC Reader interrupts.

The NFC Reader informs about interruptions by a rising edge on the pin. This function initializes the GPIO interface to handle this.

Parameters
[in]irq_semSemaphore needed to synchronize processing interrupts from other context.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.