Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ezusb.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  CONFIGDSCR
 EzUSB Configuration Descriptor. More...

struct  DEVICEDSCR
 EzUSB Device Descriptor. More...

struct  DSCR
 EzUSB Generic Descriptor. More...

struct  ENDPNTDSCR
 EzUSB Endpoint Descriptor. More...

struct  EPIOC
 EzUSB Endpoint Descriptor. More...

struct  I2CPCKT
 EzUSB I2C Descriptor. More...

struct  INTRFCDSCR
 EzUSB Interface Descriptor. More...

struct  STRINGDSCR
 EzUSB String Descriptor. More...


Detailed Description

This is the EzUSB microcontroller integrated peripherical definition from the SDCC distribution

Author:
Julien Pilet <julien.pilet@epfl.ch> , Stephane Magnenat <stephane.magnenat@epfl.ch>

Definition in file ezusb.h.


Define Documentation

 
#define EZUSB_CLEARI2CSTATUS  
 

Value:

if((I2CPckt.status == I2C_BERROR) || (I2CPckt.status == I2C_NACK))\
                                                                                I2CPckt.status = I2C_IDLE;

Definition at line 139 of file ezusb.h.

#define EZUSB_RESET_DATA_TOGGLE ep   
 

Value:

TOGCTL = (((ep & 0x80) >> 3) + (ep & 0x07));\
                                        TOGCTL |= 0x20

Definition at line 130 of file ezusb.h.

#define SWAP_ENDIAN word   
 

Value:

((BYTE*)&word)[0] ^= ((BYTE*)&word)[1];\
                                                        ((BYTE*)&word)[1] ^= ((BYTE*)&word)[0];\
                                                        ((BYTE*)&word)[0] ^= ((BYTE*)&word)[1]

Definition at line 114 of file ezusb.h.


Generated on Fri May 16 13:01:46 2003 for Jelie by doxygen1.2.15