PinNamesVar.h 689 B

1234567891011121314151617181920212223242526272829303132
  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. #warning USB feature is not required with a CH340 chip
  30. USB_DM = PA_11,
  31. USB_DP = PA_12,
  32. #endif