代码搜索:虚拟校园
找到约 4,013 项符合「虚拟校园」的源代码
代码结果 4,013
www.eeworm.com/read/452964/7428584
txt 例4.7.txt
例4.7 将例4.6程序改为通过函数模板来实现。
#include
using namespace std;
template //模板声明,其中T为类型参数
T max(T a,T b,T c) //定义一个通用函数,用T作虚拟的类型名
{if(b>a) a=b;
if(c>a) a=c;
retur
www.eeworm.com/read/140274/13091638
h mmu.h
#include "s3c2410.h"
/*以下为虚拟地址*/
#define MMU_TABLE_BASE SDRAM_BASE
#define PROCESS0_BASE SDRAM_BASE+0x4000
#define VECTORS_BASE 0xffff0000
#define VECTORS_PHY_BASE SDRAM_BASE+SDRAM_SIZE-0x100000
www.eeworm.com/read/493908/6384502
txt 例4.7.txt
例4.7 将例4.6程序改为通过函数模板来实现。
#include
using namespace std;
template //模板声明,其中T为类型参数
T max(T a,T b,T c) //定义一个通用函数,用T作虚拟的类型名
{if(b>a) a=b;
if(c>a) a=c;
retur
www.eeworm.com/read/264994/11287650
txt 说明.txt
模拟比较器范例,本程序由AVR与虚拟仪器网站提供。
www.avrvi.com
bbs.avrvi.com
讨论地址:http://www.avrvi.com/bbs/read.php?fid=30&tid=1569&toread=1
程序编写和整理: 古欣 2007-3-15
www.eeworm.com/read/264994/11287760
h delay.h
// 作者:古欣
// AVR与虚拟仪器 http://www.avrvi.com
#ifndef _delay_H__
#define _delay_H__
//晶振大小,保证延时的准确性
#define xtal 8
//#define xtal 4
//1us
extern void delay_1us(void);
//1ms
extern void delay
www.eeworm.com/read/264994/11287816
h twi.h
// 作者:古欣
// AVR与虚拟仪器 http://www.avrvi.com
// TWI.H
#ifndef __TWI_H__
#define __TWI_H__
#ifndef F_CPU
#define F_CPU 7372800 //晶振,注意有可能CONFIG.H里面已经定义的情况
#endif
#define TWI_MOD 0
#de
www.eeworm.com/read/264994/11288423
_c main._c
//ICC-AVR application builder : 2007-6-9 0:33:58
// Target : M16
// Crystal: 1.0000Mhz
// 用途:演示定时器的工作原理
// 作者:古欣
// AVR与虚拟仪器 http://www.avrvi.com
#include
#include
void
www.eeworm.com/read/264994/11288427
c main.c
//ICC-AVR application builder : 2007-6-9 0:33:58
// Target : M16
// Crystal: 1.0000Mhz
// 用途:演示定时器的工作原理
// 作者:古欣
// AVR与虚拟仪器 http://www.avrvi.com
#include
#include
void
www.eeworm.com/read/155903/11839429
txt 例4.7.txt
例4.7 将例4.6程序改为通过函数模板来实现。
#include
using namespace std;
template //模板声明,其中T为类型参数
T max(T a,T b,T c) //定义一个通用函数,用T作虚拟的类型名
{if(b>a) a=b;
if(c>a) a=c;
retur
www.eeworm.com/read/152659/12094880
h mmu.h
#include "s3c2410.h"
/*以下为虚拟地址*/
#define MMU_TABLE_BASE SDRAM_BASE
#define PROCESS0_BASE SDRAM_BASE+0x4000
#define VECTORS_BASE 0xffff0000
#define VECTORS_PHY_BASE SDRAM_BASE+SDRAM_SIZE-0x100000