NXP Reader Library  v17.1.0.2535

SAM X implementation of the MIFARE Ultralight / NTAG commands. Here the MIFARE Ultralight / NTAG commands are framed and exchanged to PICC. More...

Collaboration diagram for Component : Sam_X:

Data Structures

struct  phalMful_SamAV2_X_DataParams_t
 Data structure for MIFARE Ultralight / NTAG SAM AV2 X layer implementation
More...
 
struct  phalMful_SamAV3_X_DataParams_t
 Data structure for MIFARE Ultralight / NTAG SAM AV3 X layer implementation
More...
 

Macros

#define PHAL_MFUL_SAMAV2_X_ID   0x03
 ID for SamAV2_X MIFARE Ultralight layer.
 
#define PHAL_MFUL_SAMAV3_X_ID   0x05
 ID for SamAV3_X MIFARE Ultralight layer.
 

Functions

phStatus_t phalMful_SamAV2_X_Init (phalMful_SamAV2_X_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, phhalHw_SamAV2_DataParams_t *pHalSamDataParams, void *pPalMifareDataParams)
 Initialization API for MIFARE Ultralight / NTAG SAM AV2 X component. More...
 
phStatus_t phalMful_SamAV3_X_Init (phalMful_SamAV3_X_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, phhalHw_SamAV3_DataParams_t *pHalSamDataParams, void *pPalMifareDataParams)
 Initialization API for MIFARE Ultralight / NTAG SAM AV3 X component. More...
 

Detailed Description

SAM X implementation of the MIFARE Ultralight / NTAG commands. Here the MIFARE Ultralight / NTAG commands are framed and exchanged to PICC.

Function Documentation

◆ phalMful_SamAV2_X_Init()

phStatus_t phalMful_SamAV2_X_Init ( phalMful_SamAV2_X_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
phhalHw_SamAV2_DataParams_t pHalSamDataParams,
void *  pPalMifareDataParams 
)

Initialization API for MIFARE Ultralight / NTAG SAM AV2 X component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMS
  • If the input size doest not match the DataParams size of this component.
  • If any of the DataParams are null.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wSizeOfDataParams[In] Specifies the size of the data parameter structure.
[in]pHalSamDataParams[In] Pointer to halHw_SamAV2 parameter structure.
[in]pPalMifareDataParams[In] Pointer to palMifare_SamAV2_X parameter structure.

◆ phalMful_SamAV3_X_Init()

phStatus_t phalMful_SamAV3_X_Init ( phalMful_SamAV3_X_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
phhalHw_SamAV3_DataParams_t pHalSamDataParams,
void *  pPalMifareDataParams 
)

Initialization API for MIFARE Ultralight / NTAG SAM AV3 X component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMS
  • If the input size doest not match the DataParams size of this component.
  • If any of the DataParams are null.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wSizeOfDataParams[In] Specifies the size of the data parameter structure.
[in]pHalSamDataParams[In] Pointer to halHw_SamAV3 parameter structure.
[in]pPalMifareDataParams[In] Pointer to palMifare_SamAV3_X parameter structure.