|
libeasymcp2221 2.0.3
|
One GPIO edge event produced by mcp2221_gpio_poll_events(). More...
#include <mcp2221_gpio_poll.h>
Public Attributes | |
| char | id [12] |
| Null-terminated event identifier. More... | |
| uint8_t | gpio |
| GP pin number from 0 through 3. More... | |
| mcp2221_gpio_event_type_t | type |
| Detected edge type. More... | |
| double | time |
| Wall-clock time of the current poll, in seconds. More... | |
| double | last_time |
| Wall-clock time of the previous successful GPIO poll. More... | |
One GPIO edge event produced by mcp2221_gpio_poll_events().
Definition at line 88 of file mcp2221_gpio_poll.h.
| uint8_t mcp2221_gpio_event_t::gpio |
GP pin number from 0 through 3.
Definition at line 98 of file mcp2221_gpio_poll.h.
| char mcp2221_gpio_event_t::id[12] |
Null-terminated event identifier.
The current implementation formats identifiers as "GPIOx_RISE" or "GPIOx_FALL".
Definition at line 95 of file mcp2221_gpio_poll.h.
| double mcp2221_gpio_event_t::last_time |
Wall-clock time of the previous successful GPIO poll.
Definition at line 107 of file mcp2221_gpio_poll.h.
| double mcp2221_gpio_event_t::time |
Wall-clock time of the current poll, in seconds.
Definition at line 104 of file mcp2221_gpio_poll.h.
| mcp2221_gpio_event_type_t mcp2221_gpio_event_t::type |
Detected edge type.
Definition at line 101 of file mcp2221_gpio_poll.h.