Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Classes | Typedefs | Variables
Def.hpp File Reference
#include "Cable.hpp"
#include "Channel.hpp"
#include <AH/Containers/Array.hpp>
#include <AH/Hardware/Arduino-Hardware-Types.hpp>
#include <AH/Hardware/Hardware-Types.hpp>
#include <AH/STL/limits>
#include <Settings/NamespaceSettings.hpp>
#include <stddef.h>
#include <stdint.h>
+ Include dependency graph for Def.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EncoderSwitchPinList
 A struct for the pins of a rotary (quadrature) encoder with a switch. More...
 
struct  EncoderPinList
 A struct for the pins of a rotary (quadrature) encoder without a switch. More...
 
struct  Potentiometer
 
struct  MotorFader
 
struct  Display
 
struct  PixelLocation
 A simple struct representing a pixel with integer coordinates. More...
 

Typedefs

using MappingFunction = analog_t (*)(analog_t)
 
template<uint8_t NumRows, uint8_t NumCols>
using AddressMatrix = Array2D<uint8_t, NumRows, NumCols>
 
using setting_t = uint8_t
 The type used for Selectors.
 

Variables

constexpr setting_t NoSetting
 A special setting that indicates an unused or invalid setting.
 

Typedef Documentation

◆ MappingFunction

using MappingFunction = analog_t (*)(analog_t)

Definition at line 23 of file Def.hpp.

◆ AddressMatrix

template<uint8_t NumRows, uint8_t NumCols>
using AddressMatrix = Array2D<uint8_t, NumRows, NumCols>

Definition at line 30 of file Def.hpp.

◆ setting_t

using setting_t = uint8_t

The type used for Selectors.

Definition at line 53 of file Def.hpp.

Variable Documentation

◆ NoSetting

constexpr setting_t NoSetting
constexpr
Initial value:
=
(std::numeric_limits<setting_t>::max() >> 1) + 1

A special setting that indicates an unused or invalid setting.

Definition at line 55 of file Def.hpp.