.

meiPlatformFirmwareAddress32To16

Declaration

 
long meiPlatformFirmwareAddress32To16(MEIPlatform  platform,
                                      void         **firmwareAddress,
                                      long         lowWord)
  Required Header: stdmei.h
Change History: Added in the 03.04.00

Description

meiPlatformFirmwareAddress32To16 takes a firmware address that is in the 32-bit space of the XMP and converts it to the 16-bit space.
Set lowWord to 1 to tell the function to return the 16-bit address of the lower 16-bit word.
Set lowWord to 0 to get the 16-bit address of the upper 16-bit word.

 

 
platform MEIPlatform object
**firmwareAddress Pointer to a valid firmware address from the firmware’s perspective.
lowWord

lowWord set to 1 tells the function to return the 16-bit address of the lower 16-bit word.

lowWord set to 0 gets the 16-bit address of the upper 16 bit word.

   
 
Returns  
MPIMessageOK  
MEIPlatformMessageDEVICE_ERROR Returned if no XMP or ZMP controller is found.

See Also

meiPlatformFirmwareAddress16To32

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering