Serial.c File Reference

#include "Serial.h"

Functions

void Serial_Init (const uint32_t BaudRate, const bool DoubleSpeed)
void Serial_TxString_P (const char *FlashStringPtr)
void Serial_TxString (const char *StringPtr)

Function Documentation

void Serial_Init ( const uint32_t  BaudRate,
const bool  DoubleSpeed 
)

Initializes the USART, ready for serial data transmission and reception.

Parameters:
BaudRate Baud rate to configure the USART to
DoubleSpeed Enables double speed mode when set, halving the sample time to double the baud rate

void Serial_TxString ( const char *  StringPtr  ) 

Transmits a given string located in SRAM memory through the USART.

Parameters:
StringPtr Pointer to a string located in SRAM space

void Serial_TxString_P ( const char *  FlashStringPtr  ) 

Transmits a given string located in program space (FLASH) through the USART.

Parameters:
FlashStringPtr Pointer to a string located in program space


Generated on Wed Apr 1 16:39:51 2009 for LUFA Library by  doxygen 1.5.7.1