代码搜索结果

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

encoder.h

//数码管译码函数 uchar encoder(uchar num) { uchar code; switch(num) { case 0x00: code=0xc0;break; case 0x01: code=0xf9;break; case 0x02: code=0xa4;break; case 0x03: code=0xb0;bre

stk500protocol.c

#include "hardware.h" #include #include #include "oddebug.h" #include "stk500protocol.h" #include "utils.h" #include "isp.h" #include "hvprog.h" #include "timer.h" #inclu

f34x_msd_vbus_functions.c

//----------------------------------------------------------------------------- // F34x_MSD_F34x_Temp_Sensor.c //----------------------------------------------------------------------------- // Cop

segment7.vhd

--------------------------------------- LIBRARY ieee; USE ieee.std_logic_1164.all; USE ieee.std_logic_unsigned.all; --------------------------------------- ENTITY segment7 IS PORT (CLK: IN STD_

plot3c.m

function plot3c(x,y,z,color); %封装了Matlab的plot3函数 %r代表红色,g绿色,b蓝色,c青绿色,m品红色,y蓝色,k黑色,w白色 %plot3为Matlab里面的三位曲线的绘图函数 switch(color) case 0 plot3(x,y,z,'w-'); case 1 plot3(x,y

dsp.cmd

-stack 160 -o ex.out -m ex.map /*Main.obj Define.obj */ -l rts2xx.lib MEMORY { PAGE 0: VECS: origin = 0x8000, length 0x040 PAGE 0: PROG: origin = 0x8860, length 0x700

fetch_communicate.cpp

#include "stdafx.h" #include "PLC_DEMO.h" #include "PLC_DEMODoc.h" #include "PLC_DEMOView.h" #include "Input_link.h" #include "Output_link.h" #include "Instruction_define.h" int signinput[8

uvcuser.c

/*---------------------------------------------------------------------------- * U S B - K e r n e l *---------------------------------------------------------------------------- * N

stk500protocol.c

/* * Name: stk500protocol.c * Project: AVR-Doper * Author: Christian Starkjohann * Creation Date: 2006-06-19 * Tabsize: 4 * Copyright: (c) 2006 by Christian Starkjohann, all rights

stk500protocol.c

/* * Name: stk500protocol.c * Project: AVR-Doper * Author: Christian Starkjohann * Creation Date: 2006-06-19 * Tabsize: 4 * Copyright: (c) 2006 by Christian Starkjohann, all rights