MIDevice

Definition

#include <nitro/mi.h>
typedef struct MIDevice { /* private: */ void *userdata; MIDeviceReadFunction Read; MIDeviceWriteFunction Write; } MIDevice;

Description

This is an interface structure for wrapping device control.
You can use this structure when you want to write transparent control code for any device that has a linear address space.

This is a utility feature designed to separate the device control component from the module design.

See Also

MI_InitDevice, MI_ReadDevice MI_WriteDevice
MIDevice, MIDeviceReadFunction, MIDeviceWriteFunction

Revision History

2007/05/09 Initial version.


CONFIDENTIAL