SAM commands used for reader IC communication.
More...
|
| phStatus_t | phhalHw_SamAV3_Cmd_RC_ReadRegister (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t *pRegAddr, uint8_t bRegAddrLen, uint8_t *pValue) |
| | Read the content of one or more register(s) of the connected reader chip. More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_RC_WriteRegister (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t *pData, uint8_t bDataLen) |
| | Write the content of one or more register(s) of the connected reader chip. More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_RC_RFControl (phhalHw_SamAV3_DataParams_t *pDataParams, uint16_t wTime) |
| | Turn the radio frequency field On or Off. More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_RC_Init (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t bLoadReg) |
| | Initializes the reader chip. More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_RC_LoadRegisterValueSet (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t bStoreReg, uint8_t *pData, uint8_t bDataLen) |
| | Stores a customer defined register value set. More...
|
| |
SAM commands used for reader IC communication.
◆ phhalHw_SamAV3_Cmd_RC_ReadRegister()
Read the content of one or more register(s) of the connected reader chip.
- 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] | pRegAddr | [In] Address for the registers to be read. |
| [in] | bRegAddrLen | [In] The length of bytes available in RegAddr buffer. |
| [out] | pValue | [Out] Register(s) content in the same order as the command data field address(es). |
◆ phhalHw_SamAV3_Cmd_RC_WriteRegister()
Write the content of one or more register(s) of the connected reader chip.
- 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] | pData | [In] The registers to tbe updated. This buffer should contain register address followed by value.
The format should be as mentioned below.
RegAdd + Value + RegAdd + Value + ... + RegAdd + Value |
| [in] | bDataLen | [In] The length of bytes available in Data buffer. |
◆ phhalHw_SamAV3_Cmd_RC_RFControl()
Turn the radio frequency field On or Off.
- 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] | wTime | [In] Shut-down time for the RF field, zero turns the field off. |
◆ phhalHw_SamAV3_Cmd_RC_Init()
Initializes the reader chip.
- 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] | bLoadReg | [In] The Load register information. |
◆ phhalHw_SamAV3_Cmd_RC_LoadRegisterValueSet()
Stores a customer defined register value set.
- 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] | bStoreReg | [In] Number of register value set to be used for storing the values. |
| [in] | pData | [In] List of Register descriptions. This buffer should be as meniotned below.
If TD1AR1070: SpeedID + ItemCount + RegAddr + RegValue
If TD1AR2060: RegAddr + RegValue |
| [in] | bDataLen | [In] The length of bytes available in Data buffer. |