This allows forcing re-enumeration, which is necessary for switching to bootloader mode from the application firmware
15 lines
549 B
C
15 lines
549 B
C
#pragma once
|
|
|
|
// Port A
|
|
#define PIN_OUTPUT_ENABLE 3 // PA3 - Relay coil driver
|
|
#define PIN_LED_PINK 6 // PA6 - Status LED 1
|
|
#define PIN_LED_ORANGE 7 // PA7 - Status LED 2
|
|
#define PIN_OUTPUT_X 8 // PA8 - TIM1_CH1
|
|
#define PIN_OUTPUT_Y 9 // PA9 - TIM1_CH2
|
|
#define PIN_USB_PULLUP 10 // PA10 - 1.5 kΩ to D-
|
|
#define PIN_USB_DM 11 // PA11 - USB_DM
|
|
#define PIN_USB_DP 12 // PA12 - USB_DP
|
|
|
|
// Port B
|
|
#define PIN_PEN_STATE 6 // PB6 - TIM4_CH1
|
|
|