z85230err.h

来自「Curtiss-Wright Controls Embedded Computi」· C头文件 代码 · 共 53 行

H
53
字号
/* z85230Err.h - header file for z85230Err module *//* Copyright 2000-2003 Dy 4 Systems, Inc. *//*modification history-------------------- 01b 22sep03,aak  use generic error codes */#ifndef Z85230ERR_H#define Z85230ERR_H#ifdef __cplusplusextern "C" {#endif/* Generic Dy 4 SIO include file */#include "drv/sio/sioDy4Drv.h"/* The error codes below are defined  * to maintain backward compatibility. * They should not be used in new designs. * See generic Dy 4 SIO include file sioDy4Drv.h  */#define Z85230_OK                        (SIO_DY4_OK)#define Z85230_ERR                       (SIO_DY4_ERR)#define Z85230_ERR_OUT_OF_MEM            (SIO_DY4_ERR_OUT_OF_MEM)#define Z85230_ERR_INVALID_PARAM         (SIO_DY4_ERR_INVALID_PARAM)#define Z85230_ERR_CHAN_OPEN             (SIO_DY4_ERR_CHAN_OPEN)#define Z85230_ERR_CHAN_CLOSED           (SIO_DY4_ERR_CHAN_CLOSED)#define Z85230_ERR_RX_BUF_OVERFLOW       (SIO_DY4_ERR_RX_BUF_OVERFLOW)#define Z85230_ERR_TX_BUF_UNDERFLOW      (SIO_DY4_ERR_TX_BUF_UNDERFLOW)#define Z85230_ERR_RX_OVERFLOW           (SIO_DY4_ERR_RX_OVERFLOW)#define Z85230_ERR_TX_UNDERFLOW          (SIO_DY4_ERR_TX_UNDERFLOW)#define Z85230_ERR_INVALID_COMMAND       (SIO_DY4_ERR_INVALID_COMMAND)#define Z85230_ERR_RX_FRAME_OVERFLOW     (SIO_DY4_ERR_RX_FRAME_OVERFLOW)#define Z85230_ERR_BAD_CRC               (SIO_DY4_ERR_BAD_CRC)#define Z85230_ERR_TIMEOUT               (SIO_DY4_ERR_TIMEOUT)#define Z85230_ERR_PARITY                (SIO_DY4_ERR_PARITY)#define Z85230_ERR_EIO                   (SIO_DY4_ERR_EIO)#define Z85230_ERR_ENOSYS                (SIO_DY4_ERR_ENOSYS)#define Z85230_ERR_NOT_IMPLEMENTED       (SIO_DY4_ERR_NOT_IMPLEMENTED)#define Z85230_ERR_OPEN_FAILED           (SIO_DY4_ERR_OPEN_FAILED)#ifdef __cplusplus}#endif#endif /* Z85230ERR_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?