NXP Reader Library  v17.1.0.2535
Commands_GPIOManagement

Describes about the MIFARE DUOX GPIO commands. More...

Collaboration diagram for Commands_GPIOManagement:

Modules

 Defines
 Macro Definitions for GPIO Management commands.
 

Functions

phStatus_t phalMfDuoX_ManageGPIO (void *pDataParams, uint16_t wOption, uint8_t bGPIONo, uint8_t bOperation, uint8_t *pNFCPauseRspData, uint16_t wNFCPauseRspDataLen, uint8_t **ppResponse, uint16_t *pRspLen)
 Perform GPIO Management. More...
 
phStatus_t phalMfDuoX_ReadGPIO (void *pDataParams, uint16_t wOption, uint8_t **ppResponse, uint16_t *pRspLen)
 Perform GPIO read. More...
 

Detailed Description

Describes about the MIFARE DUOX GPIO commands.

Function Documentation

◆ phalMfDuoX_ManageGPIO()

phStatus_t phalMfDuoX_ManageGPIO ( void *  pDataParams,
uint16_t  wOption,
uint8_t  bGPIONo,
uint8_t  bOperation,
uint8_t pNFCPauseRspData,
uint16_t  wNFCPauseRspDataLen,
uint8_t **  ppResponse,
uint16_t pRspLen 
)

Perform GPIO Management.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMSIf DataParams is null.
PH_ERR_INVALID_PARAMETER
  • If the buffers are null.
  • The values provided in bComOption is not supported.
XXXX
  • Depending on status codes return by PICC.
  • Other Depending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wOption[In] Indicates the mode of communication to be used while exchanging the data from PICC.
[in]bGPIONo[In] GPIO Number to use for management. One of the below values.
[in]bOperation[In] Targeted Operation perform on the selected GPIO. One of the below values.
[in]pNFCPauseRspData[In] NFC Pause Response Data: Data to be returned to NFC host in the case of ‘Release NFC Pause’
[in]wNFCPauseRspDataLen[In] Length of bytes available in pNFCPauseRspData buffer.
[out]ppResponse[Out] Response from PICC as follows.
  • If bOperation = Pause NFC then, NFC Pause Response Data: Data received from the I2C interface
  • If bOperation = Execute Measure then, Measurement result will be received.
  • NULL for others.
[out]pRspLen[Out] Length of bytes available in pRspLen buffer.

◆ phalMfDuoX_ReadGPIO()

phStatus_t phalMfDuoX_ReadGPIO ( void *  pDataParams,
uint16_t  wOption,
uint8_t **  ppResponse,
uint16_t pRspLen 
)

Perform GPIO read.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMSIf DataParams is null.
PH_ERR_INVALID_PARAMETER
  • If the buffers are null.
  • The values provided in bComOption is not supported.
XXXX
  • Depending on status codes return by PICC.
  • Other Depending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wOption[In] Indicates the mode of communication to be used while exchanging the data from PICC.
[out]ppResponse[Out] Cryptographic output for the provided input.
[out]pRspLen[Out] Length of bytes available in pRspLen buffer.