SPRUJ27C November 2022 – November 2023 TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1
Calculates the PSA for a specified region
Synopsis
uint32 Fapi_calculatePsa(
uint32 *pu32StartAddress,
uint32 u32Length,
uint32 u32PsaSeed,
Fapi_FlashReadMarginModeType oReadMode)
Parameters
pu32StartAddress [in] | start address for region to calculate PSA value |
u32Length [in] | length of region in 32-bit words to calculate PSA value |
u32PsaSeed [in] | seed value for PSA calculation |
oReadMode [in] | only normal mode is applicable. Use Fapi_NormalRead. |
Description
This function calculates the PSA value for the region specified starting at pu32StartAddress for u32Length 32-bit words using u32PsaSeed value. The PSA algorithm is given in Appendix E.
Restrictions
None
Return Value