![]() |
MSPM0_ValvanoWare
1.0
ECE445L starter code
|
Initialize UART0. More...
Go to the source code of this file.
Macros | |
| #define | CR 0x0D |
| CR is carriage return. | |
| #define | LF 0x0A |
| LF is line feed. | |
| #define | BS 0x08 |
| BS is back space. | |
| #define | ESC 0x1B |
| ESC is escape character. | |
| #define | SP 0x20 |
| SP is space. | |
| #define | DEL 0x7F |
| DEL is delete. | |
Functions | |
| void | UART_Init (void) |
| Initialize UART0. More... | |
| char | UART_InChar (void) |
| input from UART0 More... | |
| char | UART_InCharNonBlock (void) |
| non blocking input from UART0 More... | |
| void | UART_OutChar (char data) |
| output character to UART0 More... | |
| void | UART_OutString (char *pt) |
| output string to UART0 More... | |
| uint32_t | UART_InUDec (void) |
| input a number from UART0 More... | |
| void | UART_OutUDec (uint32_t n) |
| output a number to UART0 More... | |
| void | UART_OutSDec (int32_t n) |
| output a signed number to UART0 More... | |
| uint32_t | UART_InUHex (void) |
| input a hex number from UART0 More... | |
| void | UART_OutUHex (uint32_t number) |
| output a hex number to UART0 More... | |
| void | UART_InString (char *bufPt, uint16_t max) |
| input a string from UART0 More... | |
| void | UART_Fix2 (long number) |
| Fixed-point output. More... | |
| void | UART_Fix3 (uint32_t number) |
| void | UART_OutUFix1 (uint16_t n) |
| void | UART_InitPrintf (void) |
| Initialize UART0 to use printf. More... | |
| void | UART1_Init (void) |
| char | UART1_InChar (void) |
| void | UART1_OutChar (char data) |
Initialize UART0.
UART0 initialization. 115200 baud, 1 start, 8 data bits, 1 stop, no parity.