mxconstants.h 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. /* Includes ------------------------------------------------------------------*/
  34. /* USER CODE BEGIN Includes */
  35. /* USER CODE END Includes */
  36. /* Private define ------------------------------------------------------------*/
  37. #define FPGA_GPIO2_Pin GPIO_PIN_2
  38. #define FPGA_GPIO2_GPIO_Port GPIOE
  39. #define FPGA_GPIO3_Pin GPIO_PIN_3
  40. #define FPGA_GPIO3_GPIO_Port GPIOE
  41. #define UNUSED_PE5_Pin GPIO_PIN_5
  42. #define UNUSED_PE5_GPIO_Port GPIOE
  43. #define UNUSED_PE6_Pin GPIO_PIN_6
  44. #define UNUSED_PE6_GPIO_Port GPIOE
  45. #define UNUSED_PC13_Pin GPIO_PIN_13
  46. #define UNUSED_PC13_GPIO_Port GPIOC
  47. #define UNUSED_PC14_Pin GPIO_PIN_14
  48. #define UNUSED_PC14_GPIO_Port GPIOC
  49. #define UNUSED_PC15_Pin GPIO_PIN_15
  50. #define UNUSED_PC15_GPIO_Port GPIOC
  51. #define UNUSED_PC0_Pin GPIO_PIN_0
  52. #define UNUSED_PC0_GPIO_Port GPIOC
  53. #define UNUSED_PC1_Pin GPIO_PIN_1
  54. #define UNUSED_PC1_GPIO_Port GPIOC
  55. #define UNUSED_PC2_Pin GPIO_PIN_2
  56. #define UNUSED_PC2_GPIO_Port GPIOC
  57. #define UNUSED_PC3_Pin GPIO_PIN_3
  58. #define UNUSED_PC3_GPIO_Port GPIOC
  59. #define UNUSED_PA0_Pin GPIO_PIN_0
  60. #define UNUSED_PA0_GPIO_Port GPIOA
  61. #define UNUSED_PA1_Pin GPIO_PIN_1
  62. #define UNUSED_PA1_GPIO_Port GPIOA
  63. #define UNUSED_PA2_Pin GPIO_PIN_2
  64. #define UNUSED_PA2_GPIO_Port GPIOA
  65. #define UNUSED_PA3_Pin GPIO_PIN_3
  66. #define UNUSED_PA3_GPIO_Port GPIOA
  67. #define nSPICFG_CS_Pin GPIO_PIN_4
  68. #define nSPICFG_CS_GPIO_Port GPIOA
  69. #define UNUSED_PC4_Pin GPIO_PIN_4
  70. #define UNUSED_PC4_GPIO_Port GPIOC
  71. #define UNUSED_PC5_Pin GPIO_PIN_5
  72. #define UNUSED_PC5_GPIO_Port GPIOC
  73. #define LED_Pin GPIO_PIN_0
  74. #define LED_GPIO_Port GPIOB
  75. #define nTERM_EN_Pin GPIO_PIN_1
  76. #define nTERM_EN_GPIO_Port GPIOB
  77. #define BOOT1_Pin GPIO_PIN_2
  78. #define BOOT1_GPIO_Port GPIOB
  79. #define UNUSED_PB12_Pin GPIO_PIN_12
  80. #define UNUSED_PB12_GPIO_Port GPIOB
  81. #define UNUSED_PB13_Pin GPIO_PIN_13
  82. #define UNUSED_PB13_GPIO_Port GPIOB
  83. #define UNUSED_PD11_Pin GPIO_PIN_11
  84. #define UNUSED_PD11_GPIO_Port GPIOD
  85. #define FPGA_RST_Pin GPIO_PIN_13
  86. #define FPGA_RST_GPIO_Port GPIOD
  87. #define nFGPA_CRESET_B_Pin GPIO_PIN_6
  88. #define nFGPA_CRESET_B_GPIO_Port GPIOC
  89. #define nFGPA_CDONE_Pin GPIO_PIN_7
  90. #define nFGPA_CDONE_GPIO_Port GPIOC
  91. #define FSMC_UNUSED_CLK_Pin GPIO_PIN_3
  92. #define FSMC_UNUSED_CLK_GPIO_Port GPIOD
  93. #define UNUSED_PB5_Pin GPIO_PIN_5
  94. #define UNUSED_PB5_GPIO_Port GPIOB
  95. #define UNUSED_PB6_Pin GPIO_PIN_6
  96. #define UNUSED_PB6_GPIO_Port GPIOB
  97. #define nSD_WP_Pin GPIO_PIN_8
  98. #define nSD_WP_GPIO_Port GPIOB
  99. #define nSD_CD_Pin GPIO_PIN_9
  100. #define nSD_CD_GPIO_Port GPIOB
  101. /* USER CODE BEGIN Private defines */
  102. /* USER CODE END Private defines */
  103. /**
  104. * @}
  105. */
  106. /**
  107. * @}
  108. */
  109. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/