次の方法で共有


OAL_KITL_ARGS (Compact 2013)

10/16/2014

This structure is used to pass parameters to the OALKitlInit function. When another KITL transport protocol is added, this structure can change by adding a new structure in union.

Syntax

typedef struct {
  UINT32 flags;
  DEVICE_LOCATION devLoc;
  union {
    struct {
      UINT32 baudRate;
      UINT32 dataBits;
      UINT32 stopBits;
      UINT32 parity;
    };
    struct {
      UINT16 mac[3];
      UINT32 ipAddress;
      UINT32 ipMask;
      UINT32 ipRoute;
    };
  };
} OAL_KITL_ARGS;

Members

  • flags
    Flags for the structure. Valid constants are defined in the OAL_KITL_FLAGS enumeration.
  • devLoc
    KITL device location.
  • baudRate
    Defines the baud rate for KITL serial communications.
  • dataBits
    Data bits for KITL serial communications.
  • stopBits
    Stop bits for KITL serial communications.
  • parity
    Parity bit setting that is used for error checking for KITL serial communications.
  • mac
    MAC address used for KITL Ethernet communications.
  • ipAddress
    IP address used for KITL Ethernet communications.
  • ipMask
    Subnet mask used for KITL Ethernet communications.
  • ipRoute
    IP address of the gateway used for KITL Ethernet communications.

Requirements

Header

oal_kitl.h

Library

Developer Implemented

See Also

Reference

KITL Structures for Production-Quality OAL