Control Surface pin-t-adl
MIDI Control Surface library for Arduino
Classes | Namespaces | Typedefs | Functions | Variables
Hardware-Types.hpp File Reference
#include <AH/Settings/Warnings.hpp>
#include <AH/Containers/Array.hpp>
#include <AH/PrintStream/PrintStream.hpp>
#include <AH/STL/limits>
#include <AH/Settings/NamespaceSettings.hpp>
#include <stdint.h>
+ Include dependency graph for Hardware-Types.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pin_t
 Type for storing pin numbers of Extended Input/Output elements. More...
 

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.
 

Typedefs

using analog_t = uint16_t
 The type returned from analogRead and similar functions. More...
 
template<size_t N>
using PinList = Array< pin_t, N >
 An easy alias for arrays of pins. More...
 

Functions

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)
 

Variables

constexpr pin_t NO_PIN {}
 A special pin number that indicates an unused or invalid pin. More...