MPI 04.00 Reference >> mpiPlatform

mpiPlatformFirmwareAddress16To32

Declaration

int32_t mpiPlatformFirmwareAddress16To32(MPIPlatform         platform,
                                         _MFWPTR_(void *)  *firmwareAddress)

 

Required Header: stdmpi.h
Change History: Modified in MPI 04.04.

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.

See Also

mpiPlatformFirmwareAddress32To16