📄 dc_flags.h
字号:
/*
** WASABI-Hot! version 1.2c (DeviceController sub-unit)
**
**
** -- copyright (c) 2001-2004 by Philips Japan, Ltd. -- All rights reserved --
**
**
** ** This code has been made to check/learn **
** ** the ISP1362/ISP1363 functionalities **
** ** Release 06-Aug-2004 **
**
** HIGASHIYAMA, Ken
**
** Application Laboratory, Mobile and Connectivity
** Semiconductors Div, Philips Japan Ltd.
** ken.higashiyama@philips.com
** +81-3-3740-5136
**
**
*/
#ifndef _DC_FLAGS_
#define _DC_FLAGS_
#include "general.h"
struct _ctrl_ {
unsigned char setup :1;
unsigned char data :1;
unsigned char status :1;
unsigned char write :1;
unsigned char read :1;
} ;
struct _intr_ {
unsigned char in_isr :1;
unsigned char busreset :1;
unsigned char suspend :1;
unsigned char resume :1;
unsigned char configured :1;
};
struct _vendor_specific_ {
unsigned char wait :1;
unsigned char data :1;
unsigned char ep4_in :1;
};
extern struct _ctrl_ ctrl;
extern struct _intr_ intr_1;
extern struct _intr_ intr_2;
extern struct _vendor_specific_ vendor_specific;
#define CONTROL_READ 1
#define CONTROL_WRITE 0
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -