Subversion Repositories NaviCtrl

Rev

Rev 1 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 ingob 1
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
2
* File Name          : usb_init.h
3
* Author             : MCD Application Team
4
* Date First Issued  : 10/27/2003 : V1.0
5
* Description        : Initialization routines & global variables
6
********************************************************************************
7
* History:
8
* 09/18/2006 : V3.0
9
* 09/01/2006 : V2.0
10
* 10/27/2003 : V1.0
11
********************************************************************************
12
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
13
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
14
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
15
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
16
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
17
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
18
*******************************************************************************/
19
/* Define to prevent recursive inclusion -------------------------------------*/
20
#ifndef __USB_INIT_H
21
#define __USB_INIT_H
22
/* Includes ------------------------------------------------------------------*/
23
/* Exported types ------------------------------------------------------------*/
24
/* Exported constants --------------------------------------------------------*/
25
/* Exported macro ------------------------------------------------------------*/
26
/* Exported functions ------------------------------------------------------- */
27
void USB_Init(void);
28
/* External variables --------------------------------------------------------*/
29
 
30
/*  The number of current endpoint, it will be used to specify an endpoint */
31
extern u8       EPindex;
32
/*  The number of current device, it is an index to the Device_Table */
33
/*extern u8     Device_no; */
34
/*  Points to the DEVICE_INFO structure of current device */
35
/*  The purpose of this register is to speed up the execution */
36
extern DEVICE_INFO*     pInformation;
37
/*  Points to the DEVICE_PROP structure of current device */
38
/*  The purpose of this register is to speed up the execution */
39
extern DEVICE_PROP*     pProperty;
40
/*  Temporary save the state of Rx & Tx status. */
41
/*  Whenever the Rx or Tx state is changed, its value is saved */
42
/*  in this variable first and will be set to the EPRB or EPRA */
43
/*  at the end of interrupt process */
44
extern USER_STANDARD_REQUESTS *pUser_Standard_Requests;
45
 
46
extern u16      SaveState ;
47
extern u16 wInterrupt_Mask;
48
#endif /* __USB_INIT_H */
49
 
50
/******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE****/
51