
TPMC500-SW-42 - VxWorks Device Driver
Page 7 of 19
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 tp500Drv()
NAME
tp500Drv() - installs the TPMC500 driver in the I/O system and initializes the driver.
SYNOPSIS
STATUS tp500Drv(void)
DESCRIPTION
This function installs the TPMC500 driver in the I/O system, allocates driver resources and initializes
them.
The call of this function is the first thing the user has to do before adding any device to the system or
performing any I/O request.
RETURNS
OK or ERROR (if the driver cannot be installed)
SEE ALSO
VxWorks Programmer’s Guide: I/O System