Loading…
DD文件所在目录:
DD文件名称: Macros.ddl
DD文件类型: 源码文件

  • /*****************************************************************************
  • *
  • * File: Macros.ddl $
  • *
  • *****************************************************************************
  • * Copyright (c) 2005, HART Communication Foundation, All Rights Reserved
  • *****************************************************************************
  • *
  • * Description: HART Device Description Macro Definitions. This file is
  • * targeted for older HART 5 DDs (ie, DDs that use univ5.ddl)
  • *
  • *****************************************************************************
  • */
  • #define USER_INTERFACE LOCAL
  • #define LOCAL_INTERFACE LOCAL_DISPLAY
  • #define I_NO_COMMAND_SPECIFIC_ERRORS 0
  • #define I_INVALID_SELECTION 2
  • #define I_PARAMETER_TOO_LARGE 3
  • #define I_PARAMETER_TOO_SMALL 4
  • #define I_TOO_FEW_DATA_BYTES 5
  • #define I_TRANSMITTER_SPECIFIC_ERROR 6
  • #define I_IN_WRITE_PROTECT_MODE 7
  • #define I_ACCESS_RESTRICTED 16
  • /*
  • * Strings for the single definition response codes.
  • */
  • #define S_NO_COMMAND_SPECIFIC_ERRORS [no_command_specific_errors]
  • #define S_INVALID_SELECTION [invalid_selection]
  • #define S_PARAMETER_TOO_LARGE [passed_parameter_too_large]
  • #define S_PARAMETER_TOO_SMALL [passed_parameter_too_small]
  • #define S_TOO_FEW_DATA_BYTES [too_few_data_bytes_recieved]
  • #define S_TRANSMITTER_SPECIFIC_ERROR [xmtr_specific_command_error]
  • #define S_IN_WRITE_PROTECT_MODE [in_write_protect_mode]
  • #define S_ACCESS_RESTRICTED [access_restricted]
  • #define PRIMARY 1
  • #define SECONDARY 2
  • #define TERTIARY 3


请登录以获得完整内容