Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

_SPIICB Struct Reference
[Spiadds]

#include <spi.h>


Data Fields

u_charread_buf
u_char write_buf [BUFOR_SIZE]
u_int size
u_int index
u_char writeFlag
volatile u_char ready
volatile u_char finishRead


Detailed Description

Interfece control block for device flash required for NUT device driver.


Field Documentation

volatile u_char _SPIICB::finishRead
 

This flag is set when driver finishes read operation, otherwise flag is clear.

u_int _SPIICB::index
 

Current transmit index in buffer.

u_char* _SPIICB::read_buf
 

Pointer to buffer where data will be stored.

volatile u_char _SPIICB::ready
 

This flag is set when driver is ready for transmition, otherwise flag is clear.

u_int _SPIICB::size
 

Size of data to tarnsmit.

u_char _SPIICB::write_buf[BUFOR_SIZE]
 

Writing thread reads data from this buffer and sends it to device.

u_char _SPIICB::writeFlag
 

This flag is set when driver writes data to device, unset when reads data.


The documentation for this struct was generated from the following file:
Generated on Thu Jan 30 22:30:56 2003 for EduNet by doxygen1.2.18