Zephyr C++ Toolkit
Loading...
Searching...
No Matches
zct::GpioCallbackDataAndObject Struct Reference

#include <GpioReal.hpp>

Collaboration diagram for zct::GpioCallbackDataAndObject:

Public Attributes

GpioRealm_obj
 
struct gpio_callback m_gpioCallbackData
 

Detailed Description

This exists so that we don't get the compiler warning: warning: 'offsetof' within non-standard-layout type 'MyClass' is conditionally-supported [-Winvalid-offsetof]

This makes sure the containing object for the gpio_callback has a standard layout.

Member Data Documentation

◆ m_gpioCallbackData

struct gpio_callback zct::GpioCallbackDataAndObject::m_gpioCallbackData

◆ m_obj

GpioReal* zct::GpioCallbackDataAndObject::m_obj

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