Lines Matching refs:GPIO_ConfigStruct
15 GPIO_Config_T GPIO_ConfigStruct; in apm32_usart_init() local
21 GPIO_ConfigStruct.mode = GPIO_MODE_AF; in apm32_usart_init()
22 GPIO_ConfigStruct.pin = GPIO_PIN_9; in apm32_usart_init()
23 GPIO_ConfigStruct.otype = GPIO_OTYPE_PP; in apm32_usart_init()
24 GPIO_ConfigStruct.speed = GPIO_SPEED_50MHz; in apm32_usart_init()
25 GPIO_Config(GPIOA, &GPIO_ConfigStruct); in apm32_usart_init()
28 GPIO_ConfigStruct.mode = GPIO_MODE_AF; in apm32_usart_init()
29 GPIO_ConfigStruct.pin = GPIO_PIN_10; in apm32_usart_init()
30 GPIO_ConfigStruct.pupd = GPIO_PUPD_UP; in apm32_usart_init()
31 GPIO_ConfigStruct.speed = GPIO_SPEED_50MHz; in apm32_usart_init()
32 GPIO_Config(GPIOA, &GPIO_ConfigStruct); in apm32_usart_init()
40 GPIO_ConfigStruct.mode = GPIO_MODE_AF; in apm32_usart_init()
41 GPIO_ConfigStruct.pin = GPIO_PIN_2; in apm32_usart_init()
42 GPIO_ConfigStruct.otype = GPIO_OTYPE_PP; in apm32_usart_init()
43 GPIO_ConfigStruct.speed = GPIO_SPEED_50MHz; in apm32_usart_init()
44 GPIO_Config(GPIOA, &GPIO_ConfigStruct); in apm32_usart_init()
47 GPIO_ConfigStruct.mode = GPIO_MODE_AF; in apm32_usart_init()
48 GPIO_ConfigStruct.pin = GPIO_PIN_3; in apm32_usart_init()
49 GPIO_ConfigStruct.pupd = GPIO_PUPD_UP; in apm32_usart_init()
50 GPIO_ConfigStruct.speed = GPIO_SPEED_50MHz; in apm32_usart_init()
51 GPIO_Config(GPIOA, &GPIO_ConfigStruct); in apm32_usart_init()