Pins Debugging for STM32 — NEEDS TESTING (#14309)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user