Difference between revisions of "UART"
(→UART_Init) |
(→UART_TxChar) |
||
Line 25: | Line 25: | ||
{{#Widget:LibTable}} | {{#Widget:LibTable}} | ||
|- | |- | ||
− | |Defination || | + | |Defination ||'''void UART_TxChar(char ch)''' |
|- | |- | ||
− | | Input Arguments || | + | | Input Arguments || '''Ascii value''' of the character to be transmitted. |
|- | |- | ||
− | | Return Value|| | + | | Return Value|| none |
|- | |- | ||
− | | Description || | + | | Description ||This function is used to transmit a char through UART module. |
|- | |- | ||
| Usage || | | Usage || | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
==UART_RxChar== | ==UART_RxChar== |
Revision as of 22:40, 20 December 2014
Contents
UART
UART_Init
Defination | void UART_Init(uint32_t Baudrate) |
Input Arguments |
uint32_t : Baudrate to be configured. |
Return Value | none |
Description | This function is used to initialize the UART at specified baud rate.If the requested baud rate is not within the supported range then the default baud rate of 9600 is set. |
Usage |
UART_TxChar
Defination | void UART_TxChar(char ch) |
Input Arguments | Ascii value of the character to be transmitted. |
Return Value | none |
Description | This function is used to transmit a char through UART module. |
Usage |
UART_RxChar
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxString
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_RxString
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxDecimalNumber
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxHexNumber
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxBinaryNumber
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxFloatNumber
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_Printf
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |