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

◆ st25r3911b_irq_wait_for_irq()

uint32_t st25r3911b_irq_wait_for_irq ( uint32_t  mask,
int32_t  timeout 
)

#include <lib/st25r3911b/st25r3911b_interrupt.h>

Wait for NFC Reader interrupts.

This function can wait for one interrupt or for several (defined by a mask). It returns after an interrupt occurs or after a time-out.

Parameters
[in]maskInterrupts mask (see ST25R3911B interrupts definition).
[in]timeoutWait time in milliseconds.
Returns
Interrupts status.