smartcard2 2.1.0.0
|
This file contains API for Smart Card 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 | smartcard2_ccid_t |
Smart Card 2 Click context object. More... | |
struct | smartcard2_t |
Smart Card 2 Click context object. More... | |
struct | smartcard2_cfg_t |
Smart Card 2 Click configuration object. More... | |
Enumerations | |
enum | smartcard2_return_value_t { SMARTCARD2_OK = 0 , SMARTCARD2_ERROR = -1 , SMARTCARD2_READ_ERROR = -2 , SMARTCARD2_CHECKSUM_ERROR = -3 , SMARTCARD2_TIMEOUT_ERROR = -4 } |
Smart Card 2 Click return value data. More... | |
Functions | |
void | smartcard2_cfg_setup (smartcard2_cfg_t *cfg) |
Smart Card 2 configuration object setup function. | |
err_t | smartcard2_init (smartcard2_t *ctx, smartcard2_cfg_t *cfg) |
Smart Card 2 initialization function. | |
err_t | smartcard2_generic_write (smartcard2_t *ctx, char *data_in, uint16_t len) |
Smart Card 2 data writing function. | |
err_t | smartcard2_generic_read (smartcard2_t *ctx, char *data_out, uint16_t len) |
Smart Card 2 data reading function. | |
void | smartcard2_enable_device (smartcard2_t *ctx) |
Smart Card 2 enable device function. | |
void | smartcard2_disable_device (smartcard2_t *ctx) |
Smart Card 2 disable device function. | |
err_t | smartcard2_send_ccid (smartcard2_t *ctx, smartcard2_ccid_t *data_in) |
Smart Card 2 send ccid function. | |
err_t | smartcard2_read_ccid (smartcard2_t *ctx, smartcard2_ccid_t *data_out) |
Smart Card 2 read ccid function. | |
err_t | smartcard2_icc_power_on (smartcard2_t *ctx, uint8_t power_sel) |
Smart Card 2 icc power on function. | |
err_t | smartcard2_icc_power_off (smartcard2_t *ctx) |
Smart Card 2 icc power off function. | |
err_t | smartcard2_get_slot_status (smartcard2_t *ctx) |
Smart Card 2 get slot status function. | |
This file contains API for Smart Card 2 Click Driver.