代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.s
/* switch.s
* Machine dependent context switch routines. DO NOT MODIFY THESE!
*
* Context switching is inherently machine dependent, since
* the registers to be saved, how to set up an initi
switch.vhd
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity switch is
Port ( vgadd : in std_logic_vector(14 downto 0);
conva
switch.c
# include
void main()
{
int num;
/* 下面定义的各变量,分别代表个位,十位,百位,千位,万位,十万位以及位数 */
int indiv, ten, hundred, thousand;
int ten_thousand, hundred_thousand, place;
printf("请输入一个整数(0~99
switch.asm
.def GISR3,T2PINT_ISR
.def GISR5,CANMBX_ISR
.ref _t2timer_isr,_can_isr
.ref I$$SAVE,I$$REST
.ref PVECTORS
GISR3: CALL I$$SAVE
SAR AR1,*
LARK A
switch.lst
dspa -l -s -iD:/FCHEV_pid/inlcude -v2xx -id:/ti/c2400/cgtools/include -g switch.asm switch.obj
TMS320C24xx COFF Assembler Version 7.01 Wed Apr 28 18:29:21 2004
Copyright (c) 1987-2002 Texas Ins
switch.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.a*; *.src)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt)
pExt (*.plm)
CppX (*.cpp)
DaveTm { 0,0,0,0,0,0,0,0 }
switch.c
#include
void Switchdemo(void)
{ Byte outputstate;
switch(outputstate)
{case 1:
P1_0=0;
P1_1=0;
P1_2=0;
break; //跳出循环
case 2:
P1_0=1;
P1_1=0;
P1_2=0;
break;