nRF Connect SDK API 2.8.99
|
#include <zephyr/types.h>
Go to the source code of this file.
Macros | |
#define | ST25R3911B_MAX_TX_LEN 8191 |
#define | ST25R3911B_NO_THRESHOLD_ANTICOLLISION 0xFF |
#define | ST25R3911B_MAX_THRESHOLD 0x0F |
#define | ST25R3911B_FDT_ADJUST 64 |
#define | ST25R3911B_MASK_RECEIVER_MAX_FDT 0xFC0 |
#define | ST25R3911B_NRT_64FC_MAX 0x3FFFC0 |
#define | ST25R3911B_NRT_FC_MAX 0x4095BF6A000 |
#define | NFC_1FC_IN_64FC 64 |
#define | NFC_1FC_IN_4096FC 4096 |
#define | ST25R3911B_FC_TO_64FC(_fc) |
#define | ST25R3911B_FC_TO_4096FC(_fc) |
Enumerations | |
enum | st25r3911b_leds { ST25R3911B_NFCA_LED , ST25R3911B_NFCB_LED , ST25R3911B_NFCF_LED } |
Functions | |
int | st25r3911b_init (void) |
Initialize the NFC reader. | |
int | st25r3911b_tx_len_set (uint16_t len) |
Set the NFC Reader TX packet length. | |
int | st25r3911b_non_response_timer_set (uint16_t fc, bool long_range, bool emv) |
Set NFC Reader No-Response timer. | |
int | st25r3911b_mask_receive_timer_set (uint32_t fc) |
int | st25r3911b_field_on (uint8_t collision_threshold, uint8_t peer_threshold, uint8_t delay) |
Perform automatic collision resolution and switch on the NFC Reader field. | |
int | st25r3911b_rx_tx_disable (void) |
Disable NFC Reader Receiver and Transceiver. | |
int | st25r3911b_fifo_reload_lvl_get (uint8_t *tx_lvl, uint8_t *rx_lvl) |
Get NFC Reader FIFO reload level. | |
int | st25r3911b_technology_led_set (enum st25r3911b_leds led, bool on) |
Enable/disable NFC Reader technology LED. | |