Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
pin_t Struct Reference

#include <AH/Hardware/Hardware-Types.hpp>

Detailed Description

Collaboration diagram for pin_t:

Public Member Functions

constexpr pin_t ()=default
 Default constructor (NO_PIN).
constexpr pin_t (pin_int_t pin)
 Constructor from integer.
pin_toperator+= (pin_int_t b)
pin_toperator++ ()
pin_t operator++ (int)
pin_toperator-= (pin_int_t b)
pin_toperator-- ()
pin_t operator-- (int)

Public Attributes

pin_int_t pin = NO_PIN_INT
 The actual underlying pin number.

Constructor & Destructor Documentation

◆ pin_t() [1/2]

pin_t ( )
constexprdefault

Default constructor (NO_PIN).

◆ pin_t() [2/2]

pin_t ( pin_int_t pin)
inlineconstexpr

Constructor from integer.

Definition at line 29 of file Hardware-Types.hpp.

Member Function Documentation

◆ operator+=()

pin_t & operator+= ( pin_int_t b)
inline

Definition at line 37 of file Hardware-Types.hpp.

◆ operator++() [1/2]

pin_t & operator++ ( )
inline

Definition at line 41 of file Hardware-Types.hpp.

◆ operator++() [2/2]

pin_t operator++ ( int )
inline

Definition at line 45 of file Hardware-Types.hpp.

◆ operator-=()

pin_t & operator-= ( pin_int_t b)
inline

Definition at line 51 of file Hardware-Types.hpp.

◆ operator--() [1/2]

pin_t & operator-- ( )
inline

Definition at line 55 of file Hardware-Types.hpp.

◆ operator--() [2/2]

pin_t operator-- ( int )
inline

Definition at line 59 of file Hardware-Types.hpp.

Member Data Documentation

◆ pin

The actual underlying pin number.

Definition at line 32 of file Hardware-Types.hpp.


The documentation for this struct was generated from the following file: