代码搜索结果
找到约 10,000 项符合
Switch 的代码
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;
switch.cc
/*
* switch.{cc,hh} -- element routes packets to one output of several
* Eddie Kohler
*
* Copyright (c) 2000 Mazu Networks, Inc.
*
* Permission is hereby granted, free of charge, to any person o
switch.hh
#ifndef CLICK_SWITCH_HH
#define CLICK_SWITCH_HH
#include
CLICK_DECLS
/*
=c
Switch([K])
=s classification
sends packet stream to settable output
=d
Switch sends every incoming
switch.h
/*
* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
* All rights reserved.
*
* This software is copyrighted by and is the sole property of
* VIA Networking Technologies, Inc. Thi
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;
switch.cpp
/*****************************************************************************
The following code is derived, directly or indirectly, from the SystemC
source code Copyright (c) 1996-2006 by all C
switch.h
/*****************************************************************************
The following code is derived, directly or indirectly, from the SystemC
source code Copyright (c) 1996-2006 by all C
switch.s
#include "pstate.h"
#include "asi.h"
#define ASI_BP ASI_M_BYPASS
#define REGWIN_SZ 0x40
.globl __switch_context, __switch_context_nosave, __exit_context, halt
.text
.align 4
.register %