PinNamesVar.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* SYS_WKUP */
  2. #ifdef PWR_WAKEUP_PIN1
  3. SYS_WKUP1 = PA_0,
  4. #endif
  5. #ifdef PWR_WAKEUP_PIN2
  6. SYS_WKUP2 = NC,
  7. #endif
  8. #ifdef PWR_WAKEUP_PIN3
  9. SYS_WKUP3 = NC,
  10. #endif
  11. #ifdef PWR_WAKEUP_PIN4
  12. SYS_WKUP4 = NC,
  13. #endif
  14. #ifdef PWR_WAKEUP_PIN5
  15. SYS_WKUP5 = NC,
  16. #endif
  17. #ifdef PWR_WAKEUP_PIN6
  18. SYS_WKUP6 = NC,
  19. #endif
  20. #ifdef PWR_WAKEUP_PIN7
  21. SYS_WKUP7 = NC,
  22. #endif
  23. #ifdef PWR_WAKEUP_PIN8
  24. SYS_WKUP8 = NC,
  25. #endif
  26. /* USB */
  27. #ifdef USBCON
  28. USB_OTG_FS_SOF = PA_8,
  29. USB_OTG_FS_VBUS = PA_9,
  30. USB_OTG_FS_ID = PA_10,
  31. USB_OTG_FS_DM = PA_11,
  32. USB_OTG_FS_DP = PA_12,
  33. USB_OTG_HS_ULPI_D0 = PA_3,
  34. USB_OTG_HS_SOF = PA_4,
  35. USB_OTG_HS_ULPI_CK = PA_5,
  36. USB_OTG_HS_ULPI_D1 = PB_0,
  37. USB_OTG_HS_ULPI_D2 = PB_1,
  38. USB_OTG_HS_ULPI_D7 = PB_5,
  39. USB_OTG_HS_ULPI_D3 = PB_10,
  40. USB_OTG_HS_ULPI_D4 = PB_11,
  41. USB_OTG_HS_ID = PB_12,
  42. USB_OTG_HS_ULPI_D5 = PB_12,
  43. USB_OTG_HS_ULPI_D6 = PB_13,
  44. USB_OTG_HS_VBUS = PB_13,
  45. USB_OTG_HS_DM = PB_14,
  46. USB_OTG_HS_DP = PB_15,
  47. USB_OTG_HS_ULPI_STP = PC_0,
  48. USB_OTG_HS_ULPI_DIR = PC_2,
  49. USB_OTG_HS_ULPI_NXT = PC_3,
  50. #endif