A namespace with alternatives to the standard Arduino IO functions that can be used with extended IO pin numbers.
Classes | |
struct | CachedExtIOPin |
struct | pin_t |
Type for storing pin numbers of Extended Input/Output elements. More... | |
Functions | |
template<class T > | |
static bool | inRange (T target, T start, T end) |
ExtendedIOElement * | getIOElementOfPinOrNull (pin_t pin) |
Find the IO element of a given extended IO pin number. More... | |
ExtendedIOElement * | getIOElementOfPin (pin_t pin) |
Find the IO element of a given extended IO pin number. More... | |
void | pinMode (pin_t pin, PinMode_t mode) |
An ExtIO version of the Arduino function. More... | |
void | pinMode (int pin, PinMode_t mode) |
Overload to Arduino pinMode function. More... | |
void | digitalWrite (pin_t pin, PinStatus_t val) |
An ExtIO version of the Arduino function. More... | |
void | digitalWrite (int pin, PinStatus_t val) |
Overload to Arduino digitalWrite function. More... | |
PinStatus_t | digitalRead (pin_t pin) |
An ExtIO version of the Arduino function. More... | |
PinStatus_t | digitalRead (int pin) |
Overload to Arduino digitalRead function. More... | |
analog_t | analogRead (pin_t pin) |
An ExtIO version of the Arduino function. More... | |
analog_t | analogRead (int pin) |
Overload to Arduino analogRead function. More... | |
void | analogWrite (pin_t pin, analog_t val) |
An ExtIO version of the Arduino function. More... | |
void | analogWrite (pin_t pin, int val) |
An ExtIO version of the Arduino function. More... | |
void | analogWrite (int pin, analog_t val) |
Overload to Arduino analogWrite function. More... | |
void | analogWrite (int pin, int val) |
Overload to Arduino analogWrite function. More... | |
void | pinModeBuffered (pin_t pin, PinMode_t mode) |
A buffered ExtIO version of the Arduino function. More... | |
void | digitalWriteBuffered (pin_t pin, PinStatus_t val) |
A buffered ExtIO version of the Arduino function. More... | |
PinStatus_t | digitalReadBuffered (pin_t pin) |
A buffered ExtIO version of the Arduino function. More... | |
analog_t | analogReadBuffered (pin_t pin) |
A buffered ExtIO version of the Arduino function. More... | |
void | analogWriteBuffered (pin_t pin, analog_t val) |
A buffered ExtIO version of the Arduino function. More... | |
void | analogWriteBuffered (pin_t pin, int val) |
A buffered ExtIO version of the Arduino function. More... | |
void | shiftOut (pin_t dataPin, pin_t clockPin, BitOrder_t bitOrder, uint8_t val) |
An ExtIO version of the Arduino function. More... | |
void | shiftOut (int dataPin, int clockPin, BitOrder_t bitOrder, uint8_t val) |
Overload to Arduino shiftOut function. More... | |
bool | isNativePin (pin_t pin) |
Check if the given pin number is a real Arduino pin number, and not an ExtIO pin number. More... | |
void | pinMode (CachedExtIOPin pin, PinMode_t mode) |
An ExtIO version of the Arduino function. More... | |
void | digitalWrite (CachedExtIOPin pin, PinStatus_t val) |
An ExtIO version of the Arduino function. More... | |
PinStatus_t | digitalRead (CachedExtIOPin pin) |
An ExtIO version of the Arduino function. More... | |
analog_t | analogRead (CachedExtIOPin pin) |
An ExtIO version of the Arduino function. More... | |
void | analogWrite (CachedExtIOPin pin, analog_t val) |
An ExtIO version of the Arduino function. More... | |
void | analogWrite (CachedExtIOPin pin, int val) |
An ExtIO version of the Arduino function. More... | |
void | shiftOut (CachedExtIOPin dataPin, CachedExtIOPin clockPin, BitOrder_t bitOrder, uint8_t val) |
An ExtIO version of the Arduino function. More... | |
void | pinModeBuffered (CachedExtIOPin pin, PinMode_t mode) |
A buffered ExtIO version of the Arduino function. More... | |
void | digitalWriteBuffered (CachedExtIOPin pin, PinStatus_t val) |
A buffered ExtIO version of the Arduino function. More... | |
PinStatus_t | digitalReadBuffered (CachedExtIOPin pin) |
A buffered ExtIO version of the Arduino function. More... | |
analog_t | analogReadBuffered (CachedExtIOPin pin) |
A buffered ExtIO version of the Arduino function. More... | |
void | analogWriteBuffered (CachedExtIOPin pin, analog_t val) |
A buffered ExtIO version of the Arduino function. More... | |
void | analogWriteBuffered (CachedExtIOPin pin, int val) |
A buffered ExtIO version of the Arduino function. More... | |
constexpr bool | operator== (pin_t a, pin_t b) |
constexpr bool | operator< (pin_t a, pin_t b) |
constexpr bool | operator<= (pin_t a, pin_t b) |
constexpr bool | operator> (pin_t a, pin_t b) |
constexpr bool | operator>= (pin_t a, pin_t b) |
constexpr bool | operator!= (pin_t a, pin_t b) |
constexpr pin_t | operator- (pin_t a, pin_t b) |
constexpr pin_t | operator+ (pin_t a, pin_t b) |
constexpr pin_t | operator* (pin_t a, pin_t b) |
Print & | operator<< (Print &os, pin_t p) |
|
static |
Definition at line 13 of file ExtendedInputOutput.cpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 301 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 308 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 315 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 322 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 328 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 341 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 346 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 381 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 388 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 395 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 402 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 408 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 421 of file ExtendedIOElement.hpp.
Definition at line 61 of file Hardware-Types.hpp.
Definition at line 62 of file Hardware-Types.hpp.
Definition at line 63 of file Hardware-Types.hpp.
Definition at line 64 of file Hardware-Types.hpp.
Definition at line 65 of file Hardware-Types.hpp.
Definition at line 66 of file Hardware-Types.hpp.
Definition at line 67 of file Hardware-Types.hpp.
Definition at line 68 of file Hardware-Types.hpp.
Definition at line 69 of file Hardware-Types.hpp.
|
inline |
Definition at line 70 of file Hardware-Types.hpp.