|
libeasymcp2221 2.0.3
|
Change information for one GP pin. More...
#include <mcp2221_gpio_poll.h>
Public Attributes | |
| int | old_value |
| Previous sampled state. More... | |
| int | new_value |
| Current sampled state. More... | |
| int | changed |
| Nonzero when old_value and new_value differ. More... | |
Change information for one GP pin.
Definition at line 19 of file mcp2221_gpio_poll.h.
| int mcp2221_gpio_change_t::changed |
Nonzero when old_value and new_value differ.
Definition at line 37 of file mcp2221_gpio_poll.h.
| int mcp2221_gpio_change_t::new_value |
Current sampled state.
A value of -1 means the pin is not configured as GPIO; otherwise the value is 0 or 1.
Definition at line 34 of file mcp2221_gpio_poll.h.
| int mcp2221_gpio_change_t::old_value |
Previous sampled state.
A value of -1 means the pin was not configured as GPIO; otherwise the value is 0 or 1.
Definition at line 26 of file mcp2221_gpio_poll.h.