代码搜索结果
找到约 10,000 项符合
C 的代码
i2cdev.h
/****************************************Copyright (c)****************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
zlg7290.txt
ZLG7290的IIC驱动C语言程序
ZLG7290的IIC驱动C语言程序
作者:未知 AVR单片机来源:网络 点击数: 1336 更新时间:2007-10-1
//#####################---文件信息-----############################
//文 件 名
twi.s
.module twi.c
.area text(rom, con, rel)
.dbfile E:\avr\twi\twi_master_test\twi.c
.dbfunc e twi_master_init _twi_master_init fV
.even
_twi_master_init::
.dbline -1
.dbline 10
; // 作者:古欣
i2c.h
#ifndef _I2C_H
#define _I2C_H
#define FLAG_DIRECTION_INPUT 0
#define FLAG_DIRECTION_OUTPUT 1
//模拟I2C总线的管脚定义
#define I2C_SCL PTAD_PTAD3 //定义I2C总线时钟信号
#define I2C_SDA PTAD_PTAD2 //定
soft_hard_determinant.m
% 硬判决和软判决方法的比较
% 软判定 直接用输出而不进行量化
% 硬判定 对每个输入电平做最佳判定
% C= 1-H(Q(A/\sigma))
%
echo on
a_db=[-13:0.5:13];
a=10.^(a_db/10);
c_hard=1-entropy2(q(a));
for i=1:53
f(i)=quad('keep_fun',a(i)-5,
pt2313.c
#include //包含公共头文件
#include
#include
#include "itm704io.h"
#include "i2c.h"
#include "type.h"
#include "utility.h"
#include "pt2313.h"
extern
nglgz.m
% 本程序是为数据挖掘作业而写
% 其中sup表示最小支持度
% <mark>c</mark>onf表示最小置信度
% Shw是事务矩阵,行表示一个事务,列表示项目,若某一事务没有某项,
% 则该项用0来表示。每一个项目要用数字来表示,如:[1 2 0 4 0 6]这个事务中没有项目3 和5 .
% 本程序作者:realghost,联系方式:slqinyi@gliet.edu.<mark>c</mark>n或QQ 14564470
% ...
sngks32csio.c
/* sngks32cSio.c - Samsung S3C44B0X serial driver */
/* Copyright 1984-2001 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/*
modification history
--------------------
01o,27jul04,
posixunix.scm
;;;; posixunix.scm - Miscellaneous file- and process-handling routines
;
; Copyright (c) 2000-2007, Felix L. Winkelmann
; Copyright (c) 2008, The Chicken Team
; All rights reserved.
;
; Redistribution
gatescon.vhd
library IEEE;
use IEEE.std_logic_1164.all;
entity FEWGATES is port (
a,b,c,d: in std_logic;
y: out std_logic
);
end FEWGATES;
architecture concurrent of FEWGATES is
signal a_and_