#include <inttypes.h>
#include <stdio.h>
Functions | |
int | uart_send (char ch) |
int | uart_put (char, FILE *) |
void | uart_print (const char *string) |
int | uart_printf (const char *fmt,...) |
void | uart_init (uint16_t baudRate) |
The Happyboard configures the UART for 19200 baud, 8N1.
void uart_init | ( | uint16_t | baudRate | ) |
Initialize the UART driver.
void uart_print | ( | const char * | string | ) |
Print an unformated string directly to UART.
int uart_printf | ( | const char * | fmt, | |
... | ||||
) |
Print a formated string to UART.
int uart_put | ( | char | , | |
FILE * | ||||
) |
putc function used by printf.
int uart_send | ( | char | ch | ) |
Send a character over UART.