From 343e88525d1d13a6da5629d7137b2d8a15f9d2d8 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 24 Jan 2021 23:56:07 +0100 Subject: Adding the whole Core --- Core/Inc/button.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Core/Inc/button.h (limited to 'Core/Inc/button.h') diff --git a/Core/Inc/button.h b/Core/Inc/button.h new file mode 100644 index 0000000..fff10b7 --- /dev/null +++ b/Core/Inc/button.h @@ -0,0 +1,21 @@ +/* + * button.h + * + * Created on: 2 déc. 2020 + * Author: root + */ + +#ifndef INC_BUTTON_H_ +#define INC_BUTTON_H_ + +#include "stm32l053xx.h" + +typedef struct +{ +GPIO_TypeDef * gpioPort; +uint8_t pin; +uint8_t pull; + +}BUTTON_TypeDef; + +#endif /* INC_BUTTON_H_ */ -- cgit v1.2.3