forked from trocache/RefKEIL
16 lines
295 B
C
16 lines
295 B
C
#include "stm32f10x.h"
|
|
#include "../gpiodriver.h"
|
|
|
|
int main ( void )
|
|
{
|
|
int returnValue;
|
|
MyGPIO_Struct_TypeDef gpioA5_test = {GPIOA,5,Out_PullUp};
|
|
MyGPIO_Init(&gpioA5_test);
|
|
MyGPIO_Set(GPIOA,5);
|
|
MyGPIO_Toggle(GPIOA,5);
|
|
MyGPIO_Toggle(GPIOA,5);
|
|
MyGPIO_Reset(GPIOA,5);
|
|
do{
|
|
}while(1) ;
|
|
|
|
}
|