
Functions | |
| phStatus_t | phhalHw_SamAV2_HcUtils_GetCheckLcLe (uint8_t *pCmd, uint16_t wCmdLength, uint8_t *isLcPresent, uint8_t *LcLength, uint8_t *isLePresent) |
| phStatus_t | phhalHw_SamAV2_HcUtils_TruncateMacBuffer (uint8_t *pIoBuffer, uint8_t *MacLength) |
| Truncate a 16-Bytes MAC buffer into a 8-Bytes Buffer. More... | |
| phStatus_t | phhalHw_SamAV2_HcUtils_Cmd_ResolveErrorCode (uint8_t *pSw1Sw2, uint16_t wComponentID) |
| Parse Status Word Sw1Sw2 from the SAM. More... | |
| phStatus_t phhalHw_SamAV2_HcUtils_GetCheckLcLe | ( | uint8_t * | pCmd, |
| uint16_t | wCmdLength, | ||
| uint8_t * | isLcPresent, | ||
| uint8_t * | LcLength, | ||
| uint8_t * | isLePresent | ||
| ) |
| [in] | pCmd | [In]: address of buffer that contains the command. |
| [in] | wCmdLength | [In]: length of the command. |
| [out] | isLcPresent | [Out]: LC byte presence indicator . |
| [out] | LcLength | [Out]: length of the payload of the command . |
| [out] | isLePresent | [Out]: LE byte presence indicator . |
| phStatus_t phhalHw_SamAV2_HcUtils_TruncateMacBuffer | ( | uint8_t * | pIoBuffer, |
| uint8_t * | MacLength | ||
| ) |
Truncate a 16-Bytes MAC buffer into a 8-Bytes Buffer.
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
| [in] | pIoBuffer | [In]: The 16 bytes MAC input which should be truncated. |
| [out] | MacLength | [Out]: Truncated MAC which is 8 bytes. |
| phStatus_t phhalHw_SamAV2_HcUtils_Cmd_ResolveErrorCode | ( | uint8_t * | pSw1Sw2, |
| uint16_t | wComponentID | ||
| ) |
Parse Status Word Sw1Sw2 from the SAM.
| PH_ERR_SUCCESS | Operation successful. |
| [in] | pSw1Sw2 | [In] Pointer to the status code sent by the SAM. |
| [in] | wComponentID | [In] ID of the component to be added. |