summaryrefslogtreecommitdiff
path: root/simonnnnn/Core/Inc/led.h
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-01-26 18:26:26 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-01-26 18:26:26 +0100
commitbc481107298791bf0efd984ecc53dc92b8719878 (patch)
tree332af7837f310af85b261611ed016e0e6312262c /simonnnnn/Core/Inc/led.h
parent816804c9c114e20d2231258cc346c3714590b9ea (diff)
Insertion du projet dans sa totalité
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_ */