Lines Matching refs:huart2
68 UART_HandleTypeDef huart2; variable
310 huart2.Instance = USART2; in MX_USART2_UART_Init()
311 huart2.Init.BaudRate = 115200; in MX_USART2_UART_Init()
312 huart2.Init.WordLength = UART_WORDLENGTH_8B; in MX_USART2_UART_Init()
313 huart2.Init.StopBits = UART_STOPBITS_1; in MX_USART2_UART_Init()
314 huart2.Init.Parity = UART_PARITY_NONE; in MX_USART2_UART_Init()
315 huart2.Init.Mode = UART_MODE_TX; in MX_USART2_UART_Init()
316 huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE; in MX_USART2_UART_Init()
317 huart2.Init.OverSampling = UART_OVERSAMPLING_16; in MX_USART2_UART_Init()
318 huart2.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE; in MX_USART2_UART_Init()
319 huart2.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_NO_INIT; in MX_USART2_UART_Init()
320 if (HAL_UART_Init(&huart2) != HAL_OK) in MX_USART2_UART_Init()