Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Namespaces | Typedefs | Variables
Hardware-Types.hpp File Reference
#include <AH/Containers/Array.hpp>
#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.

Namespaces

namespace  AH
 PrintStream library
 

Typedefs

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

Variables

constexpr pin_t NO_PIN = 1 << (8 * sizeof(pin_t) - 1)
 A special pin number that indicates an unused or invalid pin.