Loading…
Loading…
DD File path:
DD File name: Methods.h
DD File type: Header file
- /*****************************************************************************
- *
- * File: Methods.h
- * Version: 4.1.0
- * Date: 04/24/10
- *
- *****************************************************************************
- * Copyright (c) 2010, HART Communication Foundation, All Rights Reserved
- *****************************************************************************
- *
- * Description: This is the include file required when writing a method. It
- * contains the return codes for the standard libray functions
- * and a variety of macros often needed when writing methods.
- *
- *****************************************************************************
- */
- #ifndef _METHODS_H
- #define _METHODS_H
- #define BI_SUCCESS 0 /* task succeeded in intended task */
- #define BI_ERROR -1 /* error occured in task */
- #define BI_ABORT -2 /* user aborted task */
- #define BI_NO_DEVICE -3 /* no device found on comm request */
- #define BI_COMM_ERR -4 /* communications error */
- #define BI_CONTINUE -5 /* continue */
- #define BI_RETRY -6 /* retry */
- #define BI_PORT_IN_USE -7 /* block transfer port */
- #undef N_BI_CODES
- #define N_BI_CODES 8
- #define ALLBITS 0xFF /* sets all bits in the byte */
Please login for more