3.9.16 button_response_t Struct

C

typedef struct
{
    bool inputVal;       /* Read value of the button input pin */
    uint16_t state;      /* State of the button */
    uint16_t cnt;        /* Count associated with button events */
} button_response_t;

Summary

Structure representing button response data.

Description

This structure holds data related to button input, including the current input value, state, and count.

Remarks

None.