代码搜索结果
找到约 10,000 项符合
Switch 的代码
d12api.c
#include
#include
#include "define.h"
#include "D12API.h"
/*******************************写USB命令******************************************/
void write_usb_command(unsigne
exercise_2.c
#include "..\include\exercise_2.h"
#define SW6_BIT 0x0020
#define SW7_BIT 0x0040
typedef enum {OFF, ON} Switch_States;
Switch_States state_sw6=OFF, state_sw7=OFF;
// state variables
ulaw.cmd
MEMORY
{
PAGE 0: PROG: origin = 0x080, len = 0x980
PAGE 1: DATA: origin = 0x0a00, len = 0x0a00
}
SECTIONS
{
.text: {} > PROG PAGE 0
.cinit: {
globals_0x6c.html
uIP 1.0: Data Fields
usbs.c
#include "usb.h"
#define dprintf(x...)
static const USB_DeviceRequest UDReq[] = {
{}, // get_status
{}, // clear_feature
{}, // RFU
{}, // set_feature
{}, // RFU
{}, // set_address
{}, // get
onoffswitch14.java
// exceptions/OnOffSwitch14.java
// TIJ4 Chapter Exceptions, Exercise 14, page 476
// Show that the OnOffSwitch.java can fail by throwing a
// RuntimeException inside the try block.
public class
withfinally15.java
// exceptions/WithFinally15.java
// TIJ4 Chapter Exceptions, Exercise 15, page 476
// Show that WithFinally.java doesn't fail by throwing a
// RuntimeException inside the try block.
public clas