User manual
NXP Semiconductors
UM10663
NXP Reader Library User Manual
UM10663
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2013. All rights reserved.
User Manual
COMPANY PUBLIC
Rev. 1.2 — 24 July 2013
257412
22 of 47
uint8_t * pValue ); [Out]
*pDataParams: pointer to the HAL layer data parameter structure
bAddress: address of the register to be the value read from. Addresses of all the
registers are defined in folder NxpRdLib_PublicRelease\intfs in
phhalHw_<readerChip>_Cmd.h file according to the reader chip datasheet.
*pValue: new value of the register to be written.
returnValues:
PH_ERR_SUCCESS
operation successful.
PH_ERR_INTERFACE_ERROR
hardware problem.
2.2.6 WriteRegister
- phhalHw_WriteRegister()
This function writes a given value to any PCD register. The MCU controls PCD via this
function including sending commands to PCD command register.
phStatus_t phhalHw_WriteRegister(
void * pDataParams, [In]
uint8_t bAddress, [In]
uint8_t bValue ); [In]
*pDataParams: pointer to the HAL layer data parameter structure
bAddress: address of the register to be the value read from. Addresses of all the
registers are defined in folder NxpRdLib_PublicRelease\intfs in
phhalHw_<readerChip>_Cmd.h file according to the reader chip datasheet.
bValue: new value of the register to be written.
returnValues:
PH_ERR_SUCCESS
operation successful.
PH_ERR_INTERFACE_ERROR
hardware problem.
2.2.7 FieldOn
- phhalHw_FieldOn()
This function turns on RF field by enabling transmitter pins of the reader chip.
phStatus_t phhalHw_FieldOn(
void * pDataParams ); [In]
*pDataParams: pointer to the HAL layer data parameter structure.
returnValues:
PH_ERR_SUCCESS
operation successful.
PH_ERR_INTERFACE_ERROR
communication error.
2.2.8 FieldOff
- phhalHw_FieldOff()
This function turns off RF field by disabling transmitter pins of the reader chip.
phStatus_t phhalHw_FieldOff (
void * pDataParams ); [In]
*pDataParams: pointer to the HAL data layer parameter structure.
returnValues: