MI_Load*

C Specification

#include <nitro/mi.h>

SDK_INLINE u16 MI_LoadLE16(const void *ptr);
SDK_INLINE u32 MI_LoadLE32(const void *ptr);
SDK_INLINE u16 MI_LoadBE16(const void *ptr);
SDK_INLINE u32 MI_LoadBE32(const void *ptr);

Arguments

ptr Represents the address whose value is to be read.
Alignment at a 16-bit or 32-bit boundary is not required.

Return Values

Returns the value obtained as the specified endian (u16 or u32)

Description

Obtains a value from the specified address using the specified endian. LE represents little endian, while BE represents big endian.

See Also

MI_SwapEndian* MI_Store* MI_HTo* MI_*ToH*

Revision History

04/05/2006 Initial version.

CONFIDENTIAL