Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Namespaces | Functions
ExtendedInputOutput.hpp File Reference
#include <AH/Hardware/Arduino-Hardware-Types.hpp>
#include <AH/STL/climits>
#include <AH/Settings/NamespaceSettings.hpp>
+ Include dependency graph for ExtendedInputOutput.hpp:
+ This graph shows which files directly or indirectly include this file:

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

bool isNativePin (pin_t pin)
 Check if the given pin number is a real Arduino pin number, and not an ExtIO pin number.
 
ExtendedIOElementgetIOElementOfPinOrNull (pin_t pin)
 Find the IO element of a given extended IO pin number.
 
ExtendedIOElementgetIOElementOfPin (pin_t pin)
 Find the IO element of a given extended IO pin number.
 
void pinMode (pin_t pin, PinMode_t mode)
 An ExtIO version of the Arduino function.
 
void digitalWrite (pin_t pin, PinStatus_t val)
 An ExtIO version of the Arduino function.
 
PinStatus_t digitalRead (pin_t pin)
 An ExtIO version of the Arduino function.
 
analog_t analogRead (pin_t pin)
 An ExtIO version of the Arduino 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 shiftOut (pin_t dataPin, pin_t clockPin, BitOrder_t bitOrder, uint8_t val)
 An ExtIO version of the Arduino 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.