OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
Loading...
Searching...
No Matches
AnalogMultiplexerChip< PinTags > Struct Template Reference

Generic analog multiplexer chip. More...

#include <InputSpecification.hpp>

Public Member Functions

 AnalogMultiplexerChip (InputGPIO inputPin)
 Construct a new Analog Multiplexer Chip object.
 
 AnalogMultiplexerChip (const AnalogMultiplexerChip &)=default
 Copy constructor (default)
 
 AnalogMultiplexerChip (AnalogMultiplexerChip &&)=default
 Move constructor (default)
 
AnalogMultiplexerChipoperator= (const AnalogMultiplexerChip &)=default
 Copy-assignment (default)
 
AnalogMultiplexerChipoperator= (AnalogMultiplexerChip &&)=default
 Move-assignment (default)
 
void reserve_and_book ()
 Reserve the input pin and book all input numbers.
 
InputGPIO getInputGPIO ()
 Get the input GPIO pin.
 

Detailed Description

template<typename PinTags>
struct AnalogMultiplexerChip< PinTags >

Generic analog multiplexer chip.

Template Parameters
PinTagsChip's pin tags

Definition at line 150 of file InputSpecification.hpp.

Constructor & Destructor Documentation

◆ AnalogMultiplexerChip()

template<typename PinTags >
AnalogMultiplexerChip< PinTags >::AnalogMultiplexerChip ( InputGPIO inputPin)
inline

Construct a new Analog Multiplexer Chip object.

Parameters
inputPinInput GPIO attached to the multiplexed signal

Definition at line 158 of file InputSpecification.hpp.

Member Function Documentation

◆ getInputGPIO()

template<typename PinTags >
InputGPIO AnalogMultiplexerChip< PinTags >::getInputGPIO ( )
inline

Get the input GPIO pin.

Returns
InputGPIO Input GPIO attached to the multiplexed signal

Definition at line 190 of file InputSpecification.hpp.

◆ reserve_and_book()

template<typename PinTags >
void AnalogMultiplexerChip< PinTags >::reserve_and_book ( )
inline

Reserve the input pin and book all input numbers.

Note
No need to use in user code

Definition at line 178 of file InputSpecification.hpp.


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