Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
Diff: UARTDisplayer.cpp
- Revision:
- 18:a21199781d20
- Parent:
- 16:c77e34bc69bc
- Child:
- 20:3b82955f42f7
--- a/UARTDisplayer.cpp Tue Jan 17 06:03:41 2017 +0000 +++ b/UARTDisplayer.cpp Tue Jan 17 19:45:02 2017 +0000 @@ -69,9 +69,7 @@ //Peripheral clock: In the PCLKSEL0 register (Table 40), select PCLK_UART1 //Default: PCLK_peripheral = CCLK/4 homemade_mbed::write_bits(reinterpret_cast<unsigned int*>(0x400FC1A8), 8, 9, 0x00); - - homemade_mbed::write_bits(reinterpret_cast<unsigned int*>(0x400FC0C4), 22, 23, 0x03); - + set_lcr(); set_baud_rate(9600); set_fifo();