nRF Connect SDK API 0.1.0
|
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.
[out] | tx_lvl | Number of bytes to write to FIFO if a reload is needed. |
[out] | rx_lvl | Number of bytes to read to avoid FIFO overflow. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |