![Tews Technologies TIP810-SW-42 Скачать руководство пользователя страница 7](http://html1.mh-extra.com/html/tews-technologies/tip810-sw-42/tip810-sw-42_user-manual_1093635007.webp)
TIP810-SW-42 - VxWorks Device Driver
Page 7 of 36
3 I/O system functions
This chapter describes the driver-level interface to the I/O system. The purpose of these functions is to
install the driver in the I/O system, add and initialize devices.
3.1 t810Drv()
NAME
t810Drv() - installs the TIP810 driver in the I/O system
SYNOPSIS
#include “tip810.h”
STATUS tip810Drv(void)
DESCRIPTION
This function installs the TIP810 driver in the I/O system.
A call to this function is the first thing the user has to do before adding any device to the
system or performing any I/O request.
EXAMPLE
#include
"tip810.h”
STATUS
result;
/*-------------------
Initialize Driver
-------------------*/
result = tip810Drv();
if (result == ERROR)
{
/* Error handling */
}