SAM commands used for RC52xa nd RC663 reader IC communication.
More...
|
| phStatus_t | phhalHw_SamAV2_Cmd_RC_ReadRegister (phhalHw_SamAV2_DataParams_t *pDataParams, uint8_t *pRegAddress, uint8_t bRegAddressLength, uint8_t *pValue) |
| | Read one or more registers of the RC522. More...
|
| |
| phStatus_t | phhalHw_SamAV2_Cmd_RC_WriteRegister (phhalHw_SamAV2_DataParams_t *pDataParams, uint8_t *pData, uint8_t bDataLength) |
| | Write one or more registers of the RC522. More...
|
| |
| phStatus_t | phhalHw_SamAV2_Cmd_RC_RFControl (phhalHw_SamAV2_DataParams_t *pDataParams, uint16_t wTime) |
| | Turn the RF-field of the RC522 on and/or off. More...
|
| |
| phStatus_t | phhalHw_SamAV2_Cmd_RC_Init (phhalHw_SamAV2_DataParams_t *pDataParams, uint8_t bLoadReg) |
| | Initialize the RC522 with a given register value set. More...
|
| |
| phStatus_t | phhalHw_SamAV2_Cmd_RC_LoadRegisterValueSet (phhalHw_SamAV2_DataParams_t *pDataParams, uint8_t bStoreReg, uint8_t *pData, uint8_t bDataLength) |
| | Update a register value set in the SAM. More...
|
| |
SAM commands used for RC52xa nd RC663 reader IC communication.
◆ phhalHw_SamAV2_Cmd_RC_ReadRegister()
Read one or more registers of the RC522.
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pRegAddress | [In] Buffer containing the addresses of registers to be read. |
| [in] | bRegAddressLength | [In] Length of pRegAddress. |
| [out] | pValue | [Out] Buffer containing the read values. The buffer has to be bRegAddressLength long. |
◆ phhalHw_SamAV2_Cmd_RC_WriteRegister()
Write one or more registers of the RC522.
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pData | [In] Buffer containing address - value duos. |
| [in] | bDataLength | [In] Amount of valid data bytes in the pData buffer. It has to be a multiple of 2. |
◆ phhalHw_SamAV2_Cmd_RC_RFControl()
Turn the RF-field of the RC522 on and/or off.
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wTime | [In] Shut down time for HF Field |
◆ phhalHw_SamAV2_Cmd_RC_Init()
Initialize the RC522 with a given register value set.
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bLoadReg | [In] Number of register value set to be used for initialization (00h to 07h). |
◆ phhalHw_SamAV2_Cmd_RC_LoadRegisterValueSet()
Update a register value set in the SAM.
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bStoreReg | [In] Number of register value set to be used for storing (00h to 07h). |
| [in] | pData | [In] Buffer containing address - value duos. |
| [in] | bDataLength | [In] Amount of valid data bytes in the pData buffer. It has to be a multiple of 2. |