Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
| Modules | |
| UART Public Macros | |
| UART Private Macros | |
| UART Public Types | |
| UART Public Functions | |
| Functions | |
| static Status | uart_set_divisors (LPC_UART_TypeDef *UARTx, uint32_t baudrate) | 
| Determines best dividers to get a target clock rate. | |
Function Documentation
| static Status uart_set_divisors | ( | LPC_UART_TypeDef * | UARTx, | 
| uint32_t | baudrate | ||
| ) |  [static] | 
Determines best dividers to get a target clock rate.
- Parameters:
- 
  [in] UARTx Pointer to selected UART peripheral, should be: - LPC_UART0: UART0 peripheral
- LPC_UART1: UART1 peripheral
- LPC_UART2: UART2 peripheral
- LPC_UART3: UART3 peripheral
 [in] baudrate Desired UART baud rate. 
- Returns:
- Error status, could be:- SUCCESS
- ERROR
 
Definition at line 59 of file lpc17xx_uart.c.
Generated on Tue Jul 12 2022 10:57:55 by
 1.7.2
 1.7.2