summaryrefslogtreecommitdiff
path: root/Core/Inc/led.h
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-01-24 23:56:07 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-01-24 23:56:07 +0100
commit343e88525d1d13a6da5629d7137b2d8a15f9d2d8 (patch)
treef8a3ec49c01d57469bf2caf95d64eccd850efeb7 /Core/Inc/led.h
parent24b20766d6dfa716888d1e0852dd0374004f6420 (diff)
Adding the whole Core
Diffstat (limited to 'Core/Inc/led.h')
-rw-r--r--Core/Inc/led.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Core/Inc/led.h b/Core/Inc/led.h
new file mode 100644
index 0000000..50c9084
--- /dev/null
+++ b/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_ */