示例#1
0
文件: Kernel.cs 项目: h7ga40/uITron3
 public abstract ER DefineInterruptHandler(uint dintno, ref T_DINT pk_dint);
示例#2
0
文件: Itron.cs 项目: h7ga40/uITron3
        public ER def_int(uint dintno, ref T_DINT pk_dint)
        {
            ER Result = ER.E_NOEXS;

            if (g_Kernel == null)
                return ER.E_DLT;

            g_Kernel.LockCPU();
            try {
                Result = g_Kernel.DefineInterruptHandler(dintno, ref pk_dint);
            }
            finally {
                g_Kernel.UnlockCPU();
            }

            return Result;
        }