代码搜索结果
找到约 10,000 项符合
Switch 的代码
withfinally.java
//: exceptions/WithFinally.java
// Finally Guarantees cleanup.
public class WithFinally {
static Switch sw = new Switch();
public static void main(String[] args) {
try {
sw.on();
onoffswitch.java
//: exceptions/OnOffSwitch.java
// Why use finally?
public class OnOffSwitch {
private static Switch sw = new Switch();
public static void f()
throws OnOffException1,OnOffException2 {}
main._c
/*****************************************************
* File name : main.C
* Description : Header file of main_H.H
* Platform : ICCAVR
* Author : xiao xue
* Email
main.c
/*****************************************************
* File name : main.C
* Description : Header file of main_H.H
* Platform : ICCAVR
* Author : xiao xue
* Email
lcd_th3144.c
#include
LCD_TH3144 Lcd_Seg;
void Lcd_Clean(void)
{
uint8 *dat;
Lcd_Seg.D1=0;
Lcd_Seg.D2=0;
Lcd_Seg.D3=0;
Lcd_Seg.D4=0;
Lcd_Seg.Sign=0;
dat=(uint8 *) &L
loader.rc
#include "switch.rc"
#if defined(BRAND_KCEASY)
# include "kceasy/loader.rc"
#elif defined(BRAND_XETTO)
# include "xetto/loader.rc"
#else
# error "Unknown brand"
#endif
kceasy.rc
#include "switch.rc"
#if defined(BRAND_KCEASY)
# include "kceasy/kceasy.rc"
#elif defined(BRAND_XETTO)
# include "xetto/xetto.rc"
#else
# error "Unknown brand"
#endif
cas_inv.c
#include "2407A.h"
#include "cpldport.h"
#define Uint unsigned int
#define Ulong unsigned long
#define K_MN 44739//U/f=C,即M/n=C,这里设M/n=0.000666,Q26格式
#define K_NE 49152//转速和光编脉冲增量之间的转换系数,0.75
key.h
#ifndef _Key_H
#define _Key_H
void Get_Key(void);
void BootFromLDROM(void);
void DelayX1ms(unsigned int n);
void DelayX10ms(unsigned int n);
void Contrast_Adj(Byte S);
void Sharp_Adj(Byte S);
f35x_ports_switchleds.c
//-----------------------------------------------------------------------------
// F35x_Ports_SwitchLEDs.c
//-----------------------------------------------------------------------------
// Copyrig