A namespace with alternatives to the standard Arduino IO functions that can be used with extended IO pin numbers.
Classes | |
struct | CachedExtIOPin |
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. | |
ExtendedIOElement * | getIOElementOfPin (pin_t pin) |
Find the IO element of a given extended IO pin number. | |
template<class T > | |
ArduinoPin_t | arduino_pin_cast (T t) |
void | pinMode (pin_t pin, PinMode_t mode) |
An ExtIO version of the Arduino function. | |
void | pinMode (int pin, PinMode_t mode) |
Overload to Arduino pinMode function. | |
void | digitalWrite (pin_t pin, PinStatus_t val) |
An ExtIO version of the Arduino function. | |
void | digitalWrite (int pin, PinStatus_t val) |
Overload to Arduino digitalWrite function. | |
PinStatus_t | digitalRead (pin_t pin) |
An ExtIO version of the Arduino function. | |
PinStatus_t | digitalRead (int pin) |
Overload to Arduino digitalRead function. | |
analog_t | analogRead (pin_t pin) |
An ExtIO version of the Arduino function. | |
analog_t | analogRead (int pin) |
Overload to Arduino analogRead function. | |
void | analogWrite (pin_t pin, analog_t val) |
An ExtIO version of the Arduino function. | |
void | analogWrite (pin_t pin, int val) |
An ExtIO version of the Arduino function. | |
void | analogWrite (int pin, analog_t val) |
Overload to Arduino analogWrite function. | |
void | analogWrite (int pin, int val) |
Overload to Arduino analogWrite function. | |
void | pinModeBuffered (pin_t pin, PinMode_t mode) |
A buffered ExtIO version of the Arduino function. | |
void | digitalWriteBuffered (pin_t pin, PinStatus_t val) |
A buffered ExtIO version of the Arduino function. | |
PinStatus_t | digitalReadBuffered (pin_t pin) |
A buffered ExtIO version of the Arduino function. | |
analog_t | analogReadBuffered (pin_t pin) |
A buffered ExtIO version of the Arduino function. | |
void | analogWriteBuffered (pin_t pin, analog_t val) |
A buffered ExtIO version of the Arduino function. | |
void | analogWriteBuffered (pin_t pin, int val) |
A buffered ExtIO version of the Arduino function. | |
void | shiftOut (pin_t dataPin, pin_t clockPin, BitOrder_t bitOrder, uint8_t val) |
An ExtIO version of the Arduino function. | |
void | shiftOut (int dataPin, int clockPin, BitOrder_t bitOrder, uint8_t val) |
Overload to Arduino shiftOut function. | |
bool | isNativePin (pin_t pin) |
Check if the given pin number is a real Arduino pin number, and not an ExtIO pin number. | |
void | pinMode (CachedExtIOPin pin, PinMode_t mode) |
An ExtIO version of the Arduino function. | |
void | digitalWrite (CachedExtIOPin pin, PinStatus_t val) |
An ExtIO version of the Arduino function. | |
PinStatus_t | digitalRead (CachedExtIOPin pin) |
An ExtIO version of the Arduino function. | |
analog_t | analogRead (CachedExtIOPin pin) |
An ExtIO version of the Arduino function. | |
void | analogWrite (CachedExtIOPin pin, analog_t val) |
An ExtIO version of the Arduino function. | |
void | analogWrite (CachedExtIOPin pin, int val) |
An ExtIO version of the Arduino function. | |
void | shiftOut (CachedExtIOPin dataPin, CachedExtIOPin clockPin, BitOrder_t bitOrder, uint8_t val) |
An ExtIO version of the Arduino function. | |
void | pinModeBuffered (CachedExtIOPin pin, PinMode_t mode) |
A buffered ExtIO version of the Arduino function. | |
void | digitalWriteBuffered (CachedExtIOPin pin, PinStatus_t val) |
A buffered ExtIO version of the Arduino function. | |
PinStatus_t | digitalReadBuffered (CachedExtIOPin pin) |
A buffered ExtIO version of the Arduino function. | |
analog_t | analogReadBuffered (CachedExtIOPin pin) |
A buffered ExtIO version of the Arduino function. | |
void | analogWriteBuffered (CachedExtIOPin pin, analog_t val) |
A buffered ExtIO version of the Arduino function. | |
void | analogWriteBuffered (CachedExtIOPin pin, int val) |
A buffered ExtIO version of the Arduino function. | |
Definition at line 10 of file ExtendedInputOutput.cpp.
ArduinoPin_t arduino_pin_cast | ( | T | t | ) |
Definition at line 33 of file ExtendedInputOutput.cpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 298 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 305 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 312 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 319 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 325 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 338 of file ExtendedIOElement.hpp.
|
inline |
An ExtIO version of the Arduino function.
Definition at line 343 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 378 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 385 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 392 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 399 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 405 of file ExtendedIOElement.hpp.
|
inline |
A buffered ExtIO version of the Arduino function.
Definition at line 418 of file ExtendedIOElement.hpp.