#ifndef USART_INTERFACE_H_
#define USART_INTERFACE_H_

#include "ui_interface.h"

#define USART_BUFFER_SIZE		(128u)
#define ERROR_FLAG_OVERRUN		(0x01u)
#define USART_INTERRUPT_PRIO	(2)

#define TASK_USART_PRIORITY		(tskIDLE_PRIORITY)
#define TASK_USART_STACK_SIZE	(512/sizeof(portSTACK_TYPE))
#define USART_TASK_DELAY		(5u) // Little delay so other tasks, like the idle task, can run

void usart_task(void *pvParameters);
void usart_interface_init(void);

#endif // USART_INTERFACE_H_
