⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basic-rtt-project.html

📁 at91sam7x的最新版Ucos-II内核源码.
💻 HTML
字号:
<!DOCTYPE PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>Atmel Corporation - Basic RTT 1.4</title>
        <link rel="stylesheet" type="text/css" href="css/style.css" />
    </head>
    
    <body>
        <h1>Basic RTT Project 1.4</h1>

        <div id="breadcrumb">
            <a href="../index.html">Main</a> >
            <a href="examples.html">Examples</a> >
            RTT
        </div>

        <h2>Purpose</h2>
        <p>
            This example demonstrates the Real-Time Timer (RTT) provided on AT91 microcontrollers. It enables
            the user to set an alarm and watch it being triggered when the timer reaches the corresponding value.
        </p>

        <div class="requirements">
            <h2>Hardware Requirements</h2>
            <p>
                This package can be used with any of the AT91 Evaluation Kits except the AT91SAM7L-EK and AT91SAM7L-STK.
            </p>
        </div>

        <h2>Description</h2>
        <p>
            When launched, this program displays a timer count and a menu on the DBGU, enabling the user
            to choose between several options:
            <ul>
                <li>Reset the timer</li>
                <li>Set an alarm time</li>
                <li>Clear an alarm notification if one is being displayed</li>
            </ul>
        </p>
        <p>
            The user can set an alarm time by selecting option 2 ('s'), entering the alarm time and pressing
            the enter key. Once the alarm is set, a message will be displayed when the corresponding time is reached.
        </p>

        <h2>Usage</h2>
        <ol>
            <li>
                Build and download the program inside the evaluation board.  Please refer
                to the <a href="http://www.atmel.com/dyn/resources/prod_documents/doc6132.pdf">SAM-BA User Guide</a>,
                the <a href="http://www.atmel.com/dyn/resources/prod_documents/doc6310.pdf">GNU-Based Software Development</a>
                application note or to the <a href="http://www.iar.se/website1/1.0.1.0/78/1/index.php?">IAR EWARM User Guide</a>,
                depending on your chosen solution.
            </li>
            <li>
                On the computer, open the DBGU port with a terminal application
                (e.g. HyperTerminal on Microsoft Windows).
            </li>
            <ul>
                <li>Settings: 115200 bauds, 8 bits, 1 stop bit, no parity, no flow control.</li>
            </ul>
            <li>
                Start the application.
            </li>
            <li>
                The application menu should appear as shown below:
                <blockquote>
                    <code>
                        -- Basic RTT Project 1.4 --<br />
                        Time: 0<br />
                        Menu:<br />
                         r - Reset timer<br />
                         s - Set alarm<br />
                        <br />
                        Choice?<br />
                    </code>
                </blockquote>
                The user can then choose any of the available options to perform the described
                action.
            </li>
        </ol>
        <h6>Atmel Corporation ©2008</h6>
    </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -