Corrections for LPC178x UART baud calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5698 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
6d02aa1f63
commit
c316a5ecbd
@ -72,6 +72,7 @@
|
||||
|
||||
#define LPC17_CCLK 120000000 /* 120Mhz */
|
||||
#define BOARD_PCLKDIV 2 /* Peripheral clock = LPC17_CCLK/2 */
|
||||
#define BOARD_PCLK_FREQUENCY (LPC17_CCLK / BOARD_PCLKDIV)
|
||||
|
||||
/* Select the main oscillator as the frequency source. SYSCLK is then the frequency
|
||||
* of the main oscillator.
|
||||
|
Loading…
Reference in New Issue
Block a user