Hints for detecting USART-input on tty - STM32F411CE* - weact* - Linux
Given: void USART2_Init (void) { RCC->APB1ENR |= (1<<17); RCC->AHB1ENR |= (1<<0); GPIOA-> AFR[0] = (7<<8); GPIOA->MODER |= (1<<5); USART2->BRR = 0x0683; // 9600 at 16MHz USART2->CR1 |= (1<<3); USART2->CR1 |= (1<<13); } void USART2_Write(...