#include "stm32f10x.h" #include "../gpiodriver.h" int main ( void ) { int returnValue=0; MyGPIO_Struct_TypeDef gpioA_test = {GPIOB,8,In_PullDown}; MyGPIO_Init(&gpioA_test); returnValue = MyGPIO_Read(GPIOB,8); returnValue = returnValue; do{ }while(1) ; }