Prep for 6.8 release

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3899 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-08-19 21:33:11 +00:00
parent ad0721c9d7
commit 5cb433406a

View File

@ -424,10 +424,18 @@ void kinetis_uartconfigure(uintptr_t uart_base, uint32_t baud,
putreg8(UART_PFIFO_RXFE | UART_PFIFO_TXFE, uart_base+KINETIS_UART_PFIFO_OFFSET);
#else
/* Otherwise, disable the FIFOs. Then the FIFOs are disable, the effective
* FIFO depth is 1. So set the watermarks as follows:
*
* TWFIFO[TXWATER] = 0: TDRE will be set when the number of queues bytes
* (1 in this case) is less than or equal to 0.
* RWFIFO[RXWATER] = 1: RDRF will be set when the number of queues bytes
* (1 in this case) is greater than or equal to 1.
*
/* Set the watermarks to one and disable the FIFOs */
putreg8(1, uart_base+KINETIS_UART_RWFIFO_OFFSET);
putreg8(1, uart_base+KINETIS_UART_TWFIFO_OFFSET);
putreg8(0, uart_base+KINETIS_UART_TWFIFO_OFFSET);
putreg8(0, uart_base+KINETIS_UART_PFIFO_OFFSET);
#endif