Serial.h File Reference

#include <avr/io.h>
#include <avr/pgmspace.h>
#include <stdbool.h>
#include "../../Common/Common.h"
#include "../Misc/TerminalCodes.h"
#include "../Misc/TerminalCodes.h"

Defines

#define SERIAL_UBBRVAL(baud)   ((((F_CPU / 16) + (baud / 2)) / (baud)) - 1)
#define SERIAL_2X_UBBRVAL(baud)   ((((F_CPU / 8) + (baud / 2)) / (baud)) - 1)

Functions

static bool Serial_IsCharReceived (void)
void Serial_TxString_P (const char *FlashStringPtr) ATTR_NON_NULL_PTR_ARG(1)
void Serial_TxString (const char *StringPtr) ATTR_NON_NULL_PTR_ARG(1)
static void Serial_Init (const uint32_t BaudRate, const bool DoubleSpeed)
static void Serial_ShutDown (void)
static void Serial_TxByte (const char DataByte)
static char Serial_RxByte (void)

Detailed Description

Driver for the USART subsystem on supported USB AVRs.


Generated by  doxygen 1.6.2