diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-01 17:47:54 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-01 17:47:54 +0000 |
commit | 2dfc5da16f3e3abc4b36413e8205e3dcd4df7928 (patch) | |
tree | 9226c125b2583f72f45393934b2571f2600fee49 /nuttx/arch/arm/src | |
parent | 4a16b1826cafc353fa90826cbd4416476f1ea682 (diff) | |
download | px4-nuttx-2dfc5da16f3e3abc4b36413e8205e3dcd4df7928.tar.gz px4-nuttx-2dfc5da16f3e3abc4b36413e8205e3dcd4df7928.tar.bz2 px4-nuttx-2dfc5da16f3e3abc4b36413e8205e3dcd4df7928.zip |
atexit() and on_exit() may now be configured to support multiple exit callbacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4995 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src')
-rw-r--r-- | nuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c | 6 | ||||
-rw-r--r-- | nuttx/arch/arm/src/lpc17xx/lpc17_serial.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c b/nuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c index 1ea68287b..ba90c1ff6 100644 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_lowputc.c @@ -141,9 +141,11 @@ * * PCLK = CCLK / divisor * - * Ignoring the fractional divider for now. + * Ignoring the fractional divider for now. (If you want to extend this driver + * to support the fractional divider, see lpc43xx_uart.c. The LPC43xx uses + * the same peripheral and that logic could easily leveraged here). * - * Check divisor == 1. This works if the upper limit is met + * Check divisor == 1. This works if the upper limit is met: * * DL < 0xffff, or * PCLK / BAUD / 16 < 0xffff, or diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c b/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c index ced1c5d66..5ea6348e0 100644 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c @@ -791,7 +791,9 @@ static inline void lpc17_uart3config(uint32_t clkdiv) * BAUD = PCLK / (16 * DL), or * DL = PCLK / BAUD / 16 * - * Ignoring the fractional divider for now. + * Ignoring the fractional divider for now. (If you want to extend this driver + * to support the fractional divider, see lpc43xx_uart.c. The LPC43xx uses + * the same peripheral and that logic could easily leveraged here). * ************************************************************************************/ |