代码搜索结果

找到约 10,000 项符合 Switch 的代码

amend1.0.c

//ICC-AVR application builder : 2008-11-29 // Target : M16 // Crystal: 1.0000Mhz /***************************Copyright(c)**************************** *****************************File Info********

amend1.0.c

//ICC-AVR application builder : 2008-11-29 // Target : M16 // Crystal: 1.0000Mhz /***************************Copyright(c)**************************** *****************************File Info********

main.c

/* 简单的多任务操作系统 其实只有个任务调度切换,把说它是OS有点牵强,但它对于一些简单的开发应用来说,简单也许就是最好的.尽情的扩展它吧.别忘了把你的成果分享给大家. 这是一个最简单的OS,一切以运行效率为重,经测试,在标准51(工作于12M晶振)上,切换一次任务仅20个机器周期,也就是20uS. 而为速度作出的牺牲是,为了给每个任务都分配一个私有堆栈,而占用了较多的内存. ...

main.c

#include #include #include "operate_Lqueue.h" main() { int scan_switch,scan_max; Queue_p *Strat; L_queue *s_queue; s_queue=(L_queue *)malloc(sizeof(L_queue)); s_qu

main.c

#include #include "operate_queue.h" main() { int scan_switch, scan_max; Queue q_one, *q_p; q_p=&q_one; while(1) { printf("1.建立空队列\n"); printf("2.插入元素\n"); printf("3.显

main.c

#include #include #include "operate_tree.h" main() { int scan_switch; Tree *tree_one; tree_one=(Tree *)malloc(sizeof(Tree)); while(1) { printf("1.按先序输入元素\n");

uart.npl

JDF F // Created by Project Navigator ver 1.0 PROJECT UART DESIGN uart Normal DEVFAM spartan2 DEVFAMTIME 0 DEVICE xc2s15 DEVICETIME 0 DEVPKG cs144 DEVPKGTIME 0 DEVSPEED -6 DEVSPEEDTIME 0 F

uart.npl

JDF F // Created by Project Navigator ver 1.0 PROJECT UART DESIGN uart Normal DEVFAM spartan2 DEVFAMTIME 0 DEVICE xc2s15 DEVICETIME 0 DEVPKG cs144 DEVPKGTIME 0 DEVSPEED -6 DEVSPEEDTIME 0 F

ext_calib2.m

%%%%%%%%%%%%%%%%%%%% SHOW EXTRINSIC RESULTS %%%%%%%%%%%%%%%%%%%%%%%% if ~exist('show_camera'), show_camera = 1; end; if ~exist('n_ima')|~exist('fc'), fprintf(1,'No calibration data

gnu.h

/* Definitions of target machine for GNU compiler. MIPS GNU Hurd version. Copyright (C) 1995, 1996 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can re