b_g474e_dpow1_conf.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /**
  2. ******************************************************************************
  3. * @file b_g474e_dpow1_conf_template.h
  4. * @author MCD Application Team
  5. * @brief B-G474E-DPOW1 board configuration file.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under BSD 3-Clause license,
  13. * the "License"; You may not use this file except in compliance with the
  14. * License. You may obtain a copy of the License at:
  15. * opensource.org/licenses/BSD-3-Clause
  16. *
  17. ******************************************************************************
  18. */
  19. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef B_G474E_DPOW1_CONF_H
  21. #define B_G474E_DPOW1_CONF_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "stm32g4xx_hal.h"
  27. /** @addtogroup BSP
  28. * @{
  29. */
  30. /** @addtogroup B-G474E-DPOW1
  31. * @{
  32. */
  33. /** @addtogroup B-G474E-DPOW1_CONFIG
  34. * @{
  35. */
  36. /** @addtogroup B-G474E-DPOW1_CONFIG_Exported_Constants Exported Constants
  37. * @{
  38. */
  39. /* JOYstick define */
  40. #define USE_BSP_JOY_FEATURE 1U
  41. /* COM define */
  42. #define USE_BSP_COM_FEATURE 0U
  43. /* COM LOG define */
  44. #define USE_COM_LOG 0U
  45. /* USBPD BSP PWR TRACE define */
  46. #define USE_BSP_PWR_TRACE 0U
  47. #if (USE_BSP_PWR_TRACE > 0u)
  48. #define USBPD_PWR_TRACE(_PORT_,...) UTIL_ADV_TRACE_FSend(__VA_ARGS__)
  49. #else
  50. #define USBPD_PWR_TRACE(_PORT_,...)
  51. #endif /* USE_BSP_PWR_TRACE */
  52. /* IRQ priorities */
  53. #define BSP_JOY_SEL_IT_PRIORITY 15U
  54. /**
  55. * @}
  56. */
  57. /**
  58. * @}
  59. */
  60. /**
  61. * @}
  62. */
  63. /**
  64. * @}
  65. */
  66. #ifdef __cplusplus
  67. }
  68. #endif
  69. #endif /* B_G474E_DPOW1_CONF_H */
  70. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/