Make sure docs are updated / settings_md (push) Canceled after 0s
Build firmware / test (push) Canceled after 0s
Build firmware / build-SITL-Windows (push) Canceled after 0s
Build firmware / build-SITL-Mac (push) Canceled after 0s
Build firmware / build-SITL-Linux (push) Canceled after 0s
Build firmware / build-SITL-Linux-arm64 (push) Canceled after 0s
Build firmware / upload-artifacts (push) Canceled after 0s
Build firmware / build-single-target (push) Canceled after 0s
Build firmware / build (9) (push) Canceled after 0s
Build firmware / build (8) (push) Canceled after 0s
Build firmware / build (7) (push) Canceled after 0s
Build firmware / build (6) (push) Canceled after 0s
Build firmware / build (5) (push) Canceled after 0s
Build firmware / build (4) (push) Canceled after 0s
Build firmware / build (3) (push) Canceled after 0s
Build firmware / build (2) (push) Canceled after 0s
Build firmware / build (14) (push) Canceled after 0s
Build firmware / build (13) (push) Canceled after 0s
Build firmware / build (12) (push) Canceled after 0s
Build firmware / build (11) (push) Canceled after 0s
Build firmware / build (10) (push) Canceled after 0s
Build firmware / build (1) (push) Canceled after 0s
Build firmware / build (0) (push) Canceled after 0s
Build firmware / detect (push) Canceled after 0s
Build pre-release / build (push) Canceled after 0s
Build pre-release / Release (push) Canceled after 0s
63 lines
2.6 KiB
C
63 lines
2.6 KiB
C
/**
|
|
******************************************************************************
|
|
* @file usb_init.h
|
|
* @author MCD Application Team
|
|
* @version V4.0.0
|
|
* @date 28-August-2012
|
|
* @brief Initialization routines & global variables
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* <h2><center>© COPYRIGHT 2012 STMicroelectronics</center></h2>
|
|
*
|
|
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
|
|
* You may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at:
|
|
*
|
|
* http://www.st.com/software_license_agreement_liberty_v2
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
#ifndef __USB_INIT_H
|
|
#define __USB_INIT_H
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
/* Exported types ------------------------------------------------------------*/
|
|
/* Exported constants --------------------------------------------------------*/
|
|
/* Exported macro ------------------------------------------------------------*/
|
|
/* Exported functions ------------------------------------------------------- */
|
|
void USB_Init(void);
|
|
|
|
/* External variables --------------------------------------------------------*/
|
|
/* The number of current endpoint, it will be used to specify an endpoint */
|
|
extern uint8_t EPindex;
|
|
/* The number of current device, it is an index to the Device_Table */
|
|
/*extern uint8_t Device_no; */
|
|
/* Points to the DEVICE_INFO structure of current device */
|
|
/* The purpose of this register is to speed up the execution */
|
|
extern DEVICE_INFO* pInformation;
|
|
/* Points to the DEVICE_PROP structure of current device */
|
|
/* The purpose of this register is to speed up the execution */
|
|
extern DEVICE_PROP* pProperty;
|
|
/* Temporary save the state of Rx & Tx status. */
|
|
/* Whenever the Rx or Tx state is changed, its value is saved */
|
|
/* in this variable first and will be set to the EPRB or EPRA */
|
|
/* at the end of interrupt process */
|
|
extern USER_STANDARD_REQUESTS *pUser_Standard_Requests;
|
|
|
|
extern uint16_t SaveState ;
|
|
extern uint16_t wInterrupt_Mask;
|
|
|
|
#endif /* __USB_INIT_H */
|
|
|
|
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|