Main Page | Data Structures | File List | Data Fields | Globals

spi_channel Struct Reference

#include <spi_io.h>

Collaboration diagram for spi_channel:

Collaboration graph
[legend]

Detailed Description

controls an individual spi channel

describes an spi channel we attach one of these to each file descriptor if the open function succeeds. The PCI device contains an array of these one for each SPI channel.


Data Fields

atomic_t open_count
axis_pci_device_entryparent_device
unsigned char channel_number
unsigned char control
long minimum_inter_char_time


Field Documentation

unsigned char spi_channel::channel_number
 

which device 0 1 2 currently supported

unsigned char spi_channel::control
 

contains a flags controlling SPI settings

long spi_channel::minimum_inter_char_time
 

driver can choke tx rate if the target device is sluggish

atomic_t spi_channel::open_count
 

only allow one process to open each channel

struct axis_pci_device_entry* spi_channel::parent_device
 

Needed to reference hardware addresses


The documentation for this struct was generated from the following file:
Generated on Fri Jan 28 12:37:48 2005 for Axis Kernel Driver by doxygen 1.3.6