#include <DiverseIO.h>
Static Public Member Functions | |
static void | InitInput () |
static void | InitDefaultInput () |
static bool | IsAnySet () |
static bool | IsSet () |
Protected Types | |
typedef InputPins0::MyPort::Input | Pins0 |
typedef InputPins1::MyPort::Input | Pins1 |
typedef InputPins2::MyPort::Input | Pins2 |
typedef InputPins3::MyPort::Input | Pins3 |
typedef InputPins4::MyPort::Input | Pins4 |
typedef InputPins5::MyPort::Input | Pins5 |
typedef InputPins6::MyPort::Input | Pins6 |
typedef InputPins7::MyPort::Input | Pins7 |
Definition at line 276 of file DiverseIO.h.
typedef InputPins0::MyPort ::Input AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::Pins0 [protected, inherited] |
Definition at line 70 of file DiverseIO.h.
typedef InputPins1::MyPort ::Input AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::Pins1 [protected, inherited] |
Definition at line 71 of file DiverseIO.h.
typedef InputPins2::MyPort ::Input AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::Pins2 [protected, inherited] |
Definition at line 72 of file DiverseIO.h.
typedef InputPins3::MyPort ::Input AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::Pins3 [protected, inherited] |
Definition at line 73 of file DiverseIO.h.
typedef InputPins4::MyPort ::Input AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::Pins4 [protected, inherited] |
Definition at line 74 of file DiverseIO.h.
typedef InputPins5::MyPort ::Input AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::Pins5 [protected, inherited] |
Definition at line 75 of file DiverseIO.h.
typedef InputPins6::MyPort ::Input AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::Pins6 [protected, inherited] |
Definition at line 76 of file DiverseIO.h.
typedef InputPins7::MyPort ::Input AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::Pins7 [protected, inherited] |
Definition at line 77 of file DiverseIO.h.
static void AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::InitInput | ( | ) | [inline, static, inherited] |
Definition at line 81 of file DiverseIO.h.
00082 { 00083 if (flags0) Port0::SetAsInput(flags0); 00084 if (flags1) Port1::SetAsInput(flags1); 00085 if (flags2) Port2::SetAsInput(flags2); 00086 if (flags3) Port3::SetAsInput(flags3); 00087 if (flags4) Port4::SetAsInput(flags4); 00088 if (flags5) Port5::SetAsInput(flags5); 00089 if (flags6) Port6::SetAsInput(flags6); 00090 if (flags7) Port7::SetAsInput(flags7); 00091 00092 } // InitInput
static void AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::InitDefaultInput | ( | ) | [inline, static, inherited] |
Definition at line 94 of file DiverseIO.h.
00095 { 00096 if (flags0) Port0::SetAsTriStateInput(flags0); 00097 if (flags1) Port1::SetAsTriStateInput(flags1); 00098 if (flags2) Port2::SetAsTriStateInput(flags2); 00099 if (flags3) Port3::SetAsTriStateInput(flags3); 00100 if (flags4) Port4::SetAsTriStateInput(flags4); 00101 if (flags5) Port5::SetAsTriStateInput(flags5); 00102 if (flags6) Port6::SetAsTriStateInput(flags6); 00103 if (flags7) Port7::SetAsTriStateInput(flags7); 00104 00105 } // InitDefaultInput
static bool AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::IsAnySet | ( | ) | [inline, static, inherited] |
Definition at line 107 of file DiverseIO.h.
00108 { 00109 return (flags0 ? IsAnyBitSet<Pins0>(flags0) : false) 00110 || (flags1 ? IsAnyBitSet<Pins1>(flags1) : false) 00111 || (flags2 ? IsAnyBitSet<Pins2>(flags2) : false) 00112 || (flags3 ? IsAnyBitSet<Pins3>(flags3) : false) 00113 || (flags4 ? IsAnyBitSet<Pins4>(flags4) : false) 00114 || (flags5 ? IsAnyBitSet<Pins5>(flags5) : false) 00115 || (flags6 ? IsAnyBitSet<Pins6>(flags6) : false) 00116 || (flags7 ? IsAnyBitSet<Pins7>(flags7) : false); 00117 00118 } // IsSet
static bool AVRCpp::MultiPortInputPins< InputPins0::MyPort , flags0, InputPins1::MyPort , flags1, InputPins2::MyPort , flags2, InputPins3::MyPort , flags3, InputPins4::MyPort , flags4, InputPins5::MyPort , flags5, InputPins6::MyPort , flags6, InputPins7::MyPort , flags7 >::IsSet | ( | ) | [inline, static, inherited] |
Definition at line 120 of file DiverseIO.h.
00121 { 00122 return (flags0 ? IsBitsSet<Pins0>(flags0) : true) 00123 && (flags1 ? IsBitsSet<Pins1>(flags1) : true) 00124 && (flags2 ? IsBitsSet<Pins2>(flags2) : true) 00125 && (flags3 ? IsBitsSet<Pins3>(flags3) : true) 00126 && (flags4 ? IsBitsSet<Pins4>(flags4) : true) 00127 && (flags5 ? IsBitsSet<Pins5>(flags5) : true) 00128 && (flags6 ? IsBitsSet<Pins6>(flags6) : true) 00129 && (flags7 ? IsBitsSet<Pins7>(flags7) : true); 00130 00131 } // IsAllSet
MTÜ TTÜ Robotiklubi |