|
@@ -15,6 +15,10 @@
|
|
#include "board.h"
|
|
#include "board.h"
|
|
|
|
|
|
#define __AB32_PORT(port) GPIO##port
|
|
#define __AB32_PORT(port) GPIO##port
|
|
|
|
+#define __AB32_GET_PIN_A(PIN) PIN
|
|
|
|
+#define __AB32_GET_PIN_B(PIN) 8 + PIN
|
|
|
|
+#define __AB32_GET_PIN_E(PIN) 13 + PIN
|
|
|
|
+#define __AB32_GET_PIN_F(PIN) 21 + PIN
|
|
|
|
|
|
int rt_hw_pin_init(void);
|
|
int rt_hw_pin_init(void);
|
|
|
|
|