magicrfid 2.0.0.0
|
This file contains API for Magic RFID 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 | magicrfid_t |
Magic RFID Click context object. More... | |
struct | magicrfid_cfg_t |
Magic RFID Click configuration object. More... | |
struct | magicrfid_command_t |
Magic RFID Click command object. More... | |
struct | magicrfid_response_t |
Magic RFID Click response object. More... | |
struct | magicrfid_epc_t |
Magic RFID Click EPC data object. More... | |
Enumerations | |
enum | magicrfid_return_value_t { MAGICRFID_OK = 0 , MAGICRFID_ERROR = -1 } |
Magic RFID Click return value data. More... | |
Functions | |
void | magicrfid_cfg_setup (magicrfid_cfg_t *cfg) |
Magic RFID configuration object setup function. | |
err_t | magicrfid_init (magicrfid_t *ctx, magicrfid_cfg_t *cfg) |
Magic RFID initialization function. | |
void | magicrfid_default_cfg (magicrfid_t *ctx) |
Magic RFID default configuration function. | |
err_t | magicrfid_generic_write (magicrfid_t *ctx, uint8_t *data_buf, uint16_t len) |
Magic RFID data writing function. | |
err_t | magicrfid_generic_read (magicrfid_t *ctx, uint8_t *data_buf, uint16_t max_len) |
Magic RFID data reading function. | |
void | magicrfid_device_reset (magicrfid_t *ctx) |
Magic RFID device reset function. | |
void | magicrfid_send_command (magicrfid_t *ctx, magicrfid_command_t cmd) |
Magic RFID send command function. | |
err_t | magicrfid_get_response (magicrfid_t *ctx, magicrfid_response_t *rsp) |
Magic RFID get response function. | |
int8_t | magicrfid_parse_tag_rssi (magicrfid_response_t rsp) |
Parse Tag RSSI value. | |
uint32_t | magicrfid_parse_tag_freq (magicrfid_response_t rsp) |
Parse Tag Freq value. | |
void | magicrfid_parse_tag_epc (magicrfid_response_t rsp, magicrfid_epc_t *epc) |
Parse Tag EPC bytes. | |
void | magicrfid_set_tag_protocol (magicrfid_t *ctx, uint8_t protocol) |
Magic RFID set protocol function. | |
void | magicrfid_set_region (magicrfid_t *ctx, uint8_t region) |
Magic RFID set region function. | |
void | magicrfid_set_antenna_port (magicrfid_t *ctx) |
Magic RFID turn on antenna port function. | |
void | magicrfid_set_baud_rate (magicrfid_t *ctx, uint32_t baud_rate) |
Magic RFID set baud rate function. | |
void | magicrfid_set_read_power (magicrfid_t *ctx, uint16_t power_setting) |
Magic RFID set read function power. | |
void | magicrfid_set_write_power (magicrfid_t *ctx, uint16_t power_setting) |
Magic RFID set write function power. | |
void | magicrfid_set_reader_config (magicrfid_t *ctx, uint8_t option1, uint8_t option2) |
Magic RFID set reader configuration function. | |
void | magicrfid_start_reading (magicrfid_t *ctx) |
Magic RFID enable reading function. | |
void | magicrfid_clear_buffers (magicrfid_t *ctx) |
Magic RFID clear buffers function. | |
This file contains API for Magic RFID Click Driver.