Describes about the MIFARE DUOX GPIO commands.
More...
|
| | Defines |
| | Macro Definitions for GPIO Management commands.
|
| |
|
| 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...
|
| |
Describes about the MIFARE DUOX GPIO commands.
◆ phalMfDuoX_ManageGPIO()
Perform GPIO Management.
- Returns
- Status code
- Return values
-
- 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.
- GPIOxMode as Output
- GPIOxMode as Down-Stream Power Out
- GPIO Control
- GPIO Measurement Control
- Target Voltage / Current Level
|
| [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()
Perform GPIO read.
- Returns
- Status code
- Return values
-
- 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. |