亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? z8530.h

?? TCPIP協議包
?? H
字號:
#ifndef	_Z8530_H
#define	_Z8530_H

#ifndef	_GLOBAL_H
#include "global.h"
#endif

/* In z8530.asm: */
void write_scc(uint16 ctl,uint8 reg,uint8 val);
uint8 read_scc(uint16 ctl,uint8 reg);
int rx8530(uint16 ctl,uint16 data,void *buf,uint16 bufsize);

/* Zilog 8530 Serial Communications Controller Register definitions */
#define	FLAG	0x7e

/* Write Register 0 */
#define	R0	0		/* Register selects */
#define	R1	1
#define	R2	2
#define	R3	3
#define	R4	4
#define	R5	5
#define	R6	6
#define	R7	7
#define	R8	8
#define	R9	9
#define	R10	10
#define	R11	11
#define	R12	12
#define	R13	13
#define	R14	14
#define	R15	15

#define	NULLCODE	0	/* Null Code */
#define	POINT_HIGH	0x8	/* Select upper half of registers */
#define	RES_EXT_INT	0x10	/* Reset Ext. Status Interrupts */
#define	SEND_ABORT	0x18	/* HDLC Abort */
#define	RES_RxINT_FC	0x20	/* Reset RxINT on First Character */
#define	RES_Tx_P	0x28	/* Reset TxINT Pending */
#define	ERR_RES		0x30	/* Error Reset */
#define	RES_H_IUS	0x38	/* Reset highest IUS */

#define	RES_Rx_CRC	0x40	/* Reset Rx CRC Checker */
#define	RES_Tx_CRC	0x80	/* Reset Tx CRC Checker */
#define	RES_EOM_L	0xC0	/* Reset EOM latch */

/* Write Register 1 */

#define	EXT_INT_ENAB	0x1	/* Ext Int Enable */
#define	TxINT_ENAB	0x2	/* Tx Int Enable */
#define	PAR_SPEC	0x4	/* Parity is special condition */

#define	RxINT_DISAB	0	/* Rx Int Disable */
#define	RxINT_FCERR	0x8	/* Rx Int on First Character Only or Error */
#define	INT_ALL_Rx	0x10	/* Int on all Rx Characters or error */
#define	INT_ERR_Rx	0x18	/* Int on error only */

#define	WT_RDY_RT	0x20	/* Wait/Ready on R/T */
#define	WT_FN_RDYFN	0x40	/* Wait/FN/Ready FN */
#define	WT_RDY_ENAB	0x80	/* Wait/Ready Enable */

/* Write Register #2 (Interrupt Vector) */

/* Write Register 3 */

#define	RxENABLE	0x1	/* Rx Enable */
#define	SYNC_L_INH	0x2	/* Sync Character Load Inhibit */
#define	ADD_SM		0x4	/* Address Search Mode (SDLC) */
#define	RxCRC_ENAB	0x8	/* Rx CRC Enable */
#define	ENT_HM		0x10	/* Enter Hunt Mode */
#define	AUTO_ENAB	0x20	/* Auto Enables */
#define	Rx5		0x0	/* Rx 5 Bits/Character */
#define	Rx7		0x40	/* Rx 7 Bits/Character */
#define	Rx6		0x80	/* Rx 6 Bits/Character */
#define	Rx8		0xc0	/* Rx 8 Bits/Character */

/* Write Register 4 */

#define	PAR_ENA		0x1	/* Parity Enable */
#define	PAR_EVEN	0x2	/* Parity Even/Odd* */

#define	SYNC_ENAB	0	/* Sync Modes Enable */
#define	SB1		0x4	/* 1 stop bit/char */
#define	SB15		0x8	/* 1.5 stop bits/char */
#define	SB2		0xc	/* 2 stop bits/char */

#define	MONSYNC		0	/* 8 Bit Sync character */
#define	BISYNC		0x10	/* 16 bit sync character */
#define	SDLC		0x20	/* SDLC Mode (01111110 Sync Flag) */
#define	EXTSYNC		0x30	/* External Sync Mode */

#define	X1CLK		0x0	/* x1 clock mode */
#define	X16CLK		0x40	/* x16 clock mode */
#define	X32CLK		0x80	/* x32 clock mode */
#define	X64CLK		0xC0	/* x64 clock mode */

/* Write Register 5 */

