#include #include /* 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);