diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-01-26 18:26:26 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-01-26 18:26:26 +0100 |
commit | bc481107298791bf0efd984ecc53dc92b8719878 (patch) | |
tree | 332af7837f310af85b261611ed016e0e6312262c /simonnnnn/Core/Inc/button.h | |
parent | 816804c9c114e20d2231258cc346c3714590b9ea (diff) |
Insertion du projet dans sa totalité
Diffstat (limited to 'simonnnnn/Core/Inc/button.h')
-rw-r--r-- | simonnnnn/Core/Inc/button.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/simonnnnn/Core/Inc/button.h b/simonnnnn/Core/Inc/button.h new file mode 100644 index 0000000..fff10b7 --- /dev/null +++ b/simonnnnn/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_ */ |