NXP Reader Library  v17.1.0.2535
Component : LicenseeWrapper

Licensee Wrapper HAL. More...

Collaboration diagram for Component : LicenseeWrapper:

Data Structures

struct  phhalHw_LicenseeWrapper_DataParams_t
 Licensee HAL parameter structure. More...
 

Macros

#define PHHAL_HW_LICENSEEWRAPPER_ID   0x12
 ID for Licensee Wrapper HAL component.
 

Typedefs

typedef phStatus_t(* phhalHw_LicenseeWrapper_Init_t) (void **pContext)
 Callback Delegate for phhalHw_LicenseeWrapper_Init.
 
typedef phStatus_t(* phhalHw_LicenseeWrapper_Term_t) (void *pContext)
 Callback Delegate for phhalHw_LicenseeWrapper_Term.
 
typedef phStatus_t(* phhalHw_LicenseeWrapper_SetConfig_t) (uint16_t wConfig, uint16_t wValue, void *pContext)
 Callback Delegate for phhalHw_SetConfig.
 
typedef phStatus_t(* phhalHw_LicenseeWrapper_GetConfig_t) (uint16_t wConfig, uint16_t *pValue, void *pContext)
 Callback Delegate for phhalHw_GetConfig.
 
typedef phStatus_t(* phhalHw_LicenseeWrapper_FieldReset_t) (void *pContext)
 Callback Delegate for phhalHw_FieldReset.
 
typedef phStatus_t(* phhalHw_LicenseeWrapper_Wait_t) (uint8_t bUnit, uint16_t wTimeout, void *pContext)
 Callback Delegate for phhalHw_Wait.
 
typedef phStatus_t(* phhalHw_LicenseeWrapper_Exchange_t) (uint16_t wOption, uint8_t *pTxBuffer, uint16_t wTxLength, uint8_t **ppRxBuffer, uint16_t *pRxLength, void *pContext)
 Callback Delegate for phhalHw_Exchange.
 
typedef phStatus_t(* phhalHw_LicenseeWrapper_ApplyProtocolSettings_t) (uint8_t bCardType, void *pContext)
 Callback Delegate for phhalHw_ApplyProtocolSettings.
 

Functions

phStatus_t phhalHw_LicenseeWrapper_Init (phhalHw_LicenseeWrapper_DataParams_t *UNALIGNED pDataParams, uint16_t wSizeOfDataParams, uint8_t *pTxBuffer, uint16_t wTxBufSize, uint8_t *pRxBuffer, uint16_t wRxBufSize, int8_t *pDllFile)
 Initialise the Licensee Wrapper HAL component. More...
 
phStatus_t phhalHw_LicenseeWrapper_Term (phhalHw_LicenseeWrapper_DataParams_t *pDataParams)
 De-initialise the Licensee Wrapper HAL component. More...
 

Detailed Description

Licensee Wrapper HAL.

This HAL component is intended to be used with the HAL layer developped by the Licensees

Function Documentation

◆ phhalHw_LicenseeWrapper_Init()

phStatus_t phhalHw_LicenseeWrapper_Init ( phhalHw_LicenseeWrapper_DataParams_t *UNALIGNED  pDataParams,
uint16_t  wSizeOfDataParams,
uint8_t pTxBuffer,
uint16_t  wTxBufSize,
uint8_t pRxBuffer,
uint16_t  wRxBufSize,
int8_t pDllFile 
)

Initialise the Licensee Wrapper HAL component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending 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]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]pDllFile[In] Path and name to the Licensee HAL DLL file.

◆ phhalHw_LicenseeWrapper_Term()

phStatus_t phhalHw_LicenseeWrapper_Term ( phhalHw_LicenseeWrapper_DataParams_t pDataParams)

De-initialise the Licensee Wrapper HAL component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlaying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.