代码搜索结果
找到约 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.c
/*
Copyright (c) 2006, 2007, 2008 Z RESEARCH, Inc.
This file is part of GlusterFS.
GlusterFS is free software; you can redistribute it and/or modify
it under th
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 %
switch.s
#include "psr.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
/*
* Switch executio
switch.s
.globl entry, __switch_context, __exit_context, halt
.text
.align 4
/*
* Entry point
* We start execution from here.
* It is assumed that CPU is in 32-bit protected mode and
* all segments a
switch-arch
#!/bin/sh
if [ x"$1" = x ]; then
printf "Usage:\n $0 [arch-config]"
printf "\narch-config: cross-ppc, x86\n"
exit 0
fi
ARCH=$1
rm -f rules.xml
rm -f config.xml
ln -s config/examples/${ARCH}_
switch.h
/* Copyright 2002 Jeff Dike
* Licensed under the GPL
*/
#ifndef __SWITCH_H__
#define __SWITCH_H__
#define ETH_ALEN 6
#endif
switch.asm
; #########################################################################
; This demo shows how to use Greg Falen's SWITCH macro
; #####################################################