Question
STM32F4 StdPeriph GPIO_MODE
i use nucleo-f446ze learning how to use STM32F4 stdperiph,but in STM32F4XX_GPIO.h,GPIO_MODE only have 4 mode,
GPIO_Mode_IN = 0x00, /*!< GPIO Input Mode */
GPIO_Mode_OUT = 0x01, /*!< GPIO Output Mode */
GPIO_Mode_AF = 0x02, /*!< GPIO Alternate function Mode */
GPIO_Mode_AN = 0x03 /*!< GPIO Analog Mode */
in STM32F10_GPIO.h,have 8 mode
GPIO_Mode_AIN = 0x0,
GPIO_Mode_IN_FLOATING = 0x04,
GPIO_Mode_IPD = 0x28,
GPIO_Mode_IPU = 0x48,
GPIO_Mode_Out_OD = 0x14,
GPIO_Mode_Out_PP = 0x10,
GPIO_Mode_AF_OD = 0x1C,
GPIO_Mode_AF_PP = 0x18
if i want to use PP in the STM32F4,i should use gpio_pupd?can explain why different design?
Best regards!
