Lines Matching refs:GPIO_InitStructure

49     GPIO_Config_T  GPIO_InitStructure;  in apm32_msp_sdio_init()  local
58 GPIO_InitStructure.pin = GPIO_PIN_8 | GPIO_PIN_9 | GPIO_PIN_10 | GPIO_PIN_11 | GPIO_PIN_12; in apm32_msp_sdio_init()
59 GPIO_InitStructure.mode = GPIO_MODE_AF_PP; in apm32_msp_sdio_init()
60 GPIO_InitStructure.speed = GPIO_SPEED_50MHz; in apm32_msp_sdio_init()
61 GPIO_Config(GPIOC, &GPIO_InitStructure); in apm32_msp_sdio_init()
63 GPIO_InitStructure.pin = GPIO_PIN_2; in apm32_msp_sdio_init()
64 GPIO_Config(GPIOD, &GPIO_InitStructure); in apm32_msp_sdio_init()
70 GPIO_Config_T GPIO_InitStructure; in apm32_msp_can_init() local
83 GPIO_InitStructure.pin = GPIO_PIN_1; in apm32_msp_can_init()
84 GPIO_InitStructure.mode = GPIO_MODE_AF_PP; in apm32_msp_can_init()
85 GPIO_InitStructure.speed = GPIO_SPEED_50MHz; in apm32_msp_can_init()
86 GPIO_Config(GPIOD, &GPIO_InitStructure); in apm32_msp_can_init()
89 GPIO_InitStructure.pin = GPIO_PIN_0; in apm32_msp_can_init()
90 GPIO_InitStructure.mode = GPIO_MODE_IN_FLOATING; in apm32_msp_can_init()
91 GPIO_Config(GPIOD, &GPIO_InitStructure); in apm32_msp_can_init()
103 GPIO_InitStructure.pin = GPIO_PIN_6; in apm32_msp_can_init()
104 GPIO_InitStructure.mode = GPIO_MODE_AF_PP; in apm32_msp_can_init()
105 GPIO_InitStructure.speed = GPIO_SPEED_50MHz; in apm32_msp_can_init()
106 GPIO_Config(GPIOB, &GPIO_InitStructure); in apm32_msp_can_init()
109 GPIO_InitStructure.pin = GPIO_PIN_5; in apm32_msp_can_init()
110 GPIO_InitStructure.mode = GPIO_MODE_IN_FLOATING; in apm32_msp_can_init()
111 GPIO_Config(GPIOB, &GPIO_InitStructure); in apm32_msp_can_init()