OpenCBM
Functions
usbcfg.c File Reference

USB configuration application for the xum1541. More...

#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "opencbm.h"
#include "arch.h"
#include "archlib_ex.h"
#include "xum1541_types.h"

Go to the source code of this file.

Functions

int ARCH_MAINDECL main (int argc, char **argv)
 Initialize the xum1541 device This function tries to find and identify the xum1541 device. More...
 

Detailed Description

USB configuration application for the xum1541.



Author
Nate Lawson

Definition in file usbcfg.c.

Function Documentation

int ARCH_MAINDECL main ( int  argc,
char **  argv 
)

Initialize the xum1541 device This function tries to find and identify the xum1541 device.

Returns
0 on success, 1 on error.

Definition at line 38 of file usbcfg.c.

References CBM_FILE, opencbm_plugin_driver_close(), opencbm_plugin_driver_open(), and xum1541_plugin_control_msg().