Main Page | Class List | File List | Class Members | File Members | Related Pages

include/otto/control.h File Reference

Control command definitions for otto drivers (device and otherwise). More...

Go to the source code of this file.

Classes

union  otto_control_data
 Control data parameters. More...


Defines

#define OTTO_IOCBUSINIT   0x0001
 Perform bus initialization.

#define OTTO_IOCSDATARATE   0x0002
 Set bus or device bit rate.

#define OTTO_IOCGDATARATE   0x0003
 Get bus or device bit rate.

#define OTTO_IOCSBUSADR   0x0004
 Set bus address.

#define OTTO_IOCGBUSADR   0x0005
 Get bus address.

#define OTTO_IOCGSELECTFD   0x0006
 Get file descriptor for select().

#define OTTO_IOCGIFCOUNT   0x0007
 Get number of interfaces on this device.


Detailed Description

Control command definitions for otto drivers (device and otherwise).

Todo:
get/set timeouts?

Define Documentation

#define OTTO_IOCBUSINIT   0x0001
 

Perform bus initialization.

Only valid on a bus

Parameters:
type (default, fast, slow)
addr for slow init, address to use

#define OTTO_IOCGBUSADR   0x0005
 

Get bus address.

Only valid on a bus

Parameters:
[out] address 

#define OTTO_IOCGDATARATE   0x0003
 

Get bus or device bit rate.

Parameters:
[out] rate 

#define OTTO_IOCGIFCOUNT   0x0007
 

Get number of interfaces on this device.

Only valid on a device

#define OTTO_IOCGSELECTFD   0x0006
 

Get file descriptor for select().

Only valid on a bus

Parameters:
[out] fd file descriptor

#define OTTO_IOCSBUSADR   0x0004
 

Set bus address.

Only valid on a bus

Parameters:
[in] address 

#define OTTO_IOCSDATARATE   0x0002
 

Set bus or device bit rate.

Parameters:
[in] rate 


Generated on Thu Jul 8 19:26:05 2004 for OpenOtto by doxygen 1.3.7