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

📄 i8253.h

📁 Network time protocol source study
💻 H
字号:
/* Copyright (c) 1995 Vixie Enterprises * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies, and that * the name of Vixie Enterprises not be used in advertising or publicity * pertaining to distribution of the document or software without specific, * written prior permission. *  * THE SOFTWARE IS PROVIDED "AS IS" AND VIXIE ENTERPRISES DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL VIXIE ENTERPRISES * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */#ifndef _I8253_DEFINED#define _I8253_DEFINEDtypedef union {	unsigned char	i;	struct {		unsigned int	bcd	: 1;#define				i8253_binary	0#define				i8253_bcd	1		unsigned int	mode	: 3;#define				i8253_termcnt	0#define				i8253_oneshot	1#define				i8253_rategen	2#define				i8253_sqrwave	3#define				i8253_softstb	4#define				i8253_hardstb	5		unsigned int	rl	: 2;#define				i8253_latch	0#define				i8253_lsb	1#define				i8253_msb	2#define				i8253_lmb	3		unsigned int	cntr	: 2;#define				i8253_cntr_0	0#define				i8253_cntr_1	1#define				i8253_cntr_2	2	} s;} i8253_ctrl;#endif /*_I8253_DEFINED*/

⌨️ 快捷键说明

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