#include <stm32f4xx_gpio.h> #include <stm32f4xx_rcc.h> /* A public variable where the current buttons pressed are specified. * Update the varible using the function readKeypad. * */ unsigned static short KEYPAD_STATUS; void readKeypad(GPIO_TypeDef* GPIOx); unsigned short getKeypadStatus(void);