void USART_Write (AT91S_USART *usart, unsigned short data, volatile unsigned int timeOut) |
Name | Type | Default | Description |
usart | AT91S_USART * |
Pointer to an USART peripheral. |
|
data | unsigned short |
Data to send including 9nth bit and sync field if necessary (in the same format as the US_THR register in the datasheet). |
|
timeOut | volatile unsigned int |
Time out value (0 = no timeout). |