Description
Source
Call Graph
USART_WriteBuffer
Sends the contents of a data buffer through the specified USART peripheral.


Syntax / parameters
unsigned char USART_WriteBuffer (AT91S_USART *usart, void *buffer, unsigned int size)
|
Name |
Type |
Default |
Description |
usart |
AT91S_USART *
|
|
Pointer to an USART peripheral.
|
buffer |
void *
|
|
Pointer to the data buffer to send.
|
size |
unsigned int
|
|
Size of the data buffer (in bytes).
|
|
Return value |
unsigned char
|
|
|
Description
Sends the contents of a data buffer through the specified USART peripheral.
This function returns immediately (1 if the buffer has been queued, 0 otherwise); poll the ENDTX and TXBUFE bits of the USART status register to check for the transfer completion.
Source
The documentation for this Member was generated from the following files:
usart.c