nfcextend 2.0.0.0
|
Functions | |
void | nfcextend_cfg_setup (nfcextend_cfg_t *cfg) |
Config Object Initialization function. | |
NFCEXTEND_RETVAL | nfcextend_init (nfcextend_t *ctx, nfcextend_cfg_t *cfg) |
Initialization function. | |
uint8_t | nfcextend_default_cfg (nfcextend_t *ctx) |
Click Default Configuration function. | |
uint8_t | nfcextend_password_present (nfcextend_t *ctx, uint8_t *pass_buf) |
Password present function. | |
uint8_t | nfcextend_i2c_set (nfcextend_t *ctx, nfcextend_block_t *block) |
I2C set function. | |
uint8_t | nfcextend_i2c_get (nfcextend_t *ctx, nfcextend_block_t *block) |
I2C get function. | |
uint8_t | nfcextend_digital_read_int (nfcextend_t *ctx) |
Digital read interrupt. | |
void nfcextend_cfg_setup | ( | nfcextend_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
uint8_t nfcextend_default_cfg | ( | nfcextend_t * | ctx | ) |
Click Default Configuration function.
ctx | Click object. |
@description This function executes default configuration for NfcExtend click.
uint8_t nfcextend_digital_read_int | ( | nfcextend_t * | ctx | ) |
Digital read interrupt.
ctx | Click object. |
block | I2C block structure. |
@description This function reads the digital signal from the INT pin.
uint8_t nfcextend_i2c_get | ( | nfcextend_t * | ctx, |
nfcextend_block_t * | block ) |
I2C get function.
ctx | Click object. |
block | I2C block structure. |
@description This function reads data from the chip.
uint8_t nfcextend_i2c_set | ( | nfcextend_t * | ctx, |
nfcextend_block_t * | block ) |
I2C set function.
ctx | Click object. |
block | I2C block structure. |
@description This function writes data to the chip.
NFCEXTEND_RETVAL nfcextend_init | ( | nfcextend_t * | ctx, |
nfcextend_cfg_t * | cfg ) |
Initialization function.
nfcextend | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
uint8_t nfcextend_password_present | ( | nfcextend_t * | ctx, |
uint8_t * | pass_buf ) |
Password present function.
ctx | Click object. |
pass_buf | Password buffer pointer. |
@description This function presents the specified password to the chip.