Embedded Artistry Framework
Embedded Systems C++ Framework
Classes | Typedefs | Enumerations

Definitions, functions, and classes related to GPIO devices. More...

Classes

class  base
 This class defines the common GPIO interfaces. More...
 
class  input
 This class defines a GPIO input interface. More...
 
class  inputOutput
 This class defines a GPIO input/output interface. More...
 
class  output
 This class defines a GPIO output interface. More...
 

Typedefs

using specialFunction = embvm::gpio::base< embvm::gpio::direction::special >
 Alias for inheriting from gpio::base with a special function pin. More...
 

Enumerations

enum  direction { direction::in = 0, direction::out, direction::inout, direction::special }
 GPIO direction configuration options. More...
 
enum  pull { pull::none, pull::pullup, pull::pulldown }
 GPIO internal pull configuration options. More...
 

Detailed Description

Definitions, functions, and classes related to GPIO devices.

Typedef Documentation

◆ specialFunction

Alias for inheriting from gpio::base with a special function pin.

Enumeration Type Documentation

◆ direction

GPIO direction configuration options.

Enumerator
in 

GPIO input.

out 

GPIO output.

inout 

GPIO input-output.

special 

Configure this pin in special-purpose mode.

e.g. non-standard IO mode such as PWM, SPI CS line

◆ pull

enum embvm::gpio::pull
strong

GPIO internal pull configuration options.

This enumeration represents the configuration options for a GPIO's internal pull settings.

External pull-ups or pull-downs may still be used if gpio::pull::none is selected.

Enumerator
none 

No internal pull option is used.

pullup 

Internal pull-up is configured.

pulldown 

Internal pull-down is enabled.