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

Reset qualifier values for ResetToFactory(). More...

#include <dcp.h>

+ Collaboration diagram for profinet::dcp::ResetQualifier:

Static Public Member Functions

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

Static Public Attributes

static constexpr std::uint16_t RESET_APPLICATION_DATA = 0x0002
 Reset application data.
 
static constexpr std::uint16_t RESET_COMMUNICATION_PARAM = 0x0004
 Reset communication parameters.
 
static constexpr std::uint16_t RESET_ENGINEERING_PARAM = 0x0006
 Reset engineering parameters.
 
static constexpr std::uint16_t RESET_ALL_STORED_DATA = 0x0008
 Reset all stored data.
 
static constexpr std::uint16_t RESET_TO_FACTORY = 0x0010
 Reset to factory defaults.
 
static constexpr std::uint16_t RESET_AND_RESTORE = 0x0012
 Reset and restore from backup.
 

Detailed Description

Reset qualifier values for ResetToFactory().

Definition at line 290 of file dcp.h.

Member Function Documentation

◆ GetName()

std::string profinet::dcp::ResetQualifier::GetName ( std::uint16_t  qualifier)
static

Get the human-readable name for a reset qualifier value.

Parameters
qualifierRaw qualifier value.
Returns
A description such as "Reset to factory values".

Definition at line 364 of file dcp.cpp.

References profinet::Hex4().

+ Here is the call graph for this function:

Member Data Documentation

◆ RESET_ALL_STORED_DATA

constexpr std::uint16_t profinet::dcp::ResetQualifier::RESET_ALL_STORED_DATA = 0x0008
staticconstexpr

Reset all stored data.

Definition at line 303 of file dcp.h.

◆ RESET_AND_RESTORE

constexpr std::uint16_t profinet::dcp::ResetQualifier::RESET_AND_RESTORE = 0x0012
staticconstexpr

Reset and restore from backup.

Definition at line 309 of file dcp.h.

◆ RESET_APPLICATION_DATA

constexpr std::uint16_t profinet::dcp::ResetQualifier::RESET_APPLICATION_DATA = 0x0002
staticconstexpr

Reset application data.

Definition at line 294 of file dcp.h.

◆ RESET_COMMUNICATION_PARAM

constexpr std::uint16_t profinet::dcp::ResetQualifier::RESET_COMMUNICATION_PARAM = 0x0004
staticconstexpr

Reset communication parameters.

Definition at line 297 of file dcp.h.

◆ RESET_ENGINEERING_PARAM

constexpr std::uint16_t profinet::dcp::ResetQualifier::RESET_ENGINEERING_PARAM = 0x0006
staticconstexpr

Reset engineering parameters.

Definition at line 300 of file dcp.h.

◆ RESET_TO_FACTORY

constexpr std::uint16_t profinet::dcp::ResetQualifier::RESET_TO_FACTORY = 0x0010
staticconstexpr

Reset to factory defaults.

Definition at line 306 of file dcp.h.


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