#define	TxCRC_ENAB	0x1	/* Tx CRC Enable */
#define	RTS		0x2	/* RTS */
#define	SDLC_CRC	0x4	/* SDLC/CRC-16 */
#define	TxENAB		0x8	/* Tx Enable */
#define	SND_BRK		0x10	/* Send Break */
#define	Tx5		0x0	/* Tx 5 bits (or less)/character */
#define	Tx7		0x20	/* Tx 7 bits/character */
#define	Tx6		0x40	/* Tx 6 bits/character */
#define	Tx8		0x60	/* Tx 8 bits/character */
#define	DTR		0x80	/* DTR */

/* Write Register 6 (Sync bits 0-7/SDLC Address Field) */

/* Write Register 7 (Sync bits 8-15/SDLC 01111110) */

/* Write Register 8 (transmit buffer) */

/* Write Register 9 (Master interrupt control) */
#define	VIS	1	/* Vector Includes Status */
#define	NV	2	/* No Vector */
#define	DLC	4	/* Disable Lower Chain */
#define	MIE	8	/* Master Interrupt Enable */
#define	STATHI	0x10	/* Status high */
#define	NORESET	0	/* No reset on write to R9 */
#define	SINTACK	0x20	/* Software INTACK (CMOS only) */
#define	CHRB	0x40	/* Reset channel B */
#define	CHRA	0x80	/* Reset channel A */
#define	FHWRES	0xc0	/* Force hardware reset */

/* Write Register 10 (misc control bits) */
#define	BIT6	1	/* 6 bit/8bit sync */
#define	LOOPMODE 2	/* SDLC Loop mode */
#define	ABUNDER	4	/* Abort/flag on SDLC xmit underrun */
#define	MARKIDLE 8	/* Mark/flag on idle */
#define	GAOP	0x10	/* Go active on poll */
#define	NRZ	0	/* NRZ mode */
#define	NRZI	0x20	/* NRZI mode */
#define	FM1	0x40	/* FM1 (transition = 1) */
#define	FM0	0x60	/* FM0 (transition = 0) */
#define	CRCPS	0x80	/* CRC Preset I/O */

/* Write Register 11 (Clock Mode control) */
#define	TRxCXT	0	/* TRxC = Xtal output */
#define	TRxCTC	1	/* TRxC = Transmit clock */
#define	TRxCBR	2	/* TRxC = BR Generator Output */
#define	TRxCDP	3	/* TRxC = DPLL output */
#define	TRxCOI	4	/* TRxC O/I */
#define	TCRTxCP	0	/* Transmit clock = RTxC pin */
#define	TCTRxCP	8	/* Transmit clock = TRxC pin */
#define	TCBR	0x10	/* Transmit clock = BR Generator output */
#define	TCDPLL	0x18	/* Transmit clock = DPLL output */
#define	RCRTxCP	0	/* Receive clock = RTxC pin */
#define	RCTRxCP	0x20	/* Receive clock = TRxC pin */
#define	RCBR	0x40	/* Receive clock = BR Generator output */
#define	RCDPLL	0x60	/* Receive clock = DPLL output */
#define	RTxCX	0x80	/* RTxC Xtal/No Xtal */

/* Write Register 12 (lower byte of baud rate generator time constant) */

/* Write Register 13 (upper byte of baud rate generator time constant) */

/* Write Register 14 (Misc control bits) */
#define	BRENABL	1	/* Baud rate generator enable */
#define	BRSRC	2	/* Baud rate generator source */
#define	DTRREQ	4	/* DTR/Request function */
#define	AUTOECHO 8	/* Auto Echo */
#define	LOOPBAK	0x10	/* Local loopback */
#define	SEARCH	0x20	/* Enter search mode */
#define	RMC	0x40	/* Reset missing clock */
#define	DISDPLL	0x60	/* Disable DPLL */
#define	SSBR	0x80	/* Set DPLL source = BR generator */
#define	SSRTxC	0xa0	/* Set DPLL source = RTxC */
#define	SFMM	0xc0	/* Set FM mode */
#define	SNRZI	0xe0	/* Set NRZI mode */

/* Write Register 15 (external/status interrupt control) */
#define	ZCIE	2	/* Zero count IE */
#define	DCDIE	8	/* DCD IE */
#define	SYNCIE	0x10	/* Sync/hunt IE */
#define	CTSIE	0x20	/* CTS IE */
#define	TxUIE	0x40	/* Tx Underrun/EOM IE */
#define	BRKIE	0x80	/* Break/Abort IE */


