{\r
lDidSomething = pdFALSE;\r
\r
- ulISRStatus = XIo_In32( pxUART->RegBaseAddress + XUL_STATUS_REG_OFFSET );\r
+ ulISRStatus = XIo_In32( XPAR_RS232_UART_BASEADDR + XUL_STATUS_REG_OFFSET );\r
\r
- if( ( ulISRStatus & (XUL_SR_RX_FIFO_FULL | XUL_SR_RX_FIFO_VALID_DATA ) ) != 0 )\r
+ if( ( ulISRStatus & XUL_SR_RX_FIFO_VALID_DATA ) != 0 )\r
{\r
/* A character is available - place it in the queue of received\r
characters. This might wake a task that was blocked waiting for \r
data. */\r
- cChar = ( portCHAR ) XIo_In32( pxUART->RegBaseAddress + XUL_RX_FIFO_OFFSET );\r
+ cChar = ( portCHAR ) XIo_In32( XPAR_RS232_UART_BASEADDR + XUL_RX_FIFO_OFFSET );\r
xTaskWokenByRx = xQueueSendFromISR( xRxedChars, &cChar, xTaskWokenByRx );\r
lDidSomething = pdTRUE;\r
}\r
-\r
+ \r
if( ( ulISRStatus & XUL_SR_TX_FIFO_EMPTY ) != 0 )\r
{\r
/* There is space in the FIFO - if there are any characters queue for\r
task that was waiting for space to become available on the Tx queue. */\r
if( xQueueReceiveFromISR( xCharsForTx, &cChar, &xTaskWokenByTx ) == pdTRUE )\r
{\r
- XIo_Out32( pxUART->RegBaseAddress + XUL_TX_FIFO_OFFSET, cChar );\r
+ XIo_Out32( XPAR_RS232_UART_BASEADDR + XUL_TX_FIFO_OFFSET, cChar );\r
lDidSomething = pdTRUE;\r
} \r
}\r