![Tews Technologies TIP675-SW-42 User Manual Download Page 10](http://html1.mh-extra.com/html/tews-technologies/tip675-sw-42/tip675-sw-42_user-manual_1093656010.webp)
TIP675-SW-42 – VxWorks Device Driver
Page 10 of 31
3.2 tip675DevCreate()
NAME
tip675DevCreate() – Add a TIP675 serial channel device to the VxWorks system
SYNOPSIS
#include “tip675.h”
STATUS tip675DevCreate
(
char
*name,
int
devIdx,
int
funcType,
void
*pParam
)
DESCRIPTION
This routine adds the selected device to the VxWorks system. The device hardware will be setup and
prepared for use.
This function must be called before performing any I/O request to this device.
PARAMETER
name
This string specifies the name of the device that will be used to identify the device, for example
for
open()
calls.
devIdx
This index number specifies the TIP675 minor device number to add to the system.
If modules of the same type are installed the device numbers will be advised in the order the
IPAC CARRIER
ipFindDevice()
function will find the devices.
For TIP675 devices there is only one devIdx per hardware module starting with devIdx = 0.
funcType
This parameter is unused and should be set to
0
.