static portTASK_FUNCTION( vUartTask, pvParameters )
{
char recv;
for(;;)
{
if( xQueueReceive( xUART0RXQueue, &( recv ), timeoutValue ) )
{
// process incoming character
}
else
{
// oops! - timed out
}
}
}
|