/* Read Register 0 */
#define	Rx_CH_AV	0x1	/* Rx Character Available */
#define	ZCOUNT		0x2	/* Zero count */
#define	Tx_BUF_EMP	0x4	/* Tx Buffer empty */
#define	DCD		0x8	/* DCD */
#define	SYNC_HUNT	0x10	/* Sync/hunt */
#define	CTS		0x20	/* CTS */
#define	TxEOM		0x40	/* Tx underrun */
#define	BRK_ABRT	0x80	/* Break/Abort */

/* Read Register 1 */
#define	ALL_SNT		0x1	/* All sent */
/* Residue Data for 8 Rx bits/char programmed */
#define	RES3		0x8	/* 0/3 */
#define	RES4		0x4	/* 0/4 */
#define	RES5		0xc	/* 0/5 */
#define	RES6		0x2	/* 0/6 */
#define	RES7		0xa	/* 0/7 */
#define	RES8		0x6	/* 0/8 */
#define	RES18		0xe	/* 1/8 */
#define	RES28		0x0	/* 2/8 */
/* Special Rx Condition Interrupts */
#define	PAR_ERR		0x10	/* Parity error */
#define	Rx_OVR		0x20	/* Rx Overrun Error */
#define	CRC_ERR		0x40	/* CRC/Framing Error */
#define	END_FR		0x80	/* End of Frame (SDLC) */

/* Read Register 2 (channel b only) - Interrupt vector */

/* Read Register 3 (interrupt pending register) ch a only */
#define	CHBEXT	0x1		/* Channel B Ext/Stat IP */
#define	CHBTxIP	0x2		/* Channel B Tx IP */
#define	CHBRxIP	0x4		/* Channel B Rx IP */
#define	CHAEXT	0x8		/* Channel A Ext/Stat IP */
#define	CHATxIP	0x10		/* Channel A Tx IP */
#define	CHARxIP	0x20		/* Channel A Rx IP */

/* Read Register 8 (receive data register) */

/* Read Register 10  (misc status bits) */
#define	ONLOOP	2		/* On loop */
#define	LOOPSEND 0x10		/* Loop sending */
#define	CLK2MIS	0x40		/* Two clocks missing */
#define	CLK1MIS	0x80		/* One clock missing */

/* Read Register 12 (lower byte of baud rate generator constant) */

/* Read Register 13 (upper byte of baud rate generator constant) */

/* Read Register 15 (value of WR 15) */


