modm API documentation
modm::platform::Gpio Struct Reference
Inheritance diagram for modm::platform::Gpio:
modm::platform::GpioSet< Gpios... > modm::platform::GpioSet< Gpios > modm::platform::GpioStatic< GpioData > modm::platform::GpioStatic< detail::DataUnused > modm::platform::SoftwareGpioPort< Gpios >

Public Types

enum  InputType { InputType::Floating = 0x0, InputType::PullUp = 0x1, InputType::PullDown = 0x2 }
 
enum  OutputType { OutputType::PushPull = 0x0, OutputType::OpenDrain = 0x1 }
 
enum  OutputSpeed {
  Low = 0, Medium = 0x1, High = 0x2, OutputSpeed::VeryHigh = 0x3,
  MHz2 = Low, MHz25 = Medium, MHz50 = High, MHz100 = VeryHigh
}
 
enum  Port {
  A = 0, B = 1, C = 2, D = 3,
  E = 4, F = 5, G = 6, H = 7
}
 The Port a Gpio Pin is connected to.
 

Member Enumeration Documentation

Enum ValuesDocumentation
Floating 

floating on input

PullUp 

pull-up on input

PullDown 

pull-down on input

Enum ValuesDocumentation
VeryHigh 

30 pF (80 MHz Output max speed on 15 pF)

Enum ValuesDocumentation
PushPull 

push-pull on output

OpenDrain 

open-drain on output


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