代码搜索结果
找到约 10,000 项符合
Switch 的代码
lesson 10.lst
C51 COMPILER V8.05a LESSON_10 02/05/2009 23:23:38 PAGE 1
C51 COMPILER V8.05a, COMPILATION OF MODULE LESSON_10
OBJECT MODULE PLACED
lesson 10.c
#include
#define uchar unsigned char
#define uint unsigned int
uchar table1[]=" 2009-02-05";
uchar table2[]=" 23:23:55";
uchar count,switch_num,flag,judge,day_full,week;
uint year;
main.c
/*
** Copyright (C) ARM Limited, 2000. All rights reserved.
*/
/*
** This application flashes the LEDs on the ARM Integrator board.
** It reads the board's switches to determine the flash speed
c_swi.c
void C_SWI_Handler( int swi_num, int *regs )
{
switch( swi_num )
{
case 0:
regs[0] = regs[0] * regs[1];
break;
case 1:
regs[0] = regs[0] + regs[1]
pid_le_tune.m
function [Kp,Ti,Td,key,lb]=pid_le_tune(G,key1,key2,vars)
key=0; Kp=[]; Ti=[]; Td=[]; lb=[];
K=vars(1); L=vars(2); T=vars(3); id=vars(4);
[Gm,Pm,Wcg,Wcp]=margin(G);
switch key1
case 1
pid_ts_tune.m
function [Kp,Ti,Td,key,lb]=pid_ts_tune(key1,key2,vars)
key=0; Kp=[]; Ti=[]; Td=[]; lb=[];
K=vars(1); L=vars(2); T=vars(3);id=vars(4);
switch key1
case 3
switch key2
cas
pid_ww_tune.m
function [Kp,Ti,Td,key,lb]=pid_ww_tune(key1,key2,vars)
key=0; Kp=[]; Ti=[]; Td=[]; lb=[];
K=vars(1); L=vars(2); T=vars(3);id=vars(4);
switch key1
case 3
switch key2
case
pid_th_tune.m
function [Kp,Ti,Td,key,lb]=pid_th_tune(lambda,key1,key2,vars)
key=0; Kp=[]; Ti=[]; Td=[]; lb=[];
K=vars(1); L=vars(2); T=vars(3); id=vars(4);
switch key1
cas
pid_wf_tune.m
function [Kp,Ti,Td,key,lb]=pid_wf_tune(key1,key2,vars)
key=0; Kp=[]; Ti=[]; Td=[]; lb=[];
K=vars(1); L=vars(2); T=vars(3); id=vars(4);
switch key1
case 1
switch key2