Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
GpioInputPar< Base, PUEN > Struct Template Reference

Parametric GPIO input class. More...

#include <ArduinoGpio.hxx>

Inheritance diagram for GpioInputPar< Base, PUEN >:

Static Public Member Functions

static void hw_init ()
 Initializes the hardware pin.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 

Detailed Description

template<class Base, bool PUEN>
struct GpioInputPar< Base, PUEN >

Parametric GPIO input class.

Parameters
Baseis the GPIO pin's definition base class, supplied by the GPIO_PIN macro.
PUENis true if the pullup should be enabled.

Definition at line 216 of file ArduinoGpio.hxx.

Member Function Documentation

◆ hw_init() [1/2]

template<class Base , bool PUEN>
static void GpioInputPar< Base, PUEN >::hw_init ( )
inlinestatic

Initializes the hardware pin.

Definition at line 220 of file ArduinoGpio.hxx.

◆ hw_init() [2/2]

template<class Base , bool PUEN>
static void GpioInputPar< Base, PUEN >::hw_init ( )
inlinestatic

Initializes the hardware pin.

Definition at line 325 of file Esp8266Gpio.hxx.

◆ hw_set_to_safe() [1/2]

template<class Base , bool PUEN>
static void GpioInputPar< Base, PUEN >::hw_set_to_safe ( )
inlinestatic

Sets the hardware pin to a safe state.

Definition at line 233 of file ArduinoGpio.hxx.

◆ hw_set_to_safe() [2/2]

template<class Base , bool PUEN>
static void GpioInputPar< Base, PUEN >::hw_set_to_safe ( )
inlinestatic

Sets the hardware pin to a safe state.

Definition at line 339 of file Esp8266Gpio.hxx.


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