I'm trying to port GRBL 1.1 to the STM32F746 chip. Tell me the solution, thanks.
stm_usb_fs_lib/inc/usb_init.h@0:f1834a63f7c1, 2017-09-04 (annotated)
- Committer:
- Sergunb
- Date:
- Mon Sep 04 12:03:42 2017 +0000
- Revision:
- 0:f1834a63f7c1
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Sergunb | 0:f1834a63f7c1 | 1 | /******************** (C) COPYRIGHT 2010 STMicroelectronics ******************** |
Sergunb | 0:f1834a63f7c1 | 2 | * File Name : usb_init.h |
Sergunb | 0:f1834a63f7c1 | 3 | * Author : MCD Application Team |
Sergunb | 0:f1834a63f7c1 | 4 | * Version : V3.2.1 |
Sergunb | 0:f1834a63f7c1 | 5 | * Date : 07/05/2010 |
Sergunb | 0:f1834a63f7c1 | 6 | * Description : Initialization routines & global variables |
Sergunb | 0:f1834a63f7c1 | 7 | ******************************************************************************** |
Sergunb | 0:f1834a63f7c1 | 8 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS |
Sergunb | 0:f1834a63f7c1 | 9 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. |
Sergunb | 0:f1834a63f7c1 | 10 | * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, |
Sergunb | 0:f1834a63f7c1 | 11 | * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE |
Sergunb | 0:f1834a63f7c1 | 12 | * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING |
Sergunb | 0:f1834a63f7c1 | 13 | * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. |
Sergunb | 0:f1834a63f7c1 | 14 | *******************************************************************************/ |
Sergunb | 0:f1834a63f7c1 | 15 | |
Sergunb | 0:f1834a63f7c1 | 16 | /* Define to prevent recursive inclusion -------------------------------------*/ |
Sergunb | 0:f1834a63f7c1 | 17 | #ifndef __USB_INIT_H |
Sergunb | 0:f1834a63f7c1 | 18 | #define __USB_INIT_H |
Sergunb | 0:f1834a63f7c1 | 19 | |
Sergunb | 0:f1834a63f7c1 | 20 | /* Includes ------------------------------------------------------------------*/ |
Sergunb | 0:f1834a63f7c1 | 21 | /* Exported types ------------------------------------------------------------*/ |
Sergunb | 0:f1834a63f7c1 | 22 | /* Exported constants --------------------------------------------------------*/ |
Sergunb | 0:f1834a63f7c1 | 23 | /* Exported macro ------------------------------------------------------------*/ |
Sergunb | 0:f1834a63f7c1 | 24 | /* Exported functions ------------------------------------------------------- */ |
Sergunb | 0:f1834a63f7c1 | 25 | void USB_Init(void); |
Sergunb | 0:f1834a63f7c1 | 26 | |
Sergunb | 0:f1834a63f7c1 | 27 | /* External variables --------------------------------------------------------*/ |
Sergunb | 0:f1834a63f7c1 | 28 | /* The number of current endpoint, it will be used to specify an endpoint */ |
Sergunb | 0:f1834a63f7c1 | 29 | extern uint8_t EPindex; |
Sergunb | 0:f1834a63f7c1 | 30 | /* The number of current device, it is an index to the Device_Table */ |
Sergunb | 0:f1834a63f7c1 | 31 | /*extern uint8_t Device_no; */ |
Sergunb | 0:f1834a63f7c1 | 32 | /* Points to the DEVICE_INFO structure of current device */ |
Sergunb | 0:f1834a63f7c1 | 33 | /* The purpose of this register is to speed up the execution */ |
Sergunb | 0:f1834a63f7c1 | 34 | extern DEVICE_INFO* pInformation; |
Sergunb | 0:f1834a63f7c1 | 35 | /* Points to the DEVICE_PROP structure of current device */ |
Sergunb | 0:f1834a63f7c1 | 36 | /* The purpose of this register is to speed up the execution */ |
Sergunb | 0:f1834a63f7c1 | 37 | extern DEVICE_PROP* pProperty; |
Sergunb | 0:f1834a63f7c1 | 38 | /* Temporary save the state of Rx & Tx status. */ |
Sergunb | 0:f1834a63f7c1 | 39 | /* Whenever the Rx or Tx state is changed, its value is saved */ |
Sergunb | 0:f1834a63f7c1 | 40 | /* in this variable first and will be set to the EPRB or EPRA */ |
Sergunb | 0:f1834a63f7c1 | 41 | /* at the end of interrupt process */ |
Sergunb | 0:f1834a63f7c1 | 42 | extern USER_STANDARD_REQUESTS *pUser_Standard_Requests; |
Sergunb | 0:f1834a63f7c1 | 43 | |
Sergunb | 0:f1834a63f7c1 | 44 | extern uint16_t SaveState ; |
Sergunb | 0:f1834a63f7c1 | 45 | extern uint16_t wInterrupt_Mask; |
Sergunb | 0:f1834a63f7c1 | 46 | |
Sergunb | 0:f1834a63f7c1 | 47 | #endif /* __USB_INIT_H */ |
Sergunb | 0:f1834a63f7c1 | 48 | |
Sergunb | 0:f1834a63f7c1 | 49 | /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/ |