|
Open Model Railroad Network (OpenMRN)
|
Parametric GPIO input class. More...
#include <Esp32Gpio.hxx>
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 bool | get () |
| Get the current pin state. | |
| static constexpr const Gpio * | instance () |
| 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. | |
| static bool | is_output () |
| static void | hw_init () |
| Initializes the hardware pin. | |
| static void | hw_set_to_safe () |
| Sets the hardware pin to a safe state. | |
| static bool | get () |
| static bool | is_output () |
| static constexpr const Gpio * | instance () |
| static void | hw_init () |
| Initializes the hardware pin. | |
| static void | hw_set_to_safe () |
| Sets the hardware pin to a safe state. | |
| static bool | is_output () |
| static void | hw_init () |
| Initializes the hardware pin. | |
| static void | hw_set_to_safe () |
| Sets the hardware pin to a safe state. | |
| static const Gpio * | instance () |
| static bool | get () |
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 Gpio * | instance () |
Parametric GPIO input class.
Generic input pin.
Common class for GPIO input pins.
| Defs | is the GPIO pin's definition base class, supplied by the GPIO_PIN macro. |
| PUEN | is true if the pull-up should be enabled. |
| PDEN | is true if the pull-down should be enabled. |
Definition at line 259 of file LinuxGpio.hxx.
|
inlinestatic |
Get the current pin state.
Definition at line 370 of file Esp32Gpio.hxx.
|
inlinestatic |
Definition at line 281 of file CC3200GPIO.hxx.
|
inlinestatic |
Definition at line 278 of file LinuxGpio.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 341 of file Esp32Gpio.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 159 of file Lpc17xx40xxGPIO.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 169 of file Stm32Gpio.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 270 of file CC3200GPIO.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 345 of file TivaGPIO.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 263 of file LinuxGpio.hxx.
|
inlinestatic |
Sets the hardware pin to a safe state.
Definition at line 363 of file Esp32Gpio.hxx.
|
inlinestatic |
Sets the hardware pin to a safe state.
Definition at line 166 of file Lpc17xx40xxGPIO.hxx.
|
inlinestatic |
Sets the hardware pin to a safe state.
Definition at line 179 of file Stm32Gpio.hxx.
|
inlinestatic |
Sets the hardware pin to a safe state.
Definition at line 276 of file CC3200GPIO.hxx.
|
inlinestatic |
Sets the hardware pin to a safe state.
Definition at line 352 of file TivaGPIO.hxx.
|
inlinestatic |
Sets the hardware pin to a safe state.
Definition at line 269 of file LinuxGpio.hxx.
|
inlinestaticconstexpr |
Definition at line 376 of file Esp32Gpio.hxx.
|
inlinestaticconstexpr |
Definition at line 293 of file CC3200GPIO.hxx.
|
inlinestatic |
Definition at line 274 of file LinuxGpio.hxx.
|
inlinestatic |
Definition at line 184 of file Stm32Gpio.hxx.
|
inlinestatic |
Definition at line 288 of file CC3200GPIO.hxx.
|
inlinestatic |
Definition at line 357 of file TivaGPIO.hxx.