Lines Matching refs:GPIO_InitStructure

39         GPIO_InitTypeDef GPIO_InitStructure;  in GpioMcuInit()  local
75 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuInit()
76 GPIO_InitStructure.Pull = obj->pull = type; in GpioMcuInit()
77 GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; in GpioMcuInit()
81 GPIO_InitStructure.Mode = GPIO_MODE_INPUT; in GpioMcuInit()
85 GPIO_InitStructure.Mode = GPIO_MODE_ANALOG; in GpioMcuInit()
91 GPIO_InitStructure.Mode = GPIO_MODE_AF_OD; in GpioMcuInit()
95 GPIO_InitStructure.Mode = GPIO_MODE_AF_PP; in GpioMcuInit()
97 GPIO_InitStructure.Alternate = value; in GpioMcuInit()
103 GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_OD; in GpioMcuInit()
107 GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; in GpioMcuInit()
117 HAL_GPIO_Init( obj->port, &GPIO_InitStructure ); in GpioMcuInit()
140 GPIO_InitTypeDef GPIO_InitStructure; in GpioMcuSetInterrupt() local
149 GPIO_InitStructure.Pin = obj->pinIndex; in GpioMcuSetInterrupt()
153 GPIO_InitStructure.Mode = GPIO_MODE_IT_RISING; in GpioMcuSetInterrupt()
157 GPIO_InitStructure.Mode = GPIO_MODE_IT_FALLING; in GpioMcuSetInterrupt()
161 GPIO_InitStructure.Mode = GPIO_MODE_IT_RISING_FALLING; in GpioMcuSetInterrupt()
164 GPIO_InitStructure.Pull = obj->pull; in GpioMcuSetInterrupt()
165 GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_HIGH; in GpioMcuSetInterrupt()
167 HAL_GPIO_Init( obj->port, &GPIO_InitStructure ); in GpioMcuSetInterrupt()
236 GPIO_InitTypeDef GPIO_InitStructure; in GpioMcuRemoveInterrupt() local
238 GPIO_InitStructure.Pin = obj->pinIndex ; in GpioMcuRemoveInterrupt()
239 GPIO_InitStructure.Mode = GPIO_MODE_ANALOG; in GpioMcuRemoveInterrupt()
240 HAL_GPIO_Init( obj->port, &GPIO_InitStructure ); in GpioMcuRemoveInterrupt()