![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
These functions provide data transmit and receive via the UART and will block until the all the data has been sent or a specified amount of data has been received.
Functions | |
| int | Chip_UART_SendBlocking (LPC_USART_T *pUART, const void *data, int numBytes) |
| Transmit a byte array through the UART peripheral (blocking) | |
| int | Chip_UART_ReadBlocking (LPC_USART_T *pUART, void *data, int numBytes) |
| Read data through the UART peripheral (blocking) | |
| int Chip_UART_ReadBlocking | ( | LPC_USART_T * | pUART, |
| void * | data, | ||
| int | numBytes | ||
| ) |
Read data through the UART peripheral (blocking)
| pUART | : Pointer to selected UART peripheral |
| data | : Pointer to data array to fill |
| numBytes | : Size of the passed data array |
Definition at line 123 of file uart_11xx.c.
| int Chip_UART_SendBlocking | ( | LPC_USART_T * | pUART, |
| const void * | data, | ||
| int | numBytes | ||
| ) |
Transmit a byte array through the UART peripheral (blocking)
| pUART | : Pointer to selected UART peripheral |
| data | : Pointer to data to transmit |
| numBytes | : Number of bytes to transmit |
Definition at line 90 of file uart_11xx.c.