Simone: a game of visual memory and speed
stm32f4_button.h File Reference

Header for stm32f4_button.c file. More...

#include <stdint.h>
#include "stm32f4xx.h"

Data Structures

struct  stm32f4_button_hw_t
 Structure to define the HW dependencies of a button status. More...
 

Macros

#define STM32F4_USER_BUTTON_GPIO
 
#define STM32F4_USER_BUTTON_PIN
 

Variables

stm32f4_button_hw_t buttons_arr []
 Array of elements that represents the HW characteristics of the buttons. More...
 

Detailed Description

Header for stm32f4_button.c file.

Author
Sistemas Digitales II
Date
2026-01-01

Macro Definition Documentation

◆ STM32F4_USER_BUTTON_GPIO

#define STM32F4_USER_BUTTON_GPIO

Button GPIO port

◆ STM32F4_USER_BUTTON_PIN

#define STM32F4_USER_BUTTON_PIN

Button GPIO pin

Variable Documentation

◆ buttons_arr

stm32f4_button_hw_t buttons_arr[]

Array of elements that represents the HW characteristics of the buttons.

This is an extern variable that is defined in stm32f4_button.c. It represents an array of hardware buttons.

Array of elements that represents the HW characteristics of the buttons.

This is an extern variable that is declared in stm32f4_button.h. It represents an array of hardware buttons.