1、GPIO_Mode_In_FL_No_IT浮空输入无中断 2、GPIO_Mode_In_PU_No_IT上拉输入无中断 3、GPIO_Mode_In_FL_IT浮空输入有中断 4、GPIO_Mode_In_PU_IT 上拉输入有中断 5、GPIO_Mode_Out_OD_Low_Fast 开漏-输出低-高速 Output open-drain, low level, 10MHz 6、GPIO_Mode_Out_PP_Low_Fast 推挽-输出...
GPIO_Mode_In_PU_No_IT 上拉输入无中断 GPIO_Mode_In_FL_IT 浮空输入有中断 GPIO_Mode_In_PU_IT 上拉输入有中断 GPIO_Mode_Out_OD_Low_Fast 开漏-输出低-高速 Output open-drain, low level, 10MHz GPIO_Mode_Out_PP_Low_Fast 推挽-输出低-高速 Output push-pull, low level, 10MHz GPIO_Mode_Ou...
GPIO_Mode_In_FL_No_IT 浮空输入,无外部中断 GPIO_Mode_In_PU_No_IT 上拉输入,无外部中断 GPIO_Mode_In_FL_IT 浮空输入,有外部中断 GPIO_Mode_Out_OD_Low_Fast 开漏输出低电平 10MHZ GPIO_Mode_Out_PP_Low_Fast 推挽输出低电平 10MHZ GPIO_Mode_Out_OD_Low_Slow 开漏输出低电平 2MHZ GPIO_Mode_Ou...
③GPIO_Mode_TypeDef GPIO_Mode:配置单片机IO输入输出的模式: typedefenum{GPIO_Mode_In_FL_No_IT=(uint8_t)0x00,/*!< Input floating, no external interrupt */GPIO_Mode_In_PU_No_IT=(uint8_t)0x40,/*!< Input pull-up, no external interrupt */GPIO_Mode_In_FL_IT=(uint8_t)0x20,/*!< ...
}GPIO_Mode_TypeDef; 3.4.模式介绍 1.浮空输入(Input Floating) 浮空输入在 I\O 模式中带有 IN_FL 字眼,如:GPIO_MODE_IN_FL_NO_IT 、GPIO_MODE_IN_FL_IT。 浮空输入也叫悬浮输入,一般把浮空输入和上拉输入做类比学习。浮空输入的电平不确定的,即使外部的一个很小的输入信号都会使其发生改变。如果引脚设置...
GPIO_Init(LED_GPIO_PORT, (GPIO_Pin_TypeDef)LED_GPIO_PIN,GPIO_MODE_OUT_PP_LOW_FAST); 具体配置参数有多种: typedef enum { GPIO_MODE_IN_FL_NO_IT = (uint8_t)0x00, /*!< Input floating, no external interrupt */ GPIO_MODE_IN_PU_NO_IT = (uint8_t)0x40, /*!< Input pull-up, ...
void GPIO_DeInit(GPIO_TypeDef* GPIOx); void GPIO_Init(GPIO_TypeDef* GPIOx, GPIO_Pin_TypeDef GPIO_Pin, GPIO_Mode_TypeDef GPIO_Mode); void GPIO_Write(GPIO_TypeDef* GPIOx, u8 PortVal);void GPIO_WriteHigh(GPIO_TypeDef* GPIOx, GPIO_Pin_TypeDef PortPins); void GPIO_WriteLow(GPIO_TypeDef* ...
后来我找到了 ARM 的官方依据:Auto address increment and pack mode on Read or Write data access....
GPIO_Mode_In_FL_No_IT浮空输入无中断 Input floating, no external interrupt GPIO_Mode_In_PU_No_I上拉输入无中断 Input pull-up, no external interrupt GPIO_Mode_In_FL_IT 浮空输入有中断 Input floating, external interrupt GPIO_Mode_In_PU_IT 上拉输入有中断 Input pull-up, external interrupt ...
一,每组GPIO的数目: #define S5PV210_GPIO_A0_NR (8) #define S5PV210_GPIO_A1_NR (4) #define S5PV210_GPIO_B_NR (8) ... #define S5PV210_GPIO_ETC2_NR (8) #define S5PV210_GPIO_ETC4_NR (6) 二,每组GPIO的起始号码 #define S5PV210_GPIO_NEXT(__g...