Serial Stream Driver - LUFA/Drivers/Peripheral/SerialStream.h
[On-chip Peripheral Drivers]


Functions

static void SerialStream_Init (const uint32_t BaudRate, const bool DoubleSpeed)

Detailed Description

Module Source Dependencies

The following files must be built with any user project that uses this module:

Description

Serial stream driver for the USART subsystem on supported USB AVRs. This makes use of the functions in the regular USART driver, but allows the avr-libc standard stream functions (printf, puts, etc.) to work with the USART.

Function Documentation

static void SerialStream_Init ( const uint32_t  BaudRate,
const bool  DoubleSpeed 
) [inline, static]

Initializes the serial stream (and regular USART driver) so that both the stream and regular USART driver functions can be used. Must be called before any stream or regular USART functions.

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


Generated on Sun Aug 9 19:53:12 2009 for LUFA (Formerly MyUSB) Library by  doxygen 1.5.9