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

_SPIDCB Struct Reference
[Spiadds]

#include <spi.h>


Data Fields

HANDLE rdy
HANDLE readRdy
volatile u_char deviceId
HANDLE deviceRdy


Detailed Description

Device control block for flash, required for NUT device driver.


Field Documentation

volatile u_char _SPIDCB::deviceId
 

ID of device which is currently locked.

HANDLE _SPIDCB::deviceRdy
 

Thread which waitng for unlock device by another thread Lock is created when onother thread is starting use spi driver.

HANDLE _SPIDCB::rdy
 

Thread which is waiting for end of transmision (to/from device). When thread is notified next transmision may be start.

HANDLE _SPIDCB::readRdy
 

Reading thread is waiting for end of transmision from device.


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