Difference between revisions of "UART"
(Created page with "category:Library_Reference =UART= ==UART_Init== {| class="wikitable" style="colspan:1; background-color:#4682B4;" {{#Widget:LibTable}} |- |Defination || |- | Input A...") |
(→UART_Init) |
||
Line 9: | Line 9: | ||
{{#Widget:LibTable}} | {{#Widget:LibTable}} | ||
|- | |- | ||
− | |Defination || | + | |Defination || ''' void UART_Init(uint32_t Baudrate)''' |
|- | |- | ||
| Input Arguments || | | Input Arguments || | ||
+ | '''uint32_t''' : Baudrate to be configured. | ||
|- | |- | ||
− | | Return Value|| | + | | Return Value|| none |
|- | |- | ||
− | | Description || | + | | 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 || | | Usage || | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
==UART_TxChar== | ==UART_TxChar== | ||
{| class="wikitable" style="colspan:1; background-color:#4682B4;" | {| class="wikitable" style="colspan:1; background-color:#4682B4;" |
Revision as of 22:38, 20 December 2014
Contents
[hide]UART
UART_Init
{{#Widget:LibTable}}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
{{#Widget:LibTable}}Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_RxChar
{{#Widget:LibTable}}Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxString
{{#Widget:LibTable}}Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_RxString
{{#Widget:LibTable}}Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxDecimalNumber
{{#Widget:LibTable}}Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxHexNumber
{{#Widget:LibTable}}Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxBinaryNumber
{{#Widget:LibTable}}Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_TxFloatNumber
{{#Widget:LibTable}}Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
UART_Printf
{{#Widget:LibTable}}Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |