AVRCpp::USART Namespace Reference

Functionality of Universal Synchronous and Asynchronous Serial Receiver and Transmitter interfaces. More...


Classes

struct  USART1

Namespaces

namespace  Internal
 Only for library's internal use.

Enumerations

enum  ReadResult {
  Success,
  Canceled,
  DataOverRun,
  FrameError,
  ParityError
}
enum  Receiver {
  ReceiverEnable = 0x10,
  ReceiverDisable = 0x00
}
enum  Transmitter {
  TransmitterEnable = 0x08,
  TransmitterDisable = 0x00
}
enum  ParityCheck {
  NoParityCheck = 0x00,
  EvenParity = 0x20,
  OddParity = 0x30
}
enum  StopBit {
  NormalStopBit = 0x00,
  DoubledStopBit = 0x08
}
enum  CharacterSize {
  CharacterSize5 = 0x00,
  CharacterSize6 = 0x02,
  CharacterSize7 = 0x04,
  CharacterSize8 = 0x06,
  CharacterSize9 = 0xF6
}
enum  SynchroEdge {
  ReceiveOnFall = 0x00,
  ReceiveOnRise = 0x01
}
enum  Speed {
  NormalSpeed = 0x00,
  DoubleSpeed = 0x02
}
enum  CommunicationMode {
  SingleProcessor = 0x00,
  MultiProcessor = 0x01
}

Variables

static bool cancel1 = false


Detailed Description

Functionality of Universal Synchronous and Asynchronous Serial Receiver and Transmitter interfaces.

Enumeration Type Documentation

enum AVRCpp::USART::CharacterSize

Enumerator:
CharacterSize5 
CharacterSize6 
CharacterSize7 
CharacterSize8 
CharacterSize9 

Definition at line 81 of file USART.h.

00082                 {
00083                         CharacterSize5  = 0x00,
00084                         CharacterSize6  = 0x02,
00085                         CharacterSize7  = 0x04,
00086                         CharacterSize8  = 0x06,
00087                         CharacterSize9  = 0xF6
00088                         
00089                 }; // enum DataBitsCount

enum AVRCpp::USART::CommunicationMode

Enumerator:
SingleProcessor 
MultiProcessor 

Definition at line 105 of file USART.h.

00106                 {
00107                         SingleProcessor = 0x00,
00108                         MultiProcessor  = 0x01
00109                         
00110                 }; // enum CommunicationMode

enum AVRCpp::USART::ParityCheck

Enumerator:
NoParityCheck 
EvenParity 
OddParity 

Definition at line 66 of file USART.h.

00067                 {
00068                         NoParityCheck   = 0x00,
00069                         EvenParity              = 0x20,
00070                         OddParity               = 0x30
00071                         
00072                 }; // enum ParityCheck

enum AVRCpp::USART::ReadResult

Enumerator:
Success 
Canceled 
DataOverRun 
FrameError 
ParityError 

Definition at line 42 of file USART.h.

00043                 {
00044                         Success,
00045                         Canceled,
00046                         DataOverRun,
00047                         FrameError,
00048                         ParityError
00049                         
00050                 }; // enum ReadResult

enum AVRCpp::USART::Receiver

Enumerator:
ReceiverEnable 
ReceiverDisable 

Definition at line 52 of file USART.h.

00053                 {
00054                         ReceiverEnable  = 0x10,
00055                         ReceiverDisable = 0x00
00056                         
00057                 }; // enum Receiver

enum AVRCpp::USART::Speed

Enumerator:
NormalSpeed 
DoubleSpeed 

Definition at line 98 of file USART.h.

00099                 {
00100                         NormalSpeed     = 0x00,
00101                         DoubleSpeed     = 0x02
00102                         
00103                 }; // enum Speed

enum AVRCpp::USART::StopBit

Enumerator:
NormalStopBit 
DoubledStopBit 

Definition at line 74 of file USART.h.

00075                 {
00076                         NormalStopBit   = 0x00,
00077                         DoubledStopBit  = 0x08
00078                         
00079                 }; // enum StopBit

enum AVRCpp::USART::SynchroEdge

Enumerator:
ReceiveOnFall 
ReceiveOnRise 

Definition at line 91 of file USART.h.

00092                 {
00093                         ReceiveOnFall = 0x00,
00094                         ReceiveOnRise = 0x01
00095                         
00096                 }; // enum SynchroEdge

enum AVRCpp::USART::Transmitter

Enumerator:
TransmitterEnable 
TransmitterDisable 

Definition at line 59 of file USART.h.

00060                 {
00061                         TransmitterEnable       = 0x08,
00062                         TransmitterDisable      = 0x00
00063                         
00064                 }; // enum Transmitter


Variable Documentation

bool AVRCpp::USART::cancel1 = false [static]

Definition at line 60 of file USART.cpp.


Generated on Sat Sep 15 23:40:19 2007 for AVR C++ Lib for AT90USB1287 by  doxygen 1.5.2
SourceForge.net Logo MTÜ TTÜ Robotiklubi