?? 00000009.htm
字號:
<?xml version="1.0" encoding="gb2312"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"/><title>Part of sys_conf.h(pSOS for PowerPC/V2 turbolinux </title></head><body><center><h1>BBS 水木清華站∶精華區</h1></center><a name="top"></a>發信人: nonsun (無晴), 信區: Embedded <br />標 題: Part of sys_conf.h(pSOS for PowerPC/V2.5.0) <br />發信站: BBS 水木清華站 (Wed Nov 15 00:11:04 2000) <br /> <br />Part of sys_conf.h(pSOS for PowerPC/V2.5.0) <br /> <br />/***********************************************************************/ <br />/* */ <br />/* S E R I A L C H A N N E L C O N F I G U R A T I O N */ <br />/* */ <br />/* * SD_DEF_BAUD specifies the default baud rate to be used for the */ <br />/* serial channels */ <br />/* * SC_APP_CONSOLE specifies the serial channel number (starting */ <br />/* from 1) which should be used for the application's "console". */ <br />/* * SC_PROBE_CONSOLE specifies the serial channel number (starting */ <br />/* from 1) which pROBE+ should use to display output and receive */ <br />/* commands, or to communicate with the host debugger. */ <br />/* * SC_RBUG_PORT specifies the serial channel number (starting */ <br />/* from 1) which will be used for the connnect between the host */ <br />/* debugger and the pROBE+ on the target. This is not needed if */ <br />/* the host debugger is using the network connection. It can be */ <br />/* disabled by using a value of 0. Note the port specified by */ <br />/* SC_RBUG_PORT port should not be used by the application except */ <br />/* for SC_PROBE_CONSOLE. For example, you should not set */ <br />/* SC_RBUG_PORT and SC_APP_CONSOLE to the same serial channel */ <br />/* unless you don't use the host debugger when the application is */ <br />/* running. */ <br />/* */ <br />/* Above three macros SC_PROBE_CONSOLE, SC_APP_CONSOLE and */ <br />/* SC_RBUG_PORT uses SERIAL_DRVRNUM(0) as default. This means that */ <br />/* the Low-Level Serial Driver 0 (1) is being used default. */ <br />/* */ <br />/* If you need to use another driver for any of the above macros */ <br />/* and another macro for pMONT PM_DEV, You need to change "0" to */ <br />/* the driver number you want. Consult the "README" file in BSP */ <br />/* directory for number of different drivers supported and for the */ <br />/* SERIAL_DRVRNUM mapping for those drivers. */ <br />/* */ <br />/***********************************************************************/ <br />#define SD_DEF_BAUD 9600 <br />#define SC_APP_CONSOLE (1 + SERIAL_DRVRNUM(0)) <br />#define SC_PROBE_CONSOLE (1 + SERIAL_DRVRNUM(0)) <br />#define SC_RBUG_PORT (0 + SERIAL_DRVRNUM(0)) <br /> <br /> <br />-- <br /> <br /> 我歌月徘徊,我舞影零亂 <br /> <br /> 醒時同交歡,醉后各分散 <br /> <br /> <br />※ 來源:·BBS 水木清華站 smth.org·[FROM: 202.205.10.160] <br /><a href="00000008.htm">上一篇</a><a href="javascript:history.go(-1)">返回上一頁</a><a href="index.htm">回到目錄</a><a href="#top">回到頁首</a><a href="00000010.htm">下一篇</a></h1></center><center><h1>BBS 水木清華站∶精華區</h1></center></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -