This file contains the prototypes of the APIs present in the device abstraction layer file of MCRC. This also contains some related macros.
|
int32_t | SDL_MCRC_init (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t watchdogPreload, uint32_t blockPreload) |
| Initialize MCRC channel and will configure watchdog and block preload value for given channel. More...
|
|
int32_t | SDL_MCRC_verifyInit (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t watchdogPreload, uint32_t blockPreload) |
| Verify the MCRC watchdog and block preload value initialized for given channel. More...
|
|
int32_t | SDL_MCRC_config (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t patternCount, uint32_t sectorCount, SDL_MCRC_ModeType mode) |
| This API will configure MCRC mode, pattern and sector count for given channel. More...
|
|
int32_t | SDL_MCRC_verifyConfig (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t patternCount, uint32_t sectorCount, SDL_MCRC_ModeType mode) |
| This API will verify the configure of MCRC mode, pattern and sector count for given channel. More...
|
|
int32_t | SDL_MCRC_channelReset (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel) |
| This API is used to reset the MCRC channel. More...
|
|
int32_t | SDL_MCRC_setPSASeedSig (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, const SDL_MCRC_Signature_t *pSeedSign) |
| This API is used to set the PSA seed value without compression for given Channel. More...
|
|
int32_t | SDL_MCRC_getPSASectorSig (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, SDL_MCRC_Signature_t *pSecSign) |
| This API is used to get sector signature Value/ MCRC value for given channel. More...
|
|
int32_t | SDL_MCRC_intrStatus (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t *pIntrStatus) |
| This API is used to get the pending interrupts for given Channel. More...
|
|
int32_t | SDL_MCRC_enableIntr (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t intrMask) |
| This API is used to enable interrupts for given Channel. More...
|
|
int32_t | SDL_MCRC_disableIntr (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t intrMask) |
| This API is used to disable interrupts for given Channel. More...
|
|
int32_t | SDL_MCRC_clearIntr (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t intrMask) |
| This API is used to clear interrupts for given Channel. More...
|
|
int32_t | SDL_MCRC_isBusy (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t *pBusyFlag) |
| This API is used to check if MCRC is busy for given Channel. More...
|
|
int32_t | SDL_MCRC_getCurSecNum (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, uint32_t *pCurSecNum) |
| This API is used to get the current sector number of which the signature verification fails in AUTO mode for given channel. More...
|
|
int32_t | SDL_MCRC_getPSASig (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, SDL_MCRC_Signature_t *pPSAsig) |
| This API is used to get current known good signature value/ MCRC value for given channel. More...
|
|
int32_t | SDL_MCRC_readStaticReg (SDL_MCRC_InstType instance, SDL_MCRC_StaticRegs_t *pStaticRegs) |
| This API is used to read static registers of MCRC module. This API needs to be called after the initial configuration is done and hence mutliple read between static registers do not change the values. More...
|
|
int32_t | SDL_MCRC_getCurPSASig (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, SDL_MCRC_Signature_t *pCurPSASig) |
| This API is used to get current known good signature value/ MCRC value for given channel. More...
|
|
int32_t | SDL_MCRC_getPSASigRegAddr (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, SDL_MCRC_SignatureRegAddr_t *pMCRCregAddr) |
| This API is used to get the PSA register address for given Channel. More...
|
|
int32_t | SDL_MCRC_computeSignCPUmode (SDL_MCRC_InstType instance, SDL_MCRC_channel_t channel, const SDL_MCRC_dataConfig_t *pDataConfig, SDL_MCRC_Signature_t *sectSignVal) |
| This API is used to compute the signature for CPU-only mode and it check if the generated MCRC signature value matches with the reference signature value. More...
|
|