nRF Connect SDK API 2.8.99
|
int st25r3911b_irq_modify | ( | uint32_t | clr_mask, |
uint32_t | set_mask ) |
#include <lib/st25r3911b/st25r3911b_interrupt.h>
Modify NFC Reader interrupts.
This function modifies the currently enabled interrupts. The set mask covers the clear mask, which means that first, interrupts from the clear mask are disabled, and then interrupts from the set mask are enabled. The mask can be composed of several interrupts. For example: mask = ST25R3911B_IRQ_MASK_PAR | ST25R3911B_IRQ_MASK_CRC
See ST25R3911B interrupts definition for available interrupts.
[in] | clr_mask | Interrupts clear mask. |
[in] | set_mask | Interrupts set mask. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |