Question
Check CTS level in UART with flow control
Posted on July 03, 2014 at 11:35
Hi,
I'm working on STM32 Discovery Board (stm32f4xx mcu) and I'm using an UART with flow control enabled; since I use the CubeMx code, I'd like to check the CTS level to know if transmit is enabled or not, because the HAL UART drivers not have nothing to do this. I'd like to make my function to check this level, passing only the UART object, but I can't get the GPIO pin assigned to CTS UART, from the UART object. Please, can anyone suggest me a possible solution ? Regards Davide Urbano