3.1.4.13 ICM_SetRegionDescriptorData Function

C

void ICM_SetRegionDescriptorData (ICM_REGION_ID regionId, uint32_t * pData, size_t bytes);

Summary

Configures the memory data to be processed by the ICM peripheral.

Description

Configures the memory data to be processed by the ICM peripheral using the regionId identifier.

Precondition

None.

Parameters

ParamDescription
regionIdIdentifies the memory region of ICM.
pDataPointer to the memory data to be processed.
bytesTransfer size in bytes of the data to process. ICM performs a transfer of blocks of 512 bits.

Returns

None.

Example


ICM_SetRegionDescriptorData(ICM_REGION_0, (uint32_t *)appMessageSHA0, sizeof(appMessageSHA0));

Remarks

The content of the memory region descriptor must have been additionally configured according to the desired behaviour of the ICM peripheral.