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

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

?? rt_com.lyx

?? fsmlabs的real time linux的內核
?? LYX
字號:
#This file was created by <jochen> Wed Jul 28 14:03:03 1999#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team\lyxformat 2.15\textclass linuxdoc\language english\inputencoding latin1\fontscheme default\graphics default\paperfontsize 12\spacing single \papersize Default\paperpackage a4\use_geometry 0\use_amsmath 0\paperorientation portrait\secnumdepth 3\tocdepth 3\paragraph_separation indent\defskip medskip\quotes_language english\quotes_times 2\papercolumns 1\papersides 1\paperpagestyle default\layout Title\added_space_top vfill \added_space_bottom vfill rt_com\layout AuthorJochen K黳per\layout Date$Date: 2003/03/01 11:48:24 $\layout SectionDevice Driver Support\layout Standard$Id: rt_com.lyx,v 1.1.1.1 2003/03/01 11:48:24 hofrat Exp $\layout Subsectionrt_com - serial port driver\layout Standard\emph on author\emph default : Jochen K黳per <jochen@uni-duesseldorf.de>\layout Standard\noindent \emph on last\emph default  \emph on changed\emph default : $Date: 2003/03/01 11:48:24 $\layout StandardThis manual is intended to describe \family typewriter rt_com\family default  version 0.3, but is not fully updated to match that version yet. The interface should be right, though.\layout SubsubsectionIntroduction\layout StandardThis chapter of the manual describes the \family typewriter rt_com\family default  kernel module. That module provides a reasonable easy software interface (driver) to the standard serial ports of the PCs. There are a small number of user functions that provide an interface to the port, as well as several functions internally used to communicate with the hardware. \layout SubsubsectionInstallation\layout StandardThe rt_com package should contain the source code (\family typewriter rt_com.h\family default , \family typewriter rt_com.c\family default , \family typewriter rt_comP.h\family default ), makefiles (\family typewriter Makefile.am\family default , \family typewriter Makefile.standalone\family default ), some informational files (\family typewriter COPYING\family default , \family typewriter License\family default , \family typewriter README\family default ) and this documentation in various formats. The master file is \family typewriter rt_com.lyx\family default , there are also html and Postscript versions of it available.\layout StandardThe module works with RT-Linux v1 and v2. In order to run it on an v1 system (Linux kernel 2.0.x) you need to define \family typewriter RTLINUX_V1\family default  at compile time.\layout SubsubsectionInterface functions\layout ParagraphSetting up a serial port\layout StandardThis is to set up the port for use by your module by providing some initialization data. The function is declared as\layout Codevoid rt_com_setup( unsigned int com, unsigned baud, unsigned parity, unsigned stopbits, unsigned wordlength)\layout Standardwhere com is the entry number from the\family typewriter  rt_com_table\family default  (see paragraph \begin_inset LatexCommand \ref[rt_com_table]{rt_com_table}\end_inset  ), baud is the Baud rate the port shall be operated at, parity determines the parity policy to use (possible values are \family typewriter RT_COM_PARITY_EVEN\family default , \family typewriter RT_COM_PARITY_NONE\family default , \family typewriter RT_COM_PARITY_ODD\family default  - these are defined in \family typewriter rt_com.h\family default ), stopbits and wordlength are self explanatory and take the immediate value these flags shall be set at.\layout ParagraphWriting data to a port \layout StandardTo write data to a port you need to call the function\family typewriter  rt_com_write\family default , which is declared as\layout Codevoid rt_com_write( unsigned int com, char *buf, int cnt )\layout Standardwhere com is the entry number from the \family typewriter rt_com_table\family default  (see paragraph \begin_inset LatexCommand \ref[rt_com_table]{rt_com_table}\end_inset  ), buf is the memory address of the data to write to the port, cnt is the number of bytes that shall be written.\layout ParagraphReading data from a port\layout StandardTo read data from a port you need to call the function rt_com_read, which is declared as\layout Codeint rt_com_read( unsigned int com, char *buf, int cnt )\layout Standardwhere com is the entry number from the\family typewriter  rt_com_table\family default  (see paragraph \begin_inset LatexCommand \ref[rt_com_table]{rt_com_table}\end_inset  ), buf is the memory address the data read shall be put in, cnt is the maximum number of bytes that shall be read. The function returns the number of bytes that really have been read.\layout SubsubsectionInternals\layout ParagraphLoading the module into memory\begin_inset LatexCommand \label{init_module}\end_inset \layout StandardWhen the module gets loaded it requests the port memory and registers the interrupt service routine (ISR) for each member of the rt_com_table (see paragraph \begin_inset LatexCommand \ref[rt_com_table]{rt_com_table}\end_inset ). Moreover it initializes all ports.\layout StandardOn success it reports the loading of the module, otherwise it releases all resources, reports the failure and exits without the module beeing loaded. \layout ParagraphRemoving the module\layout StandardBefore the module is removed from memory, the function cleanup_module frees all allocated resources.\layout SubsubsectionData Structures\layout Paragraphrt_buf_struct\begin_inset LatexCommand \label{rt_buf_struct}\end_inset \layout StandardStructure to implement software FIFOs. Used for buffering of the data that needs to be written to the port and data read from hardware that needs to be read by the user. The FIFO size is given by the define \family typewriter RT_COM_BUF_SIZ\family default ; it has to be a power of two.\layout Paragraphrt_com_struct\layout StandardDefines the hardware parameter of one serial port. The members of this structure are a magic number (not used yet), the base rate of the port (115200 for standard ports), the port number, the interrupt number (IRQ) of the port, the flags set for this port, the ISR (see paragraph \begin_inset LatexCommand \ref[init_module]{init_module}\end_inset ) the type and a copy of the IER register. Moreover it contains two FIFOs as defined by the \family typewriter rt_buf_struc\family default  (see paragraph \begin_inset LatexCommand \ref[rt_buf_struct]{rt_buf_struct}\end_inset ), one for reading from the port and one for writing to it, respectively.\layout Paragraphrt_com_table\begin_inset LatexCommand \label{rt_com_table}\end_inset \layout StandardThis array holds a rt_com_struct for each serial port to be handled by the module.\layout SubsubsectionAvailability\layout StandardThe package is available at the \begin_inset LatexCommand \url[rt_com homepage]{http://www-public.rz.uni-duesseldorf.de/~jochen/computer/software/rt_com/}\end_inset  and the \begin_inset LatexCommand \url[RT-Linux homepage]{http://www.rtlinux.org}\end_inset .\layout SubsubsectionBugs\layout StandardPlease report bugs to \begin_inset LatexCommand \url[Jochen K黳per]{mailto:jochen@uni-duesseldorf.de}\end_inset  and the \begin_inset LatexCommand \url[RT-Linux maiing list]{mailto:rtl@rtlinux.cs.nmt.edu}\end_inset .\layout StandardThere are no known bugs right now. \layout SubsubsectionAcknowledgment\layout StandardThanks to Jens Michaelsen for providing his code.\the_end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲第一会所有码转帖| 精品国产污网站| 久久97超碰色| 亚洲精品国产成人久久av盗摄| a在线欧美一区| 亚洲一区二区黄色| 亚洲人成人一区二区在线观看| 欧美午夜一区二区三区| 国产高清成人在线| 亚洲国产va精品久久久不卡综合| 国产精品视频在线看| 26uuu国产电影一区二区| 91精品婷婷国产综合久久 | 亚洲精品一二三区| 国产精品人成在线观看免费| 亚洲精品在线免费播放| 91丨porny丨国产| 成年人网站91| 一本到不卡免费一区二区| 99久久er热在这里只有精品66| 国产成人在线视频网址| 国内久久婷婷综合| 激情六月婷婷久久| 国产在线日韩欧美| 成人久久久精品乱码一区二区三区| 久久超级碰视频| 国产一区二区福利| 日本91福利区| 久久国产精品99精品国产 | 欧美视频在线一区二区三区 | 国产成人av资源| 成人午夜在线免费| 91同城在线观看| 欧美午夜不卡在线观看免费| 一区二区三区四区在线免费观看| 色播五月激情综合网| 97久久精品人人做人人爽| 99re6这里只有精品视频在线观看| 色综合色综合色综合| 欧洲国产伦久久久久久久| 国产精华液一区二区三区| 97久久超碰国产精品| 91一区二区在线观看| 欧美色视频在线观看| 日韩免费电影网站| 国产精品久久久久久久久动漫| 亚洲另类色综合网站| 日韩黄色一级片| 懂色av中文一区二区三区| 欧美性大战xxxxx久久久| 日本高清不卡视频| 日韩三级免费观看| 亚洲人成网站精品片在线观看 | 日日夜夜一区二区| 国产精品123| 欧美日本在线看| 日本一区二区综合亚洲| 亚欧色一区w666天堂| 狠狠色狠狠色综合日日91app| 成人午夜在线免费| 欧美成人a视频| 一区二区三区高清在线| 国产福利一区在线| 91精品黄色片免费大全| 国产精品超碰97尤物18| 免费成人av在线| 欧美在线小视频| 一色桃子久久精品亚洲| 狠狠网亚洲精品| 在线视频综合导航| 久久久精品国产99久久精品芒果| 肉丝袜脚交视频一区二区| av综合在线播放| 久久久久久久综合日本| 亚洲精品乱码久久久久久日本蜜臀| 精品亚洲aⅴ乱码一区二区三区| 欧美亚洲丝袜传媒另类| 国产精品人妖ts系列视频| 国产乱子伦一区二区三区国色天香| 在线视频一区二区三区| 日本一区二区三区国色天香| 亚洲成人tv网| 日本道免费精品一区二区三区| 国产精品麻豆欧美日韩ww| 国内外成人在线| 久久色在线观看| 国产一区二区三区| 精品国产91洋老外米糕| 美脚の诱脚舐め脚责91| 9191国产精品| 另类人妖一区二区av| 不卡电影一区二区三区| 欧美成人综合网站| 麻豆91在线播放免费| 精品人在线二区三区| 精品在线视频一区| 精品少妇一区二区三区视频免付费| 亚洲一区二区三区自拍| 欧美视频在线一区二区三区 | 午夜精品一区二区三区免费视频 | 樱花影视一区二区| 日本精品一区二区三区四区的功能| 国产欧美一区二区三区在线看蜜臀 | 国产精品卡一卡二| 美女国产一区二区| 国产亚洲自拍一区| 97久久超碰精品国产| 一区二区三区日韩| 在线播放/欧美激情| 国产一区二区三区美女| 中文字幕不卡三区| 国产精品一区二区黑丝| 国产视频一区二区在线观看| 波多野结衣在线aⅴ中文字幕不卡 波多野结衣在线一区 | 日韩精品一级中文字幕精品视频免费观看 | 有坂深雪av一区二区精品| 欧美亚洲日本国产| 久久成人久久爱| 中文一区二区在线观看| 97国产一区二区| 成人欧美一区二区三区黑人麻豆 | 国产精品美女久久福利网站| 91免费观看在线| 美女尤物国产一区| 国产精品久久久久影视| 日本高清不卡视频| 国产一区欧美日韩| 一区二区三区日韩欧美| 亚洲精品一区二区三区蜜桃下载| 成人av在线一区二区三区| 国产酒店精品激情| 色av一区二区| 麻豆久久一区二区| 亚洲午夜免费视频| 1区2区3区欧美| 国产人成一区二区三区影院| 欧美日韩一区二区三区不卡| 91首页免费视频| 成人app软件下载大全免费| 麻豆精品在线观看| 无码av免费一区二区三区试看| 亚洲天堂久久久久久久| 国产日产欧产精品推荐色| 欧美精品一区二区不卡| 精品美女在线播放| 2020国产精品久久精品美国| 亚洲成av人在线观看| 亚洲欧洲一区二区在线播放| 精品蜜桃在线看| 日韩欧美国产三级| 在线成人av影院| 欧美电影影音先锋| 欧美一级欧美三级在线观看| 欧美日韩一区二区欧美激情| 欧美少妇一区二区| 欧美综合欧美视频| 欧美日韩一区三区四区| 欧美久久久久免费| 91精品国产综合久久婷婷香蕉| 欧美日韩一区中文字幕| 4438成人网| 欧美xxxxxxxx| 国产日本欧洲亚洲| 亚洲欧美日韩一区| 亚洲综合一区在线| 日韩精品国产欧美| 国产美女精品一区二区三区| 国产在线精品免费| 成人app网站| 国产一区二区三区不卡在线观看| 1000部国产精品成人观看| 中文字幕欧美日本乱码一线二线| 日本一区二区久久| 亚洲综合视频在线观看| 日韩电影在线观看电影| 国产成人自拍网| 在线视频欧美精品| 精品欧美久久久| 一区在线观看视频| 日日摸夜夜添夜夜添精品视频| 韩国av一区二区三区四区| 99在线精品观看| 欧美一区二区大片| 欧美国产精品劲爆| 一区二区三区免费网站| 美女视频免费一区| 日本道免费精品一区二区三区| 91精品国产色综合久久不卡电影| 国产欧美一区二区精品性色| 亚洲香肠在线观看| 成人在线视频一区二区| 制服丝袜亚洲播放| 亚洲欧美日韩久久| 国产在线精品一区二区夜色| 色婷婷av一区二区| 亚洲视频一二三区| 免费观看91视频大全| 成人福利视频在线| 欧美www视频| 亚洲成人你懂的|