ch9.h 1.29 KB
#ifndef __ch9_h__
#define __ch9_h__
/*HEADER******************************************************************
**************************************************************************
*** 
*** Copyright (c) 1989-2002 ARC International.
*** All rights reserved                                          
***                                                              
*** This software embodies materials and concepts which are      
*** confidential to ARC International and is made
*** available solely pursuant to the terms of a written license   
*** agreement with ARC International             
***
*** $Workfile:ch9.h$
*** $Revision: 1.1 $
*** $Date: 2003/02/17 20:49:00 $
***
*** Description:      
***  This file contains the USB 1.1 Chapter 9 example application header.
***                                                               
**************************************************************************
*END*********************************************************************/

/* USB 1.1 Setup Packet */
typedef struct setup_struct {
   uint_8      REQUESTTYPE;
   uint_8      REQUEST;
   uint_16     VALUE;
   uint_16     INDEX;
   uint_16     LENGTH;
} SETUP_STRUCT, _PTR_ SETUP_STRUCT_PTR;

#define MIN(a,b) ((a) < (b) ? (a) : (b))      
      
#endif
/* EOF */