summaryrefslogtreecommitdiff
path: root/simonnnnn/Core/Inc/led.h
diff options
context:
space:
mode:
Diffstat (limited to 'simonnnnn/Core/Inc/led.h')
-rw-r--r--simonnnnn/Core/Inc/led.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/simonnnnn/Core/Inc/led.h b/simonnnnn/Core/Inc/led.h
new file mode 100644
index 0000000..50c9084
--- /dev/null
+++ b/simonnnnn/Core/Inc/led.h
@@ -0,0 +1,18 @@
+/*
+ * led.h
+ *
+ * Created on: 2 déc. 2020
+ * Author: root
+ */
+
+#ifndef INC_LED_H_
+#define INC_LED_H_
+
+#include "stm32l053xx.h"
+typedef struct
+{
+GPIO_TypeDef * gpioPort;
+uint16_t pin;
+}LED_TypeDef;
+
+#endif /* INC_LED_H_ */