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

◆ st25r3911b_fifo_reload_lvl_get()

int st25r3911b_fifo_reload_lvl_get ( uint8_t *  tx_lvl,
uint8_t *  rx_lvl 
)

#include <lib/st25r3911b/st25r3911b_common.h>

Get NFC Reader FIFO reload level.

The interrupt trigger level for read/write FIFO water level is configurable, so it must be read to read/write FIFO bytes if necessary. The NFC Reader supports transfer up to ST25R3911B_MAX_TX_LEN, but FIFO is only ST25R3911B_MAX_FIFO_LEN bytes.

Parameters
[out]tx_lvlNumber of bytes to write to FIFO if a reload is needed.
[out]rx_lvlNumber of bytes to read to avoid FIFO overflow.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.