#endif /* _Z8530_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美另类久久久精品2019| 99久久综合狠狠综合久久| 久久久综合精品| 日韩一区二区三区电影| 欧美午夜片在线看| 波多野结衣在线一区| 欧美一级日韩免费不卡| 国产一区二区三区综合 | 欧美va亚洲va香蕉在线| 欧美日韩成人综合| 7777精品伊人久久久大香线蕉完整版| 一区二区三区在线免费视频| 中文字幕一区免费在线观看| 亚洲欧洲www| 亚洲一区二区免费视频| 亚洲成在人线免费| 精品一区二区三区在线观看| 极品少妇一区二区| 加勒比av一区二区| av一区二区三区在线| 91黄色激情网站| 欧美高清视频不卡网| 久久亚洲一级片| 亚洲视频一区二区在线| 亚洲成人午夜电影| 国产成人在线视频免费播放| 91捆绑美女网站| 91精品国产综合久久香蕉麻豆| 不卡视频一二三| 欧美三电影在线| 欧美一区二区三区四区五区| 久久久精品影视| 亚洲永久精品国产| 精品一区二区三区在线播放视频| 香蕉久久一区二区不卡无毒影院| 国产欧美精品区一区二区三区| 欧美日韩中文精品| 久久综合狠狠综合| 一区二区三区蜜桃| 国产成人午夜片在线观看高清观看| 亚洲国产成人av| 懂色av一区二区三区免费观看 | 91精品国产综合久久久久久久久久| 国产在线视频精品一区| 99久久久免费精品国产一区二区| 极品少妇xxxx偷拍精品少妇| 欧美亚洲自拍偷拍| 国产三级精品三级在线专区| 一区二区三区视频在线看| 国产经典欧美精品| 日韩一区二区精品| 亚洲成av人片一区二区| 99久久精品一区二区| 久久久精品2019中文字幕之3| 精品欧美久久久| 夜夜亚洲天天久久| jizzjizzjizz欧美| 久久精品一区二区三区av| 日本三级亚洲精品| 欧美日韩一区不卡| 亚洲黄色免费网站| 91在线国产观看| 国产精品久线观看视频| 国产精品白丝jk黑袜喷水| 精品国产一区二区三区忘忧草| 2023国产精品| 久久福利资源站| 精品污污网站免费看| 一区二区三区四区乱视频| 99久久精品国产观看| 中文字幕中文字幕一区| 不卡视频在线看| 亚洲色图第一区| 99精品视频在线播放观看| 国产精品视频一二| 成人18视频在线播放| 椎名由奈av一区二区三区| 国产成+人+日韩+欧美+亚洲| 久久精品一区二区三区四区| 国产精品资源网| 国产精品久久久久影院色老大| 亚洲一区在线看| 欧美军同video69gay| 亚洲国产裸拍裸体视频在线观看乱了| 久久精品国产第一区二区三区| 国产在线不卡视频| 久久久亚洲精品一区二区三区| 国产精品初高中害羞小美女文| 综合久久国产九一剧情麻豆| 一本到不卡精品视频在线观看| 欧美揉bbbbb揉bbbbb| 五月激情六月综合| www精品美女久久久tv| 成人免费av资源| 亚洲女与黑人做爰| 欧美亚男人的天堂| 日韩成人一区二区三区在线观看| 国产精品综合二区| 最新不卡av在线| 5858s免费视频成人| 精品一区二区久久久| 国产日产欧美一区二区视频| 97精品国产露脸对白| 午夜欧美大尺度福利影院在线看| 成人av资源下载| 亚洲最新在线观看| 91精品免费在线| 成人免费视频caoporn| 亚洲精品免费播放| 欧美va亚洲va| 欧美中文字幕不卡| 蜜臀久久99精品久久久久宅男 | 国产亚洲福利社区一区| 91丨九色丨国产丨porny| 五月天激情综合网| 综合电影一区二区三区| 日韩欧美国产高清| 色94色欧美sute亚洲线路一ni| 国产欧美日韩另类视频免费观看| 亚洲成av人在线观看| 国产欧美日韩视频一区二区| 67194成人在线观看| 91免费观看视频| 国模一区二区三区白浆| 一区二区三区四区不卡视频| 欧美国产丝袜视频| 欧美一区二区精品在线| 9l国产精品久久久久麻豆| 裸体在线国模精品偷拍| 亚洲综合图片区| 自拍av一区二区三区| 久久久久久**毛片大全| 日韩欧美国产一区二区三区| 欧美三级电影一区| 91国产免费看| av激情成人网| 国产一区二区三区不卡在线观看 | 不卡av在线网| 国产一区二区精品久久99| 一区二区激情视频| 亚洲色图欧美在线| 中文字幕在线播放不卡一区| 国产视频一区二区三区在线观看| 国产一区二区不卡| 青椒成人免费视频| 爽好多水快深点欧美视频| 亚洲欧美综合色| 1区2区3区精品视频| 国产亚洲视频系列| 欧美国产一区二区| 国产精品亲子伦对白| 国产精品全国免费观看高清| 欧美—级在线免费片| 亚洲国产精品激情在线观看| 欧美国产一区在线| 中文字幕亚洲在| 亚洲人成精品久久久久| 一区二区三区四区在线| 亚洲图片欧美一区| 天天免费综合色| 日本不卡一区二区三区 | 91在线观看一区二区| 99在线精品一区二区三区| 99在线精品视频| 色综合欧美在线视频区| 欧美日韩国产区一| 日韩区在线观看| 久久精品一区蜜桃臀影院| 中文字幕欧美激情| 亚洲精品国产精品乱码不99 | 久久精品国产精品亚洲红杏| 日韩在线卡一卡二| 国产伦精品一区二区三区在线观看| ●精品国产综合乱码久久久久| 欧美日韩国产经典色站一区二区三区| 亚洲欧洲成人自拍| 亚洲国产成人私人影院tom| 97精品国产97久久久久久久久久久久| 成人av网站在线| 在线观看不卡一区| 欧美疯狂性受xxxxx喷水图片| 国产精品一区二区在线播放| 成人高清伦理免费影院在线观看| 亚洲主播在线播放| 肉色丝袜一区二区| 韩国精品一区二区| 91网站在线观看视频| 777午夜精品视频在线播放| 久久综合av免费| 亚洲国产中文字幕| 高清不卡在线观看| 欧美精品v国产精品v日韩精品| 91丨porny丨国产| 欧美一级高清片| 国产精品国产三级国产aⅴ中文| 欧美精品一区二区三区久久久| 欧美精品乱人伦久久久久久| 国产亚洲一二三区| 日韩精品一级二级| 91小视频在线观看|