代码搜索结果
找到约 10,000 项符合
Control 的代码
control.cpp
// Control.cpp -- IOCTL handlers for PCIConf driver
// Copyright (C) 1999 by Walter Oney
// All rights reserved
#include "stddcls.h"
#include "driver.h"
#include "ioctls.h"
/////////////////
control.c
#include
#include
#include
#include
#include
#define MYC_STATIC "MYSTATIC1"
#define IDC_STATIC1 1000
HW
control.m
function y=control(n)
a=20;
if n==0
y=a+1;
elseif n==1
y=a*(1+n);
elseif n==2
y=a+n;
else
y=a;
end
control.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity control is
port(fad,fda,channal:in std_logic; --channal为0,选择通道1;为1,选择通道2
add1,add2:out std_log
control.h
/* A simple rate-monotonic scheduler */
/* Header file */
#define EXEC 1
#define SUSP 2
#define DEBUG_FIFO 5
#define RTIME long long
typedef struct {
int state;
int id;
RT