#ifndef MYGPIO_H #define MYGPIO_H #include "stm32f10x.h" /* #define In_floating 0x . . . // a c o m p l e t e r #define In_PullDown 0x . . . // a c o m p l e t e r #define In_PullUp 0x . . . // a c o m p l e t e r #define In_Analog 0x . . . // a c o m p l e t e r #define Out_Ppull 0x . . . // a c o m p l e t e r #define Out_OD 0x . . . // a c o m p l e t e r #define AltOut_Ppull 0x . . . // a c o m p l e t e r #define AltOut_OD 0x . . . // a c o m p l e t e r */ void GPIO_configure(GPIO_TypeDef * ,int, char); int GPIO_bouton_read ( GPIO_TypeDef * , char); void allume_led ( GPIO_TypeDef * , char ); void eteindre_led ( GPIO_TypeDef * , char ); void toggle_pin ( GPIO_TypeDef * , char ); #endif