
TPMC500-SW-42 - VxWorks Device Driver
Page 9 of 19
EXAMPLE
#include "tpmc500.h"
...
/*-------------------------------------------------------
Create the device "/tpmc500" for the first found TPMC500
The mounted module is a TPMC500-10
-----------------------------------------------------------*/
status = tp500DevCreate ("/tpmc500",
1,
TPMC500_10);
...
RETURNS
OK or ERROR (if the driver is not installed or the device already exists or any other error occurred
during the creation)