f3a29fe9c74d6aa54733480bc991d722276e8427
[mTask.git] / int / nucleo-f767-blinky / cube / nucleo-f767-blinky / Inc / mxconstants.h
1 /**
2 ******************************************************************************
3 * File Name : mxconstants.h
4 * Description : This file contains the common defines of the application
5 ******************************************************************************
6 *
7 * COPYRIGHT(c) 2016 STMicroelectronics
8 *
9 * Redistribution and use in source and binary forms, with or without modification,
10 * are permitted provided that the following conditions are met:
11 * 1. Redistributions of source code must retain the above copyright notice,
12 * this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright notice,
14 * this list of conditions and the following disclaimer in the documentation
15 * and/or other materials provided with the distribution.
16 * 3. Neither the name of STMicroelectronics nor the names of its contributors
17 * may be used to endorse or promote products derived from this software
18 * without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 *
31 ******************************************************************************
32 */
33 /* Define to prevent recursive inclusion -------------------------------------*/
34 #ifndef __MXCONSTANT_H
35 #define __MXCONSTANT_H
36 /* Includes ------------------------------------------------------------------*/
37
38 /* USER CODE BEGIN Includes */
39
40 /* USER CODE END Includes */
41
42 /* Private define ------------------------------------------------------------*/
43
44 #define User_Blue_Button_Pin GPIO_PIN_13
45 #define User_Blue_Button_GPIO_Port GPIOC
46 #define MCO_Pin GPIO_PIN_0
47 #define MCO_GPIO_Port GPIOH
48 #define RMII_MDC_Pin GPIO_PIN_1
49 #define RMII_MDC_GPIO_Port GPIOC
50 #define RMII_REF_CLK_Pin GPIO_PIN_1
51 #define RMII_REF_CLK_GPIO_Port GPIOA
52 #define RMII_MDIO_Pin GPIO_PIN_2
53 #define RMII_MDIO_GPIO_Port GPIOA
54 #define RMII_CRS_DV_Pin GPIO_PIN_7
55 #define RMII_CRS_DV_GPIO_Port GPIOA
56 #define RMII_RXD0_Pin GPIO_PIN_4
57 #define RMII_RXD0_GPIO_Port GPIOC
58 #define RMII_RXD1_Pin GPIO_PIN_5
59 #define RMII_RXD1_GPIO_Port GPIOC
60 #define LD1_Pin GPIO_PIN_0
61 #define LD1_GPIO_Port GPIOB
62 #define RMII_TXD1_Pin GPIO_PIN_13
63 #define RMII_TXD1_GPIO_Port GPIOB
64 #define LD3_Pin GPIO_PIN_14
65 #define LD3_GPIO_Port GPIOB
66 #define STLK_RX_Pin GPIO_PIN_8
67 #define STLK_RX_GPIO_Port GPIOD
68 #define STLK_TX_Pin GPIO_PIN_9
69 #define STLK_TX_GPIO_Port GPIOD
70 #define USB_PowerSwitchOn_Pin GPIO_PIN_6
71 #define USB_PowerSwitchOn_GPIO_Port GPIOG
72 #define USB_OverCurrent_Pin GPIO_PIN_7
73 #define USB_OverCurrent_GPIO_Port GPIOG
74 #define USB_SOF_Pin GPIO_PIN_8
75 #define USB_SOF_GPIO_Port GPIOA
76 #define USB_VBUS_Pin GPIO_PIN_9
77 #define USB_VBUS_GPIO_Port GPIOA
78 #define USB_ID_Pin GPIO_PIN_10
79 #define USB_ID_GPIO_Port GPIOA
80 #define USB_DM_Pin GPIO_PIN_11
81 #define USB_DM_GPIO_Port GPIOA
82 #define USB_DP_Pin GPIO_PIN_12
83 #define USB_DP_GPIO_Port GPIOA
84 #define TMS_Pin GPIO_PIN_13
85 #define TMS_GPIO_Port GPIOA
86 #define TCK_Pin GPIO_PIN_14
87 #define TCK_GPIO_Port GPIOA
88 #define RMII_TX_EN_Pin GPIO_PIN_11
89 #define RMII_TX_EN_GPIO_Port GPIOG
90 #define RMII_TXD0_Pin GPIO_PIN_13
91 #define RMII_TXD0_GPIO_Port GPIOG
92 #define SW0_Pin GPIO_PIN_3
93 #define SW0_GPIO_Port GPIOB
94 #define LD2_Pin GPIO_PIN_7
95 #define LD2_GPIO_Port GPIOB
96 /* USER CODE BEGIN Private defines */
97
98 /* USER CODE END Private defines */
99
100 /**
101 * @}
102 */
103
104 /**
105 * @}
106 */
107
108 #endif /* __MXCONSTANT_H */
109 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/