use macro for pxMemory interface calls