usart.h File Reference
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | usart_conf |
Typedefs | |
typedef void(* | usart_callback_t) (uint8_t *buf, int len, void *pxTaskWoken) |
Functions | |
void | usart_init (struct usart_conf *conf) |
void | usart_set_callback (usart_callback_t callback) |
void | usart_insert (char c, void *pxTaskWoken) |
void | usart_putc (char c) |
void | usart_putstr (char *buf, int len) |
char | usart_getc (void) |
int | usart_messages_waiting (int handle) |
Detailed Description
Common USART interface, This file is derived from the Gomspace USART driver, the main difference is the assumption that only one USART will be present on a PC