Searched refs:gpio (Results 1 – 13 of 13) sorted by relevance
1062 GPIO_InitTypeDef gpio = {0}; in HAL_RCC_MCOConfig() local1070 gpio.Mode = GPIO_MODE_AF_PP; in HAL_RCC_MCOConfig()1071 gpio.Speed = GPIO_SPEED_FREQ_HIGH; in HAL_RCC_MCOConfig()1072 gpio.Pull = GPIO_NOPULL; in HAL_RCC_MCOConfig()1075 gpio.Pin = MCO1_PIN; in HAL_RCC_MCOConfig()1076 gpio.Alternate = GPIO_AF0_MCO; in HAL_RCC_MCOConfig()1080 HAL_GPIO_Init(MCO1_GPIO_PORT, &gpio); in HAL_RCC_MCOConfig()1086 gpio.Pin = MCO3_PIN; in HAL_RCC_MCOConfig()1087 gpio.Alternate = GPIO_AF2_MCO; in HAL_RCC_MCOConfig()1091 HAL_GPIO_Init(MCO3_GPIO_PORT, &gpio); in HAL_RCC_MCOConfig()[all …]
153 static inline void _gpio_set_pin_function(const uint32_t gpio, const uint32_t function) in _gpio_set_pin_function() argument155 uint8_t port = GPIO_PORT(gpio); in _gpio_set_pin_function()156 uint8_t pin = GPIO_PIN(gpio); in _gpio_set_pin_function()
951 GPIO_InitTypeDef gpio; in HAL_RCC_MCOConfig() local959 gpio.Mode = GPIO_MODE_AF_PP; in HAL_RCC_MCOConfig()960 gpio.Speed = GPIO_SPEED_FREQ_HIGH; in HAL_RCC_MCOConfig()961 gpio.Pull = GPIO_NOPULL; in HAL_RCC_MCOConfig()962 gpio.Pin = MCO1_PIN; in HAL_RCC_MCOConfig()963 gpio.Alternate = GPIO_AF0_MCO; in HAL_RCC_MCOConfig()968 HAL_GPIO_Init(MCO1_GPIO_PORT, &gpio); in HAL_RCC_MCOConfig()
186 static inline void _gpio_set_pin_function(const uint32_t gpio, const uint32_t function);
31 "${CMAKE_CURRENT_SOURCE_DIR}/gpio-board.c"