|
M5UnitUnified 0.6.3 git rev:e38fc73
|
Save and restore GPIO pin configuration. More...
#include <pin.hpp>
Public Member Functions | |
| pin_backup_t (int pin_num=1) | |
| Constructor. | |
| void | setPin (int pin_num) |
| Set the target pin number. | |
| int8_t | getPin (void) const |
| Get the target pin number. | |
| int16_t | getInFuncNum (void) const |
| Get the peripheral input signal routed from this pin at backup(), or -1 if none. | |
| void | backup (void) |
| Save current pin configuration. | |
| void | restore (void) |
| Restore saved pin configuration. | |
Save and restore GPIO pin configuration.