/workspaces/astro/sol3-sdk/cpp/sol3/gpio/gpio.h Source File
|
Space-ng SDK
|
gpio.h
Go to the documentation of this file.
~GpioInputPin()=default
GpioEdgeEventResult waitForEdgeEvent(std::chrono::milliseconds timeout) const
Wait for an edge event on the input pin with the specified timeout.
GpioInputPin(GpioInputPin const &other) noexcept=delete
GpioInputPin(GpioInputPin &&other) noexcept=default
GpioInputPin & operator=(GpioInputPin &&other) noexcept=default
GpioInputPinOptions const & getOptions() const
Get the configured options for this input pin.
Definition: gpio.h:84
GpioInputPin & operator=(GpioInputPin &other) noexcept=delete
GpioOutputPin(GpioOutputPin const &other) noexcept=delete
GpioOutputPin(GpioOutputPin &&other) noexcept=default
GpioOutputPin & operator=(GpioOutputPin const &other) noexcept=delete
GpioOutputPin & operator=(GpioOutputPin &&other) noexcept=default
~GpioOutputPin()=default
Definition: gpio.h:128
GpioPinManager(GpioPinManager const &)=delete
GpioInputPin acquireInputPin(TPin pin, GpioInputPinOptions const &options={})
Definition: gpio.h:140
GpioPinManager & operator=(GpioPinManager const &)=delete
GpioPinManager(GpioPinManager &&)=delete
GpioOutputPin acquireOutputPin(TPin pin)
Definition: gpio.h:149
GpioPinManager & operator=(GpioPinManager &&)=delete
static GpioPinManager & getInstance()
Get the singleton instance.
Definition: gpio.h:131
Definition: gpio.h:50
GpioPinBase(GpioPinId pin, GpioPinManager *manager, int value_fd)
Protected constructor - only derived classes can create.
GpioPinBase(GpioPinBase &&other) noexcept
GpioPinBase & operator=(GpioPinBase &&other) noexcept
GpioPinBase & operator=(GpioPinBase const &)=delete
GpioPinBase(GpioPinBase const &)=delete
~GpioPinBase()
Definition: gpio.h:11
@ CARRIER_ADC1_CS
@ SR_OE
@ SER
@ DES_PMIC_EN
@ EXTTRIG
@ SER_FB
@ SELF_RESET
@ SRCLK
@ RCLK
@ CARRIER_ADC2_CS
@ MISO
@ MOSI
@ CARRIER_ADC3_CS
@ SCLK
@ POWER_ADC_CS
Return value struct for GpioInputPin::waitForEdgeEvent().
Definition: gpio.h:32
GpioEdge edge
Edge detection mode for interrupt-based monitoring.
Definition: gpio.h:26
bool active_low
Invert pin logic (true = active-low)
Definition: gpio.h:28
Generated by