|
Open Model Railroad Network (OpenMRN)
|
Common class for GPIO input pins. More...
#include <CC3200GPIO.hxx>
Static Public Member Functions | |
| 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 void | set_direction (Gpio::Direction direction) |
| Sets the direction of the I/O pin. | |
| 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 void | set_direction (Gpio::Direction direction) |
| Sets the direction of the I/O pin. | |
| 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 Gpio * | instance () |
Common class for GPIO input pins.
Common class for GPIO input/output pins.
Definition at line 300 of file CC3200GPIO.hxx.
|
inlinestatic |
Definition at line 328 of file CC3200GPIO.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 307 of file CC3200GPIO.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 395 of file TivaGPIO.hxx.
|
inlinestatic |
Sets the output pin to a safe value.
Definition at line 313 of file CC3200GPIO.hxx.
|
inlinestatic |
Sets the hardware pin to a safe state.
Definition at line 403 of file TivaGPIO.hxx.
|
inlinestaticconstexpr |
Definition at line 341 of file CC3200GPIO.hxx.
|
inlinestatic |
Definition at line 356 of file CC3200GPIO.hxx.
|
inlinestatic |
Definition at line 416 of file TivaGPIO.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 319 of file CC3200GPIO.hxx.
|
inlinestatic |
Sets the direction of the I/O pin.
| direction | direction to set pin to |
Definition at line 348 of file CC3200GPIO.hxx.
|
inlinestatic |
Sets the direction of the I/O pin.
| direction | direction to set pin to |
Definition at line 409 of file TivaGPIO.hxx.
|
inlinestatic |
Changes the value of an output pin.
Definition at line 335 of file CC3200GPIO.hxx.