|
Open Model Railroad Network (OpenMRN)
|
Parametric GPIO output 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 value. | |
| static void | set (bool value) |
| Sets the output pinm. | |
| static void | hw_init () |
| Initializes the hardware pin. | |
| static void | hw_set_to_safe () |
| Sets the hardware pin to a safe value. | |
| static void | toggle () |
| Toggles the state of the pin to the opposite of what it is currently. | |
| static void | set (bool value) |
| Sets the output pin. | |
| 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 value. | |
| static void | set (bool value) |
| Sets the output pinm. | |
| static void | hw_init () |
| Initializes the hardware pin. | |
| static void | hw_set_to_safe () |
| Sets the output pin to a safe value. | |
| static void | hw_init () |
| Initializes the hardware pin. | |
| static void | hw_set_to_safe () |
| Sets the output pin to a safe value. | |
| static void | hw_init () |
| Initializes the hardware pin. | |
| static void | hw_set_to_safe () |
| Sets the output pin to a safe value. | |
| static void | set (bool value) |
| Sets the output pin to a defined value. | |
| static bool | get () |
| static void | toggle () |
| Changes the value of an output pin. | |
| static constexpr const Gpio * | instance () |
| 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 value. | |
| 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 value. | |
| static void | set (bool value) |
| Sets the output pinm. | |
| static constexpr const Gpio * | instance () |
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 output class.
Generic output pin.
Defines a GPIO output pin.
GPIO output pin base class for NXP LPC microcontrollers.
| Defs | is the GPIO pin's definition base class, supplied by the GPIO_PIN macro. |
| SAFE_VALUE | is the initial value for the GPIO output pin. |
| INVERT | inverts the high/low state of the pin when set. |
Writes to this structure will change the output level of the pin. Reads will return the pin's current level.
The pin is set to output at initialization time, with the level defined by ‘SAFE_VALUE’.
Do not use this class directly. Use GPIO_PIN instead.
Definition at line 148 of file ArduinoGpio.hxx.
|
inlinestatic |
Definition at line 197 of file CC3200GPIO.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 152 of file ArduinoGpio.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 224 of file Esp32Gpio.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 216 of file Esp8266Gpio.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 112 of file Lpc17xx40xxGPIO.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 121 of file Stm32Gpio.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 175 of file CC3200GPIO.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 225 of file TivaGPIO.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 193 of file LinuxGpio.hxx.
|
inlinestatic |
Sets the hardware pin to a safe value.
Definition at line 159 of file ArduinoGpio.hxx.
|
inlinestatic |
Sets the hardware pin to a safe value.
Definition at line 241 of file Esp32Gpio.hxx.
|
inlinestatic |
Sets the hardware pin to a safe value.
Definition at line 224 of file Esp8266Gpio.hxx.
|
inlinestatic |
Sets the output pin to a safe value.
Definition at line 121 of file Lpc17xx40xxGPIO.hxx.
|
inlinestatic |
Sets the output pin to a safe value.
Definition at line 132 of file Stm32Gpio.hxx.
|
inlinestatic |
Sets the output pin to a safe value.
Definition at line 182 of file CC3200GPIO.hxx.
|
inlinestatic |
Sets the hardware pin to a safe value.
Definition at line 232 of file TivaGPIO.hxx.
|
inlinestatic |
Sets the hardware pin to a safe value.
Definition at line 200 of file LinuxGpio.hxx.
|
inlinestaticconstexpr |
Definition at line 260 of file Esp32Gpio.hxx.
|
inlinestaticconstexpr |
Definition at line 210 of file CC3200GPIO.hxx.
|
inlinestaticconstexpr |
Definition at line 218 of file LinuxGpio.hxx.
|
inlinestatic |
Definition at line 216 of file CC3200GPIO.hxx.
|
inlinestatic |
Definition at line 238 of file TivaGPIO.hxx.
|
inlinestatic |
Sets the output pinm.
| value | if true, output is set to HIGH, if false, output is set to LOW. |
Definition at line 165 of file ArduinoGpio.hxx.
|
inlinestatic |
Sets the output pin.
| value | if true, output is set to HIGH, if false, output is set to LOW. |
Definition at line 254 of file Esp32Gpio.hxx.
|
inlinestatic |
Sets the output pinm.
| value | if true, output is set to HIGH, if false, output is set to LOW. |
Definition at line 230 of file Esp8266Gpio.hxx.
|
inlinestatic |
Sets the output pin to a defined value.
| value | if true, output will be set to HIGH, otherwise to LOW. |
See note at the top of the file about barriers.
Definition at line 188 of file CC3200GPIO.hxx.
|
inlinestatic |
Sets the output pinm.
| value | if true, output is set to HIGH, if false, output is set to LOW. |
Definition at line 206 of file LinuxGpio.hxx.
|
inlinestatic |
Toggles the state of the pin to the opposite of what it is currently.
Definition at line 247 of file Esp32Gpio.hxx.
|
inlinestatic |
Changes the value of an output pin.
Definition at line 204 of file CC3200GPIO.hxx.