INtime SDK Help
mhpeCreateInterface
INtime SDK v7.1 > About INtime > Networking and I/O > Multiprocess HPE > mhpeCreateInterface

Creates an interface at the indicated location using the given name and interface parameters and returns a handle for using the interface in subsequent calls.

HPESTATUS mhpeCreateInterface(
    LOCATION    loc,
const char *if_name,
uint32_t phy_params,
uint32_t interrupt_mode,
MPEHANDLE *p_ifhandle );

Parameters

loc
The location of the node where the master process resides.
if_name
The name of the interface to create.
phy_params
Options for controlling the network PHY.
interrupt_mode
The interrupt mode of the interface.
p_ifhandle
A pointer to a location to return the ifhandle for the interface.

Return Values

A HPESTATUS

Requirements

Versions Defined in Include Link to
INtime 7.1 intime/rt/include/mhpeif.h mhpeif.h mhpeif.lib