PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
profinet::dcp::DeviceInitiative Struct Reference

Device-initiative (Hello-after-power-on) setting values. More...

#include <dcp.h>

+ Collaboration diagram for profinet::dcp::DeviceInitiative:

Static Public Member Functions

static std::string GetName (std::uint16_t value)
 Get the human-readable name for a device-initiative value.
 

Static Public Attributes

static constexpr std::uint16_t NO_HELLO = 0x0000
 Device does not send DCP-Hello after power-on.
 
static constexpr std::uint16_t ISSUE_HELLO = 0x0001
 Device sends DCP-Hello after power-on.
 

Detailed Description

Device-initiative (Hello-after-power-on) setting values.

Definition at line 318 of file dcp.h.

Member Function Documentation

◆ GetName()

std::string profinet::dcp::DeviceInitiative::GetName ( std::uint16_t  value)
static

Get the human-readable name for a device-initiative value.

Parameters
valueRaw device-initiative value.
Returns
A description of the setting.

Definition at line 394 of file dcp.cpp.

References profinet::Hex4().

+ Here is the call graph for this function:

Member Data Documentation

◆ ISSUE_HELLO

constexpr std::uint16_t profinet::dcp::DeviceInitiative::ISSUE_HELLO = 0x0001
staticconstexpr

Device sends DCP-Hello after power-on.

Definition at line 325 of file dcp.h.

◆ NO_HELLO

constexpr std::uint16_t profinet::dcp::DeviceInitiative::NO_HELLO = 0x0000
staticconstexpr

Device does not send DCP-Hello after power-on.

Definition at line 322 of file dcp.h.


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