Pins Debugging for STM32 — NEEDS TESTING (#14309)

This commit is contained in:
Bob Kuhn
2019-07-05 22:08:06 -05:00
committed by Scott Lahteine
parent 052aa23efe
commit dc02d0720d
15 changed files with 1172 additions and 150 deletions

View File

@@ -65,7 +65,7 @@
#define PORTD 3
#define PORTE 4
#define _STM32_PIN(_PORT,_PIN) ((PORT##_PORT * 16) + _PIN)
#define _STM32_PIN(P,PN) ((PORT##P * 16) + PN)
#define PA0 _STM32_PIN(A, 0)
#define PA1 _STM32_PIN(A, 1)