-
Notifications
You must be signed in to change notification settings - Fork 19
STM32F103 Pin Mapping
robert edited this page Apr 6, 2019
·
2 revisions
Below is the pin mapping for the STM32F103.
Pin Name | Mapped Pin Name |
---|---|
PA0 | 0xA0 |
PA1 | 0xA1 |
PA2 | 0xA2 |
….. | ….. |
PA14 | 0xAE |
PA15 | 0xAF |
PB0 | 0xB0 |
PB1 | 0xB1 |
…. | …. |
PB14 | 0xBE |
PB15 | 0xBF |
PC0 | 0xC0 |
PC1 | 0xC1 |
PC2 | 0xC2 |
….. | ….. |
PC14 | 0xCE |
PC15 | 0xCF |
PD0 | 0xD0 |
PD1 | 0xD1 |
PD2 | 0xD2 |
….. | ….. |
PD14 | 0xDE |
PD15 | 0xDF |
PE0 | 0xE0 |
PE1 | 0xE1 |
PE2 | 0xE2 |
….. | ….. |
PE14 | 0xEE |
PE15 | 0xEF |
the code like below
#define X_STEP_PIN 0xDC
#define X_DIR_PIN 0xDB
#define X_ENABLE_PIN 0xC6