This layer provides Utilities for operating on transaction MAC.
More...
|
| phStatus_t | phTMIUtils_Init (phTMIUtils_t *pDataParams, uint8_t *pTMIBuffer, uint32_t dwBufLen) |
| | Initialize TMI Utils component. More...
|
| |
| phStatus_t | phTMIUtils_ActivateTMICollection (phTMIUtils_t *pDataParams, uint8_t bOption) |
| | Perfomrs Activation, Deactivation, Resume, Reset and Pause of TmiCollection. More...
|
| |
| phStatus_t | phTMIUtils_GetTMI (phTMIUtils_t *pDataParams, uint8_t **ppTMIBuffer, uint32_t *dwTMILen) |
| | Get TMI buffer. More...
|
| |
| phStatus_t | phTMIUtils_CollectTMI (phTMIUtils_t *pDataParams, uint8_t bOption, uint8_t *pCmdBuffer, uint16_t wCmdBufLen, uint8_t *pData, uint32_t dwDataLen, uint16_t wBlockSize) |
| | Performs collection of command / data information. More...
|
| |
| phStatus_t | phTMIUtils_SetConfig (phTMIUtils_t *pDataParams, uint16_t wConfig, uint32_t dwValue) |
| | Performs SetConfig command. More...
|
| |
| phStatus_t | phTMIUtils_GetConfig (phTMIUtils_t *pDataParams, uint16_t wConfig, uint32_t *pValue) |
| | Performs GetConfig command. More...
|
| |
This layer provides Utilities for operating on transaction MAC.
◆ phTMIUtils_Init()
Initialize TMI Utils component.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layers parameter structure. |
| [in] | pTMIBuffer | [In] Input buffer for collecting the command / data information.. |
| [in] | dwBufLen | [In] Size of input buffer. |
◆ phTMIUtils_ActivateTMICollection()
Perfomrs Activation, Deactivation, Resume, Reset and Pause of TmiCollection.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layers parameter structure. |
| [in] | bOption | [In] One of the below options.
|
◆ phTMIUtils_GetTMI()
Get TMI buffer.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layers parameter structure. |
| [out] | ppTMIBuffer | [Out] Get the collected command / data information. |
| [out] | dwTMILen | [Out] Length of bytes available in ppTMIBuffer. |
◆ phTMIUtils_CollectTMI()
Performs collection of command / data information.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layers parameter structure. |
| [in] | bOption | [In] One of the below values.
|
| [in] | pCmdBuffer | [In] Buffer containing the command information. |
| [in] | wCmdBufLen | [In] Length of bytes available in pCmdBuffer. |
| [in] | pData | [In] Buffer containing the data information. |
| [in] | dwDataLen | [In] Length of bytes available in pData. |
| [in] | wBlockSize | [In] Block size for appending padding bytes if PH_TMIUTILS_NO_PADDING is not used. |
◆ phTMIUtils_SetConfig()
Performs SetConfig command.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layers parameter structure. |
| [in] | wConfig | [In] One of the Below Configurations.
|
| [in] | dwValue | [In] The value for the given configuration. |
◆ phTMIUtils_GetConfig()
Performs GetConfig command.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layers parameter structure. |
| [in] | wConfig | [In] One of the Below Configurations.
|
| [out] | pValue | [Out] The value for the given configuration. |