Control Surface master
MIDI Control Surface library for Arduino
Namespaces | Functions
ExtendedInputOutput.cpp File Reference
#include <AH/Settings/Warnings.hpp>
#include "ExtendedIOElement.hpp"
#include "ExtendedInputOutput.hpp"
#include <AH/Error/Error.hpp>
+ Include dependency graph for ExtendedInputOutput.cpp:

Go to the source code of this file.

Namespaces

namespace  AH
 PrintStream library
 
namespace  AH::ExtIO
 A namespace with alternatives to the standard Arduino IO functions that can be used with extended IO pin numbers.
 

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...
 
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. 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...