MPI 04.00 Reference >> mpiPlatform
mpiPlatformFirmwareAddress16To32
Declaration
int32_t mpiPlatformFirmwareAddress16To32(MPIPlatform platform, void **firmwareAddress)
Required Header: stdmpi.h
Change History: Added in the 03.04.00
Description
mpiPlatformFirmwareAddress16To32 takes a firmware address that is in the 16-bit space of the controller and converts it to the 32-bit space. Conversion is done by dividing the firmwareAddress by 2. No conversion is necessary for a ZMP.
platform | MPIPlatform object. |
---|---|
**firmwareAddress | Pointer to a valid firmware address from the firmware’s perspective. |
Returns | |
---|---|
MPIMessageOK | |
MPIPlatformMessageDEVICE_ERROR | Returned if no ZMP controller is found. |