PinNamesVar.h 635 B

12345678910111213141516171819202122232425262728293031
  1. /* SYS_WKUP */
  2. #if defined(PWR_WAKEUP_PIN1) && defined(HAL_PWR_MODULE_ENABLED) && !defined(HAL_PWR_MODULE_ONLY)
  3. #error "PA0 is used by thermal sensor. Disable low power wake with -DHAL_PWR_MODULE_ONLY."
  4. SYS_WKUP1 = PA_0,
  5. #endif
  6. #ifdef PWR_WAKEUP_PIN2
  7. SYS_WKUP2 = NC,
  8. #endif
  9. #ifdef PWR_WAKEUP_PIN3
  10. SYS_WKUP3 = NC,
  11. #endif
  12. #ifdef PWR_WAKEUP_PIN4
  13. SYS_WKUP4 = NC,
  14. #endif
  15. #ifdef PWR_WAKEUP_PIN5
  16. SYS_WKUP5 = NC,
  17. #endif
  18. #ifdef PWR_WAKEUP_PIN6
  19. SYS_WKUP6 = NC,
  20. #endif
  21. #ifdef PWR_WAKEUP_PIN7
  22. SYS_WKUP7 = NC,
  23. #endif
  24. #ifdef PWR_WAKEUP_PIN8
  25. SYS_WKUP8 = NC,
  26. #endif
  27. /* USB */
  28. #ifdef USBCON
  29. USB_DM = PA_11,
  30. USB_DP = PA_12,
  31. #endif