Implementation of helper interfaces for RC663 Reader IC.
More...
|
| phStatus_t | phhalHw_Sam_Rc663_SetCardMode (phhalHw_Sam_DataParams_t *pDataParams, uint16_t wTxDataRate, uint16_t wRxDataRate) |
| | Apply card mode according to given parameters. More...
|
| |
| phStatus_t | phhalHw_Sam_Rc663_SetConfig (phhalHw_Sam_DataParams_t *pDataParams, uint16_t wConfig, uint16_t wValue) |
| | Set configuration parameter. More...
|
| |
| phStatus_t | phhalHw_Sam_Rc663_Wait (phhalHw_Sam_DataParams_t *pDataParams, uint8_t bUnit, uint16_t wTimeout) |
| | Blocks until the time given by wTimeout elapsed. More...
|
| |
| phStatus_t | phhalHw_Sam_Rc663_SetRxWait (phhalHw_Sam_DataParams_t *pDataParams, uint16_t wTimeEtu) |
| | Sets the RxWait time. More...
|
| |
| phStatus_t | phhalHw_Sam_Rc663_SetTxWait (phhalHw_Sam_DataParams_t *pDataParams, uint16_t wTimeUs) |
| | Sets the TxWait time in microseconds. More...
|
| |
| phStatus_t | phhalHw_Sam_Rc663_SetFdt (phhalHw_Sam_DataParams_t *pDataParams, uint8_t bUnit, uint16_t wTimeout) |
| | Sets the Frame Delay Time (Timeout). More...
|
| |
| phStatus_t | phhalHw_Sam_Rc663_GetFdt (phhalHw_Sam_DataParams_t *pDataParams, phStatus_t wExchangeStatus, uint32_t *pTime) |
| | Retrieves the Frame Delay Time of the last command. More...
|
| |
| phStatus_t | phhalHw_Sam_Rc663_GetDigiDelay (phhalHw_Sam_DataParams_t *pDataParams, uint8_t bIsTimeout, uint16_t *pDelayUs) |
| | Returns the delay of the digital circutry for the current protocol. More...
|
| |
Implementation of helper interfaces for RC663 Reader IC.
◆ phhalHw_Sam_Rc663_SetCardMode()
Apply card mode according to given parameters.
- 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] | wTxDataRate | [In] TxDataRate HAL config. |
| [in] | wRxDataRate | [In] RxDataRate HAL config. |
◆ phhalHw_Sam_Rc663_SetConfig()
Set configuration parameter.
Rc663 Specific
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wConfig | [In] Configuration Identifier. |
| [in] | wValue | [In] Configuration Value. |
◆ phhalHw_Sam_Rc663_Wait()
Blocks until the time given by wTimeout elapsed.
Rc663 Specific
- Returns
- Status code
- Return values
-
- Parameters
-
◆ phhalHw_Sam_Rc663_SetRxWait()
Sets the RxWait time.
Rc663 Specific Note: RxWait is defined between the last transmitted bit and the activation of the receiver.
- 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] | wTimeEtu | [In] RxWait time in ETUs. |
◆ phhalHw_Sam_Rc663_SetTxWait()
Sets the TxWait time in microseconds.
Rc663 Specific Note: TxWait is defined between the last received bit and the next transmitted bit.
- 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] | wTimeUs | [In] TxWait time in microseconds. |
◆ phhalHw_Sam_Rc663_SetFdt()
Sets the Frame Delay Time (Timeout).
Rc663 Specific Note: Frame Delay Time is defined between the last transmitted bit and the first received bit.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
◆ phhalHw_Sam_Rc663_GetFdt()
Retrieves the Frame Delay Time of the last command.
Rc663 Specific Note: Frame Delay Time is defined between the last transmitted bit and the first received bit.
- 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] | wExchangeStatus | [In] Status code returned by exchange function. |
| [out] | pTime | [Out] Calculated time in microseconds from timer contents. |
◆ phhalHw_Sam_Rc663_GetDigiDelay()
Returns the delay of the digital circutry for the current protocol.
Rc663 Specific
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bIsTimeout | [In] Wheter the returned delay is added to a timeout (PH_ON) or is used for measurement (PH_OFF). |
| [out] | pDelayUs | [Out] The digital delay in microseconds. |