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

spi_op Struct Reference

#include <spi_io.h>

Collaboration diagram for spi_op:

Collaboration graph
[legend]

Detailed Description

structure submitted by SPI userland interface to SPI core code

spi_op

Includes the data needed to complete an individual SPI operation Because of the nature of the SPI bus (data clocked out and back in) Read and write ops are the same. A byte is clocked out and a new one clocked in at the same time


Data Fields

spi_channelchannel
unsigned char * data
unsigned long number_to_do
unsigned char status


Field Documentation

struct spi_channel* spi_op::channel
 

unsigned char* spi_op::data
 

>which channel to use

unsigned long spi_op::number_to_do
 

>block of data to tx rx

unsigned char spi_op::status
 

>number to do


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