summaryrefslogtreecommitdiff
path: root/project_starter_files/Core/Inc/GPIO.h
diff options
context:
space:
mode:
Diffstat (limited to 'project_starter_files/Core/Inc/GPIO.h')
-rw-r--r--project_starter_files/Core/Inc/GPIO.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/project_starter_files/Core/Inc/GPIO.h b/project_starter_files/Core/Inc/GPIO.h
new file mode 100644
index 0000000..cb602d8
--- /dev/null
+++ b/project_starter_files/Core/Inc/GPIO.h
@@ -0,0 +1,18 @@
+/*
+ * gpio.h
+ *
+ * Created on: Nov 4, 2021
+ * Author: Mitesh Parikh
+ */
+
+#ifndef INC_GPIO_H_
+#define INC_GPIO_H_
+
+#include "main.h"
+
+#define S1_Pin GPIO_PIN_9
+#define S1_GPIO_Port GPIOA
+
+void GPIO_Init(void);
+
+#endif /* INC_GPIO_H_ */