2 ******************************************************************************
4 * @author MCD Application Team
7 * @brief Initialization routines & global variables
8 ******************************************************************************
11 * <h2><center>© COPYRIGHT 2012 STMicroelectronics</center></h2>
13 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
14 * You may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at:
17 * http://www.st.com/software_license_agreement_liberty_v2
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
25 ******************************************************************************
29 /* Define to prevent recursive inclusion -------------------------------------*/
33 /* Includes ------------------------------------------------------------------*/
34 /* Exported types ------------------------------------------------------------*/
35 /* Exported constants --------------------------------------------------------*/
36 /* Exported macro ------------------------------------------------------------*/
37 /* Exported functions ------------------------------------------------------- */
40 /* External variables --------------------------------------------------------*/
41 /* The number of current endpoint, it will be used to specify an endpoint */
42 extern uint8_t EPindex
;
43 /* The number of current device, it is an index to the Device_Table */
44 /*extern uint8_t Device_no; */
45 /* Points to the DEVICE_INFO structure of current device */
46 /* The purpose of this register is to speed up the execution */
47 extern DEVICE_INFO
* pInformation
;
48 /* Points to the DEVICE_PROP structure of current device */
49 /* The purpose of this register is to speed up the execution */
50 extern DEVICE_PROP
* pProperty
;
51 /* Temporary save the state of Rx & Tx status. */
52 /* Whenever the Rx or Tx state is changed, its value is saved */
53 /* in this variable first and will be set to the EPRB or EPRA */
54 /* at the end of interrupt process */
55 extern USER_STANDARD_REQUESTS
*pUser_Standard_Requests
;
57 extern uint16_t SaveState
;
58 extern uint16_t wInterrupt_Mask
;
60 #endif /* __USB_INIT_H */
62 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/