I am developing MSP430F3468 with Bluetopia SPPLEDemo_Lite project.
In HAL_ConfigureHardware , it use the following code to configure the UART.
/* Configure the UART-USB Port for its default configuration */
HAL_CommConfigure(BT_DEBUG_UART_BASE, BT_DEBUG_UART_BAUDRATE, 0);
GPIOPinTypeUART(BT_DEBUG_UART_PIN_BASE, BT_DEBUG_UART_PIN_TX_MASK, BT_DEBUG_UART_PIN_RX_MASK);
/* Enable Debug UART Receive Interrupt. */
UARTIntEnableReceive(BT_DEBUG_UART_BASE);
After configure the UART , it can use Display(("\r\n")); function to send the data out via UART.
1. Which function can catch the data from UART in SPPLEDemo_lite?
2. Is the HAL_ConsoleRead for read the data from UART ? If yes, how to use it ?