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

#include <IO.h>

List of all members.

Public Types

typedef PortClass MyPort
typedef MyPort::Input Pins

Static Public Member Functions

static void InitInput ()
static void InitDefaultInput ()
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::InputPins< PortClass, flags >

Definition at line 187 of file IO.h.


Member Typedef Documentation

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

Definition at line 189 of file IO.h.

template<class PortClass, uint8_t flags>
typedef MyPort::Input AVRCpp::InputPins< PortClass, flags >::Pins

Definition at line 190 of file IO.h.


Member Function Documentation

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

Definition at line 194 of file IO.h.

00194 { MyPort::SetAsInput(flags); }

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

Definition at line 195 of file IO.h.

00195 { MyPort::SetAsTriStateInput(flags); }

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

Definition at line 196 of file IO.h.

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

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

Definition at line 197 of file IO.h.

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


Member Data Documentation

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

Definition at line 192 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