libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::GPIO::Config Struct Reference

Configuration for a given GPIO. More...

Detailed Description

Configuration for a given GPIO.

#include <gpio.h>

Public Member Functions

 Config ()
 

Public Attributes

Pin pin
 
Mode mode
 
Pull pull
 
Speed speed
 

Constructor & Destructor Documentation

◆ Config()

daisy::GPIO::Config::Config ( )
inline

Constructor with no arguments will prepare an invalid GPIO set as an input, with no pullup.

Member Data Documentation

◆ mode

Mode daisy::GPIO::Config::mode

◆ pin

Pin daisy::GPIO::Config::pin

◆ pull

Pull daisy::GPIO::Config::pull

◆ speed

Speed daisy::GPIO::Config::speed

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