rfid2 2.0.0.0
|
This file contains API for RFID 2 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | rfid2_t |
RFID 2 Click context object. More... | |
struct | rfid2_cfg_t |
RFID 2 Click configuration object. More... | |
Macros | |
#define | RFID2_CARD_IS_SUCCESSFULLY_READ 0x00 |
RFID 2 control commands. | |
#define | DRV_BUFFER_SIZE 200 |
RFID 2 driver buffer size. | |
#define | RFID2_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | rfid2_return_value_t { RFID2_OK = 0 , RFID2_ERROR = -1 } |
RFID 2 Click return value data. More... | |
Functions | |
void | rfid2_cfg_setup (rfid2_cfg_t *cfg) |
RFID 2 configuration object setup function. | |
err_t | rfid2_init (rfid2_t *ctx, rfid2_cfg_t *cfg) |
RFID 2 initialization function. | |
err_t | rfid2_generic_write (rfid2_t *ctx, char *data_buf, uint16_t len) |
RFID 2 data writing function. | |
err_t | rfid2_generic_read (rfid2_t *ctx, char *data_buf, uint16_t max_len) |
RFID 2 data reading function. | |
uint8_t | rfid2_get_interrupt (rfid2_t *ctx) |
RFID 2 read state interrupt(INT) pin function. | |
void | rfid2_reset (rfid2_t *ctx) |
RFID 2 reset chip function. | |
This file contains API for RFID 2 Click Driver.
enum rfid2_return_value_t |