代码搜索结果
找到约 10,000 项符合
Driver 的代码
driver.cpp
/************************************************************************
* 文件名称:Driver.cpp
* 作 者:张帆
* 完成日期:2007-11-1
**************************
driver.m
clear all
x0 = [1.5; 2];
tolf = 1.e-10;
tolx = 1.e-10;
maxit = 100;
% Newton's metjod
[x, ithist, iflag] = newtnd( 'ex1', x0, tolf, tolx, maxit );
fprintf('\n Newton''s Metho
driver.m
%
%
% error function
%f = inline('exp(-x.^2)*2/sqrt(pi)', 'x');
%a = 0; b = 2;
%integ_ex = erf(b);
% bessel function
%f = inline('cos( 8*sin(x) - x )/pi', 'x');
%a = 0; b = pi;
%integ_ex = bessel(1,
driver.java
package id3;
import shared.*;
/* Driver class, used to create,initialize,run inducers */
/** Basic Driver class used to interface the ID3Inducer.
* @author James Louis Created implementation.
driver.h
//////////////////////////////////////////////////////////////////////////
// SSDTDump by 李马
// http://www.titilima.cn
//////////////////////////////////////////////////////////////////////////
driver.cpp
//////////////////////////////////////////////////////////////////////////
// SSDTDump by 李马
// http://www.titilima.cn
//////////////////////////////////////////////////////////////////////////
driver.h
#define SDA 0x00000008
#define SCL 0x00000004
#define RESP 0x00000010 //写保护
uint8 Testwritep(void);
driver.c
#include "config.h"
#include "../include/cfg_net.h"
uint8 Testwritep(void) //检测写保护
{
uint32 i;
i=~RESP;
IO0DIR&=i; //RESP为输入
if(IO0PIN