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

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

?? rt_com.tex

?? A real-time serial port device driver, works with RT-Linux and RTAI.
?? TEX
字號:
%% rt_com documentation%%%% Copyright (C) 1997-2000 Jochen K黳per%%%% Available under GNU General Public License V2.\documentclass[12pt,twoside]{article}\usepackage{rtldoc}\usepackage[nofancy]{rcsinfo}\usepackage{textcomp}\begin{document}\rcsInfo $Id: rt_com.tex,v 1.5 2000/01/28 17:27:19 jochen Exp $\rtldraft\hypersetup{   pdfauthor = {Jochen K{\"u}pper},   pdfsubject = {The Serial Port Driver of Real-Time Linux},   pdftitle = {The Serial Port Driver of Real-Time Linux},   pdfkeywords = {rt\_com serial port driver Real-Time Linux}   }\title{The Serial Port Driver of Real-Time Linux}\fancyhead[CE]{Jochen K黳per}\fancyhead[CO]{The Serial Port Driver of Real-Time Linux}\author{J.\ K黳per}\affil{Heinrich Heine Universit鋞, Institut f黵 Physikalische Chemie~I,   Universit鋞sstra遝 1, D--40225 D黶seldorf, Deutschland}\email{jochen@pc1.uni-duesseldorf.de}\begin{abstract}   This documentation describes the rt\_com serial port driver for RT-Linux.   The driver works with \href{http://www.rtlinux.org}{NMT RT-Linux} v1 and v2,   as well as \href{http://www.rtai.org}{RTAI}. \\   This manual is intended to describe \texttt{rt\_com} version 0.5.\end{abstract}\section{License}This document is free. You can redistribute it and/or modify it under theterms of the GNU General Public License as published by the Free SoftwareFoundation either version 2 of the License, or (at your option) any laterversion. This document is distributed in the hope that it will be useful, but\emph{without any warranty}. Without even the implied warranty of\emph{merchantability} or \emph{fitness for a particular purpose}. See theGNU General Public License for more details. You should have received a copy ofthe GNU General Public License along with this document.  If not, write to theFree Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139, USA.\section{Copyright(s)}\noindent\copyright 1997-2000, Jochen K黳per. All rights reserved.\section{Typographic Conventions}The conventions used in this document are described in Table~\ref{tab:habits}.\begin{table}   \centering   \caption{Typographical Conventions for this Document}   \label{tab:habits}   \begin{tabular}{lcr}      \hline \hline                                       %% two ruled lines      & & \\                                              %% blank line      Markup & Usage & Effect \\                          %% column header(s)      & & \\                                              %% blank line      \hline                                              %% one ruled line      & & \\                                              %% blank line      \verb"\rtlin{"\arg{blue type-face}\verb"}" &        %% row 1 data      \rtlnormal{user input} &       \rtlin{blue type-face} \\      \verb"\rtlout{"\arg{magenta sans-serif}\verb"}" &   %% row 2 data      \rtlnormal{machine output} &       \rtlout{magenta sans-serif} \\      \verb"\rtlnormal{"\arg{black times-roman}\verb"}" & %% row 3 data      \rtlnormal{normal text (reset)} &       \rtlnormal{black times-roman} \\      \verb"\rtlmargin{"\arg{teal italic}\verb"}" &       %% row 4 data      \rtlnormal{margin notes} &       \rtlti{teal italic} \\      & & \\                                              %% blank line      \hline \hline                                       %% two ruled lines   \end{tabular}\end{table}For reasons of clarity, the \verb"\rtlmargin" is not shown as a margin notewithin the table.  Verbatim-like output can be set using the \verb"\begin{rtlcode}" \ldots \verb"\end{rtlcode}" environment (Daly et al.\ 2000).\section{Introduction}This manual describes the \texttt{rt\_com} kernel module.  The module providesa reasonable easy software interface to the standard serial ports of the PCsfor NMT RT-Linux v1 and v2 and RTAI.There are a small number of user functions that provide an interface to theport, as well as several functions internally used to communicate with thehardware.\section{Availability}The primary site of this package is\href{http://www-public.rz.uni-duesseldorf.de/~jochen/computer/software/rt_com/}{rt\_com   homepage}. It is also distributed with RT-Linux systems from\href{http://www.rtlinux.org}{NMT} and \href{http://ww.rtai.org}{RTAI}.\section{Installation}The rt\_com package you obtained should contain the source code(\texttt{rt\_com.h}, \texttt{rt\_com.c}, \texttt{rt\_comP.h}), the makefile(\texttt{Makefile}), some informational files (\texttt{COPYING},\texttt{License}, \texttt{README}) and this documentation --- the documetationmaster file is \texttt{rt\_com.tex}, it is also available in Portable DocumentFormat (PDF) \texttt{rt\_com.pdf}. Moreover there are a few examples to testthe module and to show you how to program it in the directory \texttt{test/}.In order to run the module on a NMT-RT-Linux v1 system (Linux kernel 2.0.x) oron RTAI you need to define \texttt{RTLINUX\_V1 or RTAI}, respectivly, atcompile time.  For this edit the \texttt{Makefile} and add the define to the\texttt{CFLAGS} variable.To compile the module \rtlin{cd} to the rt\_com directory and do \\\rtlin{make \&\& make install}. \\When you obtained this module with a RT-Linuxdistribution, see the distribution for installation instructions.\section{Interface functions}\subsection{Setting up a serial port}This is to set up the port for use by your module by providing someinitialization data. The function is declared as\begin{rtlcode}void rt_com_setup( unsigned int com, unsigned baud, unsigned parity,                   unsigned stopbits, unsigned wordlength )\end{rtlcode} where com is the entry number from the \texttt{rt\_com\_table} (seesection~\ref{sec:rt_com_table}), baud is the Baud rate the port shall beoperated at, parity determines the parity policy to use (possible values are\texttt{RT\_COM\_PARITY\_EVEN}, \texttt{RT\_COM\_PARITY\_NONE},\texttt{RT\_COM\_PARITY\_ODD} - these are defined in \texttt{rt\_com.h}),stopbits and wordlength are self explanatory and take the immediate valuethese flags shall be set at.\subsection{Writing data to a port  }To write data to a port you need to call the function \texttt{rt\_com\_write},which is declared as\begin{rtlcode}void rt_com_write( unsigned int com, char *buf, int cnt )\end{rtlcode} where com is the entry number from the \texttt{rt\_com\_table} (seesection~\ref{sec:rt_com_table}), buf is the memory address ofthe data to write to the port, cnt is the number of bytes that shall bewritten.\subsection{Reading data from a port}To read data from a port you need to call the function rt\_com\_read, which isdeclared as\begin{rtlcode}int rt_com_read( unsigned int com, char *buf, int cnt )\end{rtlcode} where com is the entry number from the \texttt{rt\_com\_table} (seesection~\ref{sec:rt_com_table}), buf is the memory address the data read shallbe put in, cnt is the maximum number of bytes that shall be read. The functionreturns the number of bytes that really have been read.\section{Internals}\subsection{Loading the module into memory}\label{sec:init_module}When the module gets loaded it requests the port memory and registers theinterrupt service routine (ISR) for each member of the rt\_com\_table (seeparagraph \ref{sec:rt_com_table} {(rt\_com\_table)}). Moreover it initializesall ports.On success it reports the loading of the module, otherwise it releases allresources, reports the failure and exits without the module beeing loaded.\subsection{Removing the module}Before the module is removed from memory, the function cleanup\_module freesall allocated resources.\section{Data Structures}\subsection{rt\_buf\_struct}\label{sec:rt_buf_struct}Structure to implement software FIFOs. Used for buffering of the data thatneeds to be written to the port and data read from hardware that needs to beread by the user. The FIFO size is given by the define\texttt{RT\_COM\_BUF\_SIZ}; it has to be a power of two.\subsection{rt\_com\_struct}Defines the hardware parameter of one serial port. The members of thisstructure are a magic number (not used yet), the base rate of the port (115200for standard ports), the port number, the interrupt number (IRQ) of the port,the flags set for this port, the ISR (see paragraph \ref{sec:init_module}{(init\_module)}) the type and a copy of the IER register. Moreover itcontains two FIFOs as defined by the {\ttfamily rt\_buf\_struc} (see paragraph\ref{sec:rt_buf_struct} {(rt\_buf\_struct)}), one for reading from the portand one for writing to it, respectively.\subsection{rt\_com\_table}\label{sec:rt_com_table}This array holds a rt\_com\_struct for each serial port to be handled by themodule.\section{Bugs}Please report bugs to \href{mailto:jochen@uni-duesseldorf.de}{Jochen K黳per}and the \href{mailto:rtl@rtlinux.cs.nmt.edu}{RT-Linux mailing list}.There are no known bugs right now. \section{Document Revision History}\noindent07. January 2000, JK: Changed from sgml to rtldoc.\noindent\textit{last changed}: \rcsInfoLongDate, \rcsInfoOwner\hfill\acknowledgements The rt\_com package is based on code sent to theReal-Time Linux mailing list by Jens Michaelsen in 1997.\href{mailto:finaz@tin.it}{Roberto Finazzi} contributed various extensions tort\_com, esp. hardware control, handshaking.  Linux is a registered trade markof Linus Torvalds.\begin{references}   \reference Daly, P.\ N.,\ Mahoney, T.\ J.,\ and K黳per, J.\    \rtlrefdp{RTLDOC \LaTeXe{} Template and Style File}{1}\end{references}\end{document}\endinput%% Local Variables:%% buffer-tag-table: TAGS%% mode: LaTeX%% mode: auto-fill%% fill-column: 78%% End:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷久久久亚洲一区二区三区| 一区二区三区四区亚洲| 久久草av在线| 欧美一区二区三区在| 国产精品大尺度| 伊人婷婷欧美激情| 国产主播一区二区三区| 欧美午夜片在线观看| 精品女同一区二区| 亚洲二区在线视频| 高清在线不卡av| 欧美一级艳片视频免费观看| 亚洲天堂福利av| 国产一区二区精品在线观看| 欧美视频中文字幕| 国产精品天天看| 国内精品第一页| 欧美精品免费视频| 亚洲人成亚洲人成在线观看图片| 精品一区二区三区不卡| 欧美丰满高潮xxxx喷水动漫| 亚洲女人的天堂| 成人av综合一区| 久久久久久久久岛国免费| 日本亚洲视频在线| 欧美人妇做爰xxxⅹ性高电影| 亚洲欧美一区二区三区极速播放| 国产精品一区二区三区99| 日韩欧美三级在线| 男男成人高潮片免费网站| 欧美日韩亚洲不卡| 亚洲一区二区视频在线观看| 99re热视频精品| 国产精品欧美精品| 国产成人免费高清| 中文字幕av一区二区三区免费看 | 欧美吻胸吃奶大尺度电影 | 成人av在线播放网站| 久久精品一区二区三区不卡牛牛| 美女网站一区二区| 日韩精品一区二区三区三区免费| 强制捆绑调教一区二区| 91精品国产91久久久久久一区二区| 亚洲电影在线免费观看| 欧美日韩一区三区四区| 亚洲国产精品久久久久秋霞影院| 欧美日韩国产首页| 青青草国产精品97视觉盛宴| 欧美大肚乱孕交hd孕妇| 国产一区二区三区香蕉| 久久精品一二三| 9i在线看片成人免费| 亚洲日本在线视频观看| 欧美三级蜜桃2在线观看| 亚洲丰满少妇videoshd| 91精品国产综合久久久蜜臀图片| 伦理电影国产精品| 国产喷白浆一区二区三区| www.日韩av| 亚洲成人福利片| 777a∨成人精品桃花网| 国产美女精品在线| 国产精品嫩草影院av蜜臀| 在线观看精品一区| 美女一区二区视频| 国产精品日韩精品欧美在线| 色国产综合视频| 免费日韩伦理电影| 欧美激情一区二区三区蜜桃视频| 91高清视频在线| 久久99精品国产91久久来源| 国产精品久久久久9999吃药| 欧美日韩三级一区二区| 国产一区二区三区免费播放 | 日韩区在线观看| 国产激情一区二区三区| 亚洲综合区在线| 久久综合狠狠综合久久综合88| 波多野结衣在线一区| 青青草精品视频| 国产精品污www在线观看| 日韩三级免费观看| 不卡区在线中文字幕| 日韩国产精品久久| 亚洲图片欧美激情| 日韩精品一区二区三区三区免费| 成人动漫视频在线| 美女网站色91| 一区二区三区欧美日韩| 久久久久久电影| 欧美精品久久99| a美女胸又www黄视频久久| 男人操女人的视频在线观看欧美 | 欧美一区二区人人喊爽| 国产一区二区三区国产| 亚洲免费高清视频在线| 久久精品亚洲乱码伦伦中文| 欧美精品日韩一区| 色综合一个色综合| 国产乱码一区二区三区| 日韩精品一二三四| 中文字幕av在线一区二区三区| 欧美一级免费观看| 在线一区二区视频| av一区二区不卡| 国产成人在线网站| 精品一区二区三区蜜桃| 蜜桃精品视频在线| 视频一区二区三区中文字幕| 亚洲一区二区精品视频| 亚洲日本在线看| 亚洲欧美在线另类| 欧美国产97人人爽人人喊| 久久精品欧美日韩精品| 欧美精品一区二区三| 欧美xxxxx牲另类人与| 欧美一区二区三区免费大片| 日韩美女啊v在线免费观看| www成人在线观看| 日韩丝袜情趣美女图片| 欧美一二三四在线| 日韩一二在线观看| 久久美女高清视频| 久久亚洲综合色| 国产偷国产偷精品高清尤物| 久久精品亚洲精品国产欧美kt∨ | 亚洲美女免费视频| 亚洲欧美国产毛片在线| 一区二区在线免费| 亚洲综合丝袜美腿| 午夜精品视频一区| 日韩高清在线电影| 精彩视频一区二区三区| 激情综合色播激情啊| 国产不卡免费视频| 99久久免费视频.com| 99国产精品久| 欧美日韩一区精品| 欧美成人性战久久| 欧美高清视频一二三区 | 久久爱另类一区二区小说| 久久不见久久见中文字幕免费| 国内久久精品视频| 岛国av在线一区| 色综合久久久久| 91精品国产一区二区三区| 日韩你懂的在线观看| 亚洲国产精品黑人久久久| 亚洲美女电影在线| 美女一区二区久久| 波多野结衣精品在线| 欧美午夜一区二区| 国产精品福利一区| 亚洲一卡二卡三卡四卡无卡久久| 热久久久久久久| 国产91精品免费| 欧美日韩国产综合一区二区 | 欧美午夜不卡在线观看免费| 亚洲曰韩产成在线| 久久97超碰色| 99re这里都是精品| 精品国产成人系列| 一区二区三区在线观看网站| 久久99精品国产91久久来源| 99re66热这里只有精品3直播| 777a∨成人精品桃花网| 中文字幕在线观看一区| 日本欧美在线看| 99国内精品久久| 26uuu国产一区二区三区| 亚洲人精品午夜| 国产一区二区三区黄视频| 91成人在线免费观看| 欧美激情在线观看视频免费| 天天操天天综合网| 91视频观看视频| 久久精品亚洲乱码伦伦中文 | 欧美国产日韩精品免费观看| 日韩一区欧美二区| 色婷婷av一区二区三区大白胸| 欧美精品一区二区精品网| 亚洲午夜精品一区二区三区他趣| 风间由美性色一区二区三区| 欧美一区二区播放| 亚洲一区二区三区影院| 成人免费福利片| 久久久精品国产免费观看同学| 日韩不卡在线观看日韩不卡视频| 色婷婷狠狠综合| 国产精品久久久一本精品| 国产一区在线精品| 日韩精品专区在线| 视频一区中文字幕| 在线电影国产精品| 亚洲第一搞黄网站| 在线精品观看国产| 一区二区三区91| 91丨九色porny丨蝌蚪| 国产精品免费久久| 成人小视频免费在线观看|