代码搜索结果
找到约 21,386 项符合
Switch 的代码
switch.inc
;***
; SWITCH.INC - 01-Oct-87 - BASCOM compiler and runtime common switch file
;***
.XLIST
;***
;
; Copyright 1987, Microsoft Corporation
;
;Purpose:
;
;********************************
switch.h
/***
* switch.h
*
* Copyright 1985, 1986, 1987 Microsoft Corporation
*
*******************************************************************************/
/*=================================
switch.inc
;***
;switch.inc - see switch.h for real definitions of switches
;
; Copyright 1985, 1986, 1987 Microsoft Corporation
;
;
;******************************************************************
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.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
Options 1,0,0 // Target
switch.jhd
MODULE switch
switch.vhd
-- 库声明
library IEEE;
use IEEE.STD_LOGIC_1164.all;
-- 实体声明
entity switch is
port (
din1 : in STD_LOGIC;
din2 : in STD_LOGIC;
sel : in STD_LOGIC;
dout : out STD_LO
switch.jhd
MODULE switch
switch.vhd
-- 库声明
library IEEE;
use IEEE.STD_LOGIC_1164.all;
-- 实体声明
entity switch is
port (
din1 : in STD_LOGIC;
din2 : in STD_LOGIC;
sel : in STD_LOGIC;
dout : out STD_LO
switch.jhd
MODULE switch