#ifndef __GPIO_SYS_H #define __GPIO_SYS_H #include "stm32f10x.h" #include "WDG.h" #include "app_def.h" extern int GPIO_SYS_init(void); extern int SYS_Reset(void); extern void Mcu_Reset(U08 flag) ; // #define ANDROID_POWER_Port GPIOB //LED线在哪个端口 // #define ANDROID_POWER_LINE GPIO_Pin_3 //哪根线 // #define ANDROID_POWER_RccOpen() RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB,ENABLE) //时钟 #define ANDROID_RESET_Port GPIOD //LED线在哪个端口 #define ANDROID_RESET_LINE GPIO_Pin_2 //哪根线 #define ANDROID_RESET_RccOpen() RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD,ENABLE) //时钟 // #define ANDROID_V0L_Port GPIOB //LED线在哪个端口 // #define ANDROID_V0L_LINE GPIO_Pin_4 //哪根线 // #define ANDROID_V0L_RccOpen() RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB,ENABLE) //时钟 #endif