初稿。
不可执行。
完成稿链接
状态转移图
HB
#define SRC_STRM 0
#define ACK_STRM 1
#define OUT_STRM 0
#define CH_BUSY_STAT 0
#define ROB_INIT 0
#define DATA_INIT 1
#define TIMEOUT_INIT 2
#define FREE (op_stat_local_read (CH_BUSY_STAT) == 0.0)
#define QUEUE_EMPTY (op_q_empty ())
#define INTRPT_SRC ((op_intrpt_type() == OPC_INTRPT_STRM) && (op_intrpt_strm() == SRC_STRM))
#define INTRPT_STAT (op_intrpt_typ