AVRCpp::OutputPins< PortClass, flags > Struct Template Reference

#include <IO.h>

List of all members.

Public Types

typedef PortClass MyPort
typedef MyPort::Output Pins

Static Public Member Functions

static void InitOutput ()
static void Close ()
static void Set ()
static void SetTo (bool value)
static void Toggle ()
static void Clear ()
static bool IsAnySet ()
static bool IsSet ()

Static Public Attributes

static const uint8_t myFlags = flags


Detailed Description

template<class PortClass, uint8_t flags>
struct AVRCpp::OutputPins< PortClass, flags >

Definition at line 169 of file IO.h.


Member Typedef Documentation

template<class PortClass, uint8_t flags>
typedef PortClass AVRCpp::OutputPins< PortClass, flags >::MyPort

Definition at line 171 of file IO.h.

template<class PortClass, uint8_t flags>
typedef MyPort::Output AVRCpp::OutputPins< PortClass, flags >::Pins

Definition at line 172 of file IO.h.


Member Function Documentation

template<class PortClass, uint8_t flags>
static void AVRCpp::OutputPins< PortClass, flags >::InitOutput (  )  [inline, static]

Definition at line 176 of file IO.h.

00176 { MyPort::SetAsOutput(flags); }

template<class PortClass, uint8_t flags>
static void AVRCpp::OutputPins< PortClass, flags >::Close (  )  [inline, static]

Definition at line 177 of file IO.h.

00177 { MyPort::SetAsTriStateInput(flags); }

template<class PortClass, uint8_t flags>
static void AVRCpp::OutputPins< PortClass, flags >::Set (  )  [inline, static]

Definition at line 178 of file IO.h.

00178 { SetBits<Pins>(flags); }

template<class PortClass, uint8_t flags>
static void AVRCpp::OutputPins< PortClass, flags >::SetTo ( bool  value  )  [inline, static]

Definition at line 179 of file IO.h.

00179 { SetBitsTo<Pins>(flags, value); }

template<class PortClass, uint8_t flags>
static void AVRCpp::OutputPins< PortClass, flags >::Toggle (  )  [inline, static]

Definition at line 180 of file IO.h.

00180 { ToggleBits<Pins>(flags); }

template<class PortClass, uint8_t flags>
static void AVRCpp::OutputPins< PortClass, flags >::Clear (  )  [inline, static]

Definition at line 181 of file IO.h.

00181 { ClearBits<Pins>(flags); }

template<class PortClass, uint8_t flags>
static bool AVRCpp::OutputPins< PortClass, flags >::IsAnySet (  )  [inline, static]

Definition at line 182 of file IO.h.

00182 { return IsAnyBitSet<Pins>(flags); }

template<class PortClass, uint8_t flags>
static bool AVRCpp::OutputPins< PortClass, flags >::IsSet (  )  [inline, static]

Definition at line 183 of file IO.h.

00183 { return IsBitsSet<Pins>(flags); }


Member Data Documentation

template<class PortClass, uint8_t flags>
const uint8_t AVRCpp::OutputPins< PortClass, flags >::myFlags = flags [static]

Definition at line 174 of file IO.h.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 15 23:41:06 2007 for AVR C++ Lib for ATmega64 by  doxygen 1.5.2
SourceForge.net Logo MTÜ TTÜ Robotiklubi