gpio Namespace Reference

Space-ng SDK: sol3::gpio Namespace Reference
Space-ng SDK
sol3::gpio Namespace Reference

Namespaces

 impl
 

Classes

struct  GpioInputPinOptions
 Options for configuring a Gpio input pin. More...
 
struct  GpioEdgeEventResult
 Return value struct for GpioInputPin::waitForEdgeEvent(). More...
 
class  GpioInputPin
 RAII wrapper for GPIO input pins. More...
 
class  GpioOutputPin
 RAII wrapper for GPIO output pins. More...
 
class  GpioPinManager
 
struct  GpioInputEvent
 Event on a GPIO input pin. More...
 
class  GpioInputListener
 
class  GpioInputSignal
 

Typedefs

using GpioPinId = uint32_t
 
using GpioPinValue = uint32_t
 

Enumerations

enum class  GpioEdge { RISING , FALLING , BOTH }
 Edge trigger modes for GPIO input event detection. More...
 
enum class  Pin : GpioPinId {
  CARRIER_ADC1_CS = 20 , CARRIER_ADC2_CS = 21 , CARRIER_ADC3_CS = 32 , MISO = 52 ,
  MOSI = 53 , SCLK = 54 , POWER_ADC_CS = 55 , EXTTRIG = 60 ,
  SELF_RESET = 122 , SER_FB = 137 , SER = 142 , SRCLK = 143 ,
  RCLK = 144 , SR_OE = 145 , DES_PMIC_EN = 152
}
 Current pinout for the Rev1 Sol3/HDK hardware. More...
 

Typedef Documentation

◆ GpioPinId

using sol3::gpio::GpioPinId = typedef uint32_t

◆ GpioPinValue

using sol3::gpio::GpioPinValue = typedef uint32_t

Enumeration Type Documentation

◆ GpioEdge

enum sol3::gpio::GpioEdge
strong

Edge trigger modes for GPIO input event detection.

Enumerator
RISING 

Trigger on low-to-high transition.

FALLING 

Trigger on high-to-low transition.

BOTH 

Trigger on both transitions.

◆ Pin

enum sol3::gpio::Pin : GpioPinId
strong

Current pinout for the Rev1 Sol3/HDK hardware.

Enumerator
CARRIER_ADC1_CS 
CARRIER_ADC2_CS 
CARRIER_ADC3_CS 
MISO 
MOSI 
SCLK 
POWER_ADC_CS 
EXTTRIG 
SELF_RESET 
SER_FB 
SER 
SRCLK 
RCLK 
SR_OE 
DES_PMIC_EN