RdCardSim Reader HAL.
More...
RdCardSim Reader HAL.
This simulator works only with the digital simulator the was developed in the MF1C14 project.
Restriction: This module only supports one card type at the same time.
To support more cards at the same time a shadow has to be implemented to shadow all configurations.
The phhalHw_RdCardSim_ApplyProtocolSettings function has to be extended to support the shadow and the default configuration.
◆ phhalHw_RdCardSim_Init()
Initialise the HAL component.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wSizeOfDataParams | [In] Specifies the size of the data parameter structure. |
| [in] | pBalDataParams | [In] Pointer to the lower layers parameter structure. |
| [in] | pKeyStoreDataParams | [In] Pointer to the parameter structure of the keyStore layer. |
| [in] | pTxBuffer | [In] Pointer to global transmit buffer used by the Exchange() function. |
| [in] | wTxBufSize | [In] Size of the global transmit buffer. |
| [in] | pRxBuffer | [In] Pointer to global receive buffer used by the Exchange() function. |
| [in] | wRxBufSize | [In] Size of the global receive buffer. |
| [in] | pIntBuffer | [In] Internal buffer used as a scratch buffer. |
| [in] | wIntBufferLen | [In] Length of innternal buffer used as a scratch buffer. |