类 Structures.SlavePdoConfig

java.lang.Object
com.sun.jna.Structure
com.darra.ethercat.data.Structures.SlavePdoConfig
封闭类:
Structures

@FieldOrder({"assignmentEnabled","configurationEnabled","configInitialized","supportsCompleteAccess"}) public static class Structures.SlavePdoConfig extends com.sun.jna.Structure
Slave PDO 配置子结构 - 对应 C 端 slave_pdo_config_t 原平面字段 pdo_assignment_enabled / pdo_configuration_enabled / pdo_config_initialized / supports_complete_access 收敛为 sub-struct. 嵌入到 EcSlave 中段 (mbxstatus 之后, 跟 metadata 相邻), 自然对齐, 4 字节.
  • 嵌套类概要

    从类继承的嵌套类/接口 com.sun.jna.Structure

    com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    byte
    是否写入 PDO Assignment 0x1C12/0x1C13 (pdo_assignment_enabled)
    byte
    PDO 配置是否已从 ESI 初始化 (pdo_config_initialized)
    byte
    是否写入 PDO Configuration (pdo_configuration_enabled)
    byte
    是否支持 Complete Access (supports_complete_access)

    从类继承的字段 com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • 构造器概要

    构造器
    构造器
    说明
     
    SlavePdoConfig(com.sun.jna.Pointer p)
     
  • 方法概要

    从类继承的方法 com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • assignmentEnabled

      public byte assignmentEnabled
      是否写入 PDO Assignment 0x1C12/0x1C13 (pdo_assignment_enabled)
    • configurationEnabled

      public byte configurationEnabled
      是否写入 PDO Configuration (pdo_configuration_enabled)
    • configInitialized

      public byte configInitialized
      PDO 配置是否已从 ESI 初始化 (pdo_config_initialized)
    • supportsCompleteAccess

      public byte supportsCompleteAccess
      是否支持 Complete Access (supports_complete_access)
  • 构造器详细资料

    • SlavePdoConfig

      public SlavePdoConfig()
    • SlavePdoConfig

      public SlavePdoConfig(com.sun.jna.Pointer p)