⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 termio.h

📁 一个mips虚拟机非常好代码,使用C++来编写的,希望大家多学学,
💻 H
字号:
#ifndef _TERMIO_H#define _TERMIO_H/**************************************************************************** * $Id: termio.h,v 1.1.1.1 2003/07/10 05:44:51 matthewc Exp $ * Copyright (C) 1997, 1998 Kevin Elphinstone, Univeristy of New South * Wales. * * This file is part of the L4/MIPS micro-kernel distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ****************************************************************************//* cflags */#define CBAUD   0000017#define B0      0#define B50     0000001#define B75     0000002#define B110    0000003#define B134    0000004#define B150    0000005#define B200    0000006#define B300    0000007#define B600    0000010#define B1200   0000011#define B1800   0000012#define B2400   0000013#define B4800   0000014#define B9600   0000015#define B19200  0000016#define B38400  0000017/* operation codes for device specific driver *//* operation codes for device specific driver */#define OP_INIT         1#define OP_TX           2#define OP_RX           3#define OP_RXRDY        4#define OP_TXRDY        5#define OP_BAUD         6#define OP_RXSTOP       7#define OP_FLUSH        8#define OP_RESET        9#define OP_OPEN         10#define OP_CLOSE        11#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -