3.1.4.11 ICM_GetRegionDescriptor Function
C
ICM_REGION_DESCRIPTOR * ICM_GetRegionDescriptor(ICM_REGION_ID regionId);
Summary
Gets the pointer to the memory region descriptor.
Description
Gets the pointer to the memory region descriptor identifies with regionId parameter.
Precondition
None.
Parameters
| Parameters | Description |
|---|---|
| regionId | Identifies the memory region of ICM |
Returns
Pointer to the descriptor data structure of the specified memory region.
Example
ICM_REGION_DESCRIPTOR *pRegionDescriptor; ICM_SECONDARY_LIST icmSecList; pRegionDescriptor = ICM_GetRegionDescriptor (ICM_REGION_0); pRegionDescriptor->secondaryList = &icmSecList; icmSecList.startAddress = (uint32_t)appMessageSHA1Sec; icmSecList.transferSize = ICM_GetTransferSize(sizeof(appMessageSHA1Sec)); icmSecList.nextAddress = 0;
Remarks
None.
