Logo Pico-Framework A web-first embedded framework for C++
Loading...
Searching...
No Matches
GpioEvent Struct Reference

Structure representing a GPIO event. More...

#include <GpioEvent.h>

+ Collaboration diagram for GpioEvent:

Public Attributes

uint16_t pin
 
uint16_t edge
 

Detailed Description

It is used to encapsulate information about a GPIO pin and the type of edge event (rising or falling). It is condensed to 4 bytes so that it can be easily passed by value.

Definition at line 11 of file GpioEvent.h.

Member Data Documentation

◆ edge

uint16_t GpioEvent::edge

Definition at line 13 of file GpioEvent.h.

Referenced by App::onEvent().

◆ pin

uint16_t GpioEvent::pin

Definition at line 12 of file GpioEvent.h.

Referenced by App::onEvent().


The documentation for this struct was generated from the following file: