OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
Loading...
Searching...
No Matches
InputValidation.hpp File Reference

Validation of input hardware specifications. More...

Go to the source code of this file.

Namespaces

namespace  internals::inputs::validate
 Validation of user-defined input hardware.
 

Functions

template<typename GPIOtype >
void internals::inputs::validate::reserve (const std::vector< GPIOtype > &collection)
 Reserve a collection of GPIO pins.
 
void internals::inputs::validate::buttonMatrix (const ButtonMatrix &matrix)
 Validate a button matrix.
 
template<typename PinTags >
void internals::inputs::validate::analogMultiplexer (const OutputGPIOCollection &selectors, const AnalogMultiplexerGroup< PinTags > chips)
 Validate a group of analog multiplexers.
 
void internals::inputs::validate::shiftRegisterChain (OutputGPIO loadPin, OutputGPIO nextPin, InputGPIO inputPin, const ShiftRegisterChain &chain)
 Validate a chain of PISO shift registers.
 
template<typename PinTags >
void internals::inputs::validate::GPIOExpander (const GPIOExpanderChip< PinTags > &chip)
 Validate a GPIO expander.
 
void internals::inputs::validate::rotaryEncoder (InputGPIO dtPin, InputGPIO clkPin, InputNumber cw, InputNumber ccw)
 Validate a rotary encoder.
 
void internals::inputs::validate::button (InputGPIO pin, InputNumber inputNumber)
 Validate a single button.
 
void internals::inputs::validate::codedRotarySwitch (const RotaryCodedSwitch &spec, const InputGPIOCollection &inputs)
 Validate a coded rotary switch.
 

Detailed Description

Validation of input hardware specifications.

Author
Ángel Fernández Pineda. Madrid. Spain.
Date
2025-02-04

Definition in file InputValidation.hpp.