Limbs Safety Switch Library for ESP32 (Arduino) v1.0.1
A library that provides a class that models a Limbs Safety Switch for physical dangerous devices or industrial production machines.
Loading...
Searching...
No Matches
gpioPinOtptHwCfg_t Struct Reference

GPIO Generic Pin for Output Configuration data structure. More...

#include <LimbsSafetySw_ESP32.h>

Detailed Description

GPIO Generic Pin for Output Configuration data structure.

Resource to keep the class design flexible to be used with different hardware components, this structure holds the output GPIO pin identification and a flag indicating if the voltage level needed to activate the device connected to the output pin. Polarity connection of leds, CC or CA RGB leds or led arrays, low or high level activated relays are examples of where the gpioPinOtptHwCfg_t is a convenient replacement to simple pin configuration as Output Mode.

Parameters
gpioOtptPinPin identified by pin number, to be used in OUTPUT mode. A value to indicate a non-connected pin is platform dependent
gpioOtptActHghBoolean indicating if the device attached to the pin is activated by a high level signal (true) or a low level signal (false)