Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
GpioInputPU< Defs > Struct Template Reference

Defines a GPIO input pin with pull-up. More...

#include <ArduinoGpio.hxx>

Inheritance diagram for GpioInputPU< Defs >:
GpioInputPar< Defs, true > GpioInputPin< Defs, true, false > GpioInputPar< Defs, true > GpioInputPin< Defs, IOCON_MODE_PULLUP > GpioInputPin< Defs, GPIO_PULLUP > GpioInputPin< Defs, GPIO_PIN_TYPE_STD_WPU > GpioShared< Defs > GpioShared< Defs > GpioShared< Defs > GpioShared< Defs >

Additional Inherited Members

- Static Public Member Functions inherited from GpioInputPar< Defs, true >
static void hw_init ()
 Initializes the hardware pin.
 
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_set_to_safe ()
 Sets the hardware pin to a safe state.
 
- Static Public Member Functions inherited from GpioInputPin< Defs, true, false >
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
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_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static bool get ()
 Get the current pin state.
 
static bool get ()
 
static bool get ()
 
static constexpr const Gpioinstance ()
 
static constexpr const Gpioinstance ()
 
static const Gpioinstance ()
 
static bool is_output ()
 
static bool is_output ()
 
static bool is_output ()
 
- Static Public Member Functions inherited from GpioShared< Defs >
static void unlock ()
 Used to unlock special consideration pins such as JTAG or NMI pins.
 
static void lock ()
 Used to lock special consideration pins such as JTAG or NMI pins.
 
static void set (bool value)
 Sets the output pin to a specified value;.
 
static bool get ()
 
static void toggle ()
 Changes the value of an output pin.
 
static constexpr uint32_t ptr_address ()
 
static constexpr const Gpioinstance ()
 
- Static Public Member Functions inherited from GpioInputPin< Defs, IOCON_MODE_PULLUP >
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
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_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static bool get ()
 Get the current pin state.
 
static bool get ()
 
static bool get ()
 
static constexpr const Gpioinstance ()
 
static constexpr const Gpioinstance ()
 
static const Gpioinstance ()
 
static bool is_output ()
 
static bool is_output ()
 
static bool is_output ()
 
- Static Public Member Functions inherited from GpioInputPin< Defs, GPIO_PULLUP >
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
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_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static bool get ()
 Get the current pin state.
 
static bool get ()
 
static bool get ()
 
static constexpr const Gpioinstance ()
 
static constexpr const Gpioinstance ()
 
static const Gpioinstance ()
 
static bool is_output ()
 
static bool is_output ()
 
static bool is_output ()
 
- Static Public Member Functions inherited from GpioInputPin< Defs, GPIO_PIN_TYPE_STD_WPU >
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
static void hw_init ()
 Initializes the hardware pin.
 
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_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static void hw_set_to_safe ()
 Sets the hardware pin to a safe state.
 
static bool get ()
 Get the current pin state.
 
static bool get ()
 
static bool get ()
 
static constexpr const Gpioinstance ()
 
static constexpr const Gpioinstance ()
 
static const Gpioinstance ()
 
static bool is_output ()
 
static bool is_output ()
 
static bool is_output ()
 

Detailed Description

template<class Defs>
struct GpioInputPU< Defs >

Defines a GPIO input pin with pull-up.

GPIO Input pin with weak pull up.

Defines a GPIO input pin with pull-up enabled.

Do not use this class directly. Use GPIO_PIN instead.

Definition at line 249 of file ArduinoGpio.hxx.


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