| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
usart_004.c File Reference
`#include "usart_004.h"`

Go to the source code of this file.

## Macros
#define | UART_FDR_MULVAL(n) (((n) << 4) & 0xF0)
#define | UART_ACCEPTED_BAUDRATE_ERROR (3)

## Functions
void | IP_UART_Init (IP_USART_001_T *pUART)
| Basic UART initialization.
uint32_t | IP_UART_SetBaud (IP_USART_001_T *pUART, uint32_t baudrate, uint32_t uClk)
| Determines best dividers to get a target clock rate.

## Macro Definition Documentation

#define UART_ACCEPTED_BAUDRATE_ERROR (3)

Definition at line 42 of file usart_004.c.

#define UART_FDR_MULVAL | ( |  | n | ) | (((n) << 4) & 0xF0)

Definition at line 39 of file usart_004.c.