Skip to content

Struct daisy::GPIO::Config

ClassList > daisy > GPIO > Config

Configuration for a given GPIO .

  • #include <gpio.h>

Public Attributes

Type Name
Mode mode
Pin pin
Pull pull
Speed speed

Public Functions

Type Name
Config ()

Public Attributes Documentation

variable mode

Mode daisy::GPIO::Config::mode;

variable pin

Pin daisy::GPIO::Config::pin;

variable pull

Pull daisy::GPIO::Config::pull;

variable speed

Speed daisy::GPIO::Config::speed;

Public Functions Documentation

function Config

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

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



The documentation for this class was generated from the following file external-docs/libDaisy/src/per/gpio.h