description.txt
来自「BCAM 1394 Driver」· 文本 代码 · 共 39 行
TXT
39 行
/*!
\mainpage BACCDemo - Sample Program
\section sect_1 Introduction
This program is a sample for usage of the class CBcamAdapter and CNode.
\section sect_2 Usage
Use one of the following command line options to control the application:
- \em /Topology dumps the topology of the 1394 bus.
- \em /Reset resets the 1394 bus.</td>
- \em /Resources retrieves the available isochronous resources.
- \em /NoticeBusResets installs a callback routine for bus reset events.
\section sect_3 Implementation
\subsection subsect_1 Topology
For each adapter, the topology tree is retrieved. Using a recursive descent, each node is visited.
The physical id, the vendor, and the model name are displayed if available.
\subsection subsect_2 Reset
The first adapter is opened and a bus reset is issued.
\subsection subsect_3 Resources
The first adapter is opened. Next, the available bandwidth (Bytes Per Packet) at 400 Mbit/sec is queried.
Finally, the number of available isochronous channels is retrieved. Each item in the bitmask represents an
available channel.
\subsection subsect_4 Notice Bus Resets
For each adapter, a callback function is registered. This function will be invoked whenever a bus reset occurs.
Bus resets are noticed until a key is pressed.
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?