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.
 

Detailed Description

Function Documentation

◆ nfcextend_cfg_setup()

void nfcextend_cfg_setup ( nfcextend_cfg_t * cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

@description This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ nfcextend_default_cfg()

uint8_t nfcextend_default_cfg ( nfcextend_t * ctx)

Click Default Configuration function.

Parameters
ctxClick object.

@description This function executes default configuration for NfcExtend click.

◆ nfcextend_digital_read_int()

uint8_t nfcextend_digital_read_int ( nfcextend_t * ctx)

Digital read interrupt.

Parameters
ctxClick object.
blockI2C block structure.

@description This function reads the digital signal from the INT pin.

◆ nfcextend_i2c_get()

uint8_t nfcextend_i2c_get ( nfcextend_t * ctx,
nfcextend_block_t * block )

I2C get function.

Parameters
ctxClick object.
blockI2C block structure.

@description This function reads data from the chip.

◆ nfcextend_i2c_set()

uint8_t nfcextend_i2c_set ( nfcextend_t * ctx,
nfcextend_block_t * block )

I2C set function.

Parameters
ctxClick object.
blockI2C block structure.

@description This function writes data to the chip.

◆ nfcextend_init()

NFCEXTEND_RETVAL nfcextend_init ( nfcextend_t * ctx,
nfcextend_cfg_t * cfg )

Initialization function.

Parameters
nfcextendClick object.
cfgClick configuration structure.

@description This function initializes all necessary pins and peripherals used for this click.

◆ nfcextend_password_present()

uint8_t nfcextend_password_present ( nfcextend_t * ctx,
uint8_t * pass_buf )

Password present function.

Parameters
ctxClick object.
pass_bufPassword buffer pointer.

@description This function presents the specified password to the chip.