mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 22:45:08 +00:00
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
This commit is contained in:
parent
1749f57574
commit
bdc9a08b87
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue