DUDS
Distributed Update of Data from Something
duds::hardware::interface::DigitalPinAccessBase::PortData Union Reference

A type for holding arbitrary port-specific data within a DigitalPinAccess or DigitalPinSetAccess object. More...

#include <DigitalPinAccessBase.hpp>

Public Member Functions

 PortData ()
 Default contructor ensures a null pointer. More...
 

Public Attributes

std::int16_t int16 [2]
 Two integers available for use by DigitalPort implementations to manage additional implementation specific data associated with a DigitalPinAccess or DigitalPinSetAccess object. More...
 
std::intptr_t integer
 An integer available for use by DigitalPort implementations to manage additional implementation specific data associated with a DigitalPinAccess or DigitalPinSetAccess object. More...
 
void * pointer
 A pointer available for use by DigitalPort implementations to manage additional implementation specific data associated with a DigitalPinAccess or DigitalPinSetAccess object. More...
 

Detailed Description

A type for holding arbitrary port-specific data within a DigitalPinAccess or DigitalPinSetAccess object.

Definition at line 33 of file DigitalPinAccessBase.hpp.

Constructor & Destructor Documentation

◆ PortData()

duds::hardware::interface::DigitalPinAccessBase::PortData::PortData ( )
inline

Default contructor ensures a null pointer.

Definition at line 55 of file DigitalPinAccessBase.hpp.

Member Data Documentation

◆ int16

std::int16_t duds::hardware::interface::DigitalPinAccessBase::PortData::int16[2]

Two integers available for use by DigitalPort implementations to manage additional implementation specific data associated with a DigitalPinAccess or DigitalPinSetAccess object.

Definition at line 51 of file DigitalPinAccessBase.hpp.

◆ integer

std::intptr_t duds::hardware::interface::DigitalPinAccessBase::PortData::integer

An integer available for use by DigitalPort implementations to manage additional implementation specific data associated with a DigitalPinAccess or DigitalPinSetAccess object.

Definition at line 45 of file DigitalPinAccessBase.hpp.

◆ pointer

void* duds::hardware::interface::DigitalPinAccessBase::PortData::pointer

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