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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? timer128_8h-source.html

?? ATMEL的AVR單片機庫文件
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Procyon AVRlib: timer128.h Source File</title><link href="dox.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.6 --><div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>timer128.h</h1><a href="timer128_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*! \file timer128.h \brief System Timer function library for Mega128. */</span>00002 <span class="comment">//*****************************************************************************</span>00003 <span class="comment">//</span>00004 <span class="comment">// File Name    : 'timer128.h'</span>00005 <span class="comment">// Title        : System Timer function library for Mega128</span>00006 <span class="comment">// Author       : Pascal Stang - Copyright (C) 2000-2003</span>00007 <span class="comment">// Created      : 11/22/2000</span>00008 <span class="comment">// Revised      : 02/10/2003</span>00009 <span class="comment">// Version      : 1.1</span>00010 <span class="comment">// Target MCU   : Atmel AVR Series</span>00011 <span class="comment">// Editor Tabs  : 4</span>00012 <span class="comment">//</span>00013 <span class="comment">// This code is distributed under the GNU Public License</span>00014 <span class="comment">//      which can be found at http://www.gnu.org/licenses/gpl.txt</span>00015 <span class="comment">//</span>00016 <span class="comment">//</span>00017 <span class="comment">// Notes:   The Atmel AVR Series Processors each contain at least one</span>00018 <span class="comment">//          hardware timer/counter.  Many of the processors contain 2 or 3</span>00019 <span class="comment">//          timers.  Generally speaking, a timer is a hardware counter inside</span>00020 <span class="comment">//          the processor which counts at a rate related to the main CPU clock</span>00021 <span class="comment">//          frequency.  Because the counter value increasing (counting up) at</span>00022 <span class="comment">//          a precise rate, we can use it as a timer to create or measure </span>00023 <span class="comment">//          precise delays, schedule events, or generate signals of a certain</span>00024 <span class="comment">//          frequency or pulse-width.</span>00025 <span class="comment">//              As an example, the ATmega163 processor has 3 timer/counters.</span>00026 <span class="comment">//          Timer0, Timer1, and Timer2 are 8, 16, and 8 bits wide respectively.</span>00027 <span class="comment">//          This means that they overflow, or roll over back to zero, at a</span>00028 <span class="comment">//          count value of 256 for 8bits or 65536 for 16bits.  A prescaler is</span>00029 <span class="comment">//          avaiable for each timer, and the prescaler allows you to pre-divide</span>00030 <span class="comment">//          the main CPU clock rate down to a slower speed before feeding it to</span>00031 <span class="comment">//          the counting input of a timer.  For example, if the CPU clock</span>00032 <span class="comment">//          frequency is 3.69MHz, and Timer0's prescaler is set to divide-by-8,</span>00033 <span class="comment">//          then Timer0 will "tic" at 3690000/8 = 461250Hz.  Because Timer0 is</span>00034 <span class="comment">//          an 8bit timer, it will count to 256 in just 256/461250Hz = 0.555ms.</span>00035 <span class="comment">//          In fact, when it hits 255, it will overflow and start again at</span>00036 <span class="comment">//          zero.  In this case, Timer0 will overflow 461250/256 = 1801.76</span>00037 <span class="comment">//          times per second.</span>00038 <span class="comment">//              Timer0 can be used a number of ways simultaneously.  First, the</span>00039 <span class="comment">//          value of the timer can be read by accessing the CPU register TCNT0.</span>00040 <span class="comment">//          We could, for example, figure out how long it takes to execute a</span>00041 <span class="comment">//          C command by recording the value of TCNT0 before and after</span>00042 <span class="comment">//          execution, then subtract (after-before) = time elapsed.  Or we can</span>00043 <span class="comment">//          enable the overflow interrupt which goes off every time T0</span>00044 <span class="comment">//          overflows and count out longer delays (multiple overflows), or</span>00045 <span class="comment">//          execute a special periodic function at every overflow.</span>00046 <span class="comment">//              The other timers (Timer1 and Timer2) offer all the abilities of</span>00047 <span class="comment">//          Timer0 and many more features.  Both T1 and T2 can operate as</span>00048 <span class="comment">//          general-purpose timers, but T1 has special hardware allowing it to</span>00049 <span class="comment">//          generate PWM signals, while T2 is specially designed to help count</span>00050 <span class="comment">//          out real time (like hours, minutes, seconds).  See the</span>00051 <span class="comment">//          Timer/Counter section of the processor datasheet for more info.</span>00052 <span class="comment">//</span>00053 <span class="comment">//*****************************************************************************</span>00054 00055 <span class="preprocessor">#ifndef TIMER128_H</span>00056 <span class="preprocessor"></span><span class="preprocessor">#define TIMER128_H</span>00057 <span class="preprocessor"></span>00058 <span class="preprocessor">#include "<a class="code" href="global_8h.html">global.h</a>"</span>00059 00060 <span class="comment">// constants/macros/typdefs</span>00061 00062 <span class="comment">// Timer/clock prescaler values and timer overflow rates</span>00063 <span class="comment">// tics = rate at which the timer counts up</span>00064 <span class="comment">// 8bitoverflow = rate at which the timer overflows 8bits (or reaches 256)</span>00065 <span class="comment">// 16bit [overflow] = rate at which the timer overflows 16bits (65536)</span>00066 <span class="comment">// </span>00067 <span class="comment">// overflows can be used to generate periodic interrupts</span>00068 <span class="comment">//</span>00069 <span class="comment">// for 8MHz crystal</span>00070 <span class="comment">// 0 = STOP (Timer not counting)</span>00071 <span class="comment">// 1 = CLOCK        tics= 8MHz          8bitoverflow= 31250Hz       16bit= 122.070Hz</span>00072 <span class="comment">// 2 = CLOCK/8      tics= 1MHz          8bitoverflow= 3906.25Hz     16bit=  15.259Hz</span>00073 <span class="comment">// 3 = CLOCK/64     tics= 125kHz        8bitoverflow=  488.28Hz     16bit=   1.907Hz</span>00074 <span class="comment">// 4 = CLOCK/256    tics= 31250Hz       8bitoverflow=  122.07Hz     16bit=  0.477Hz</span>00075 <span class="comment">// 5 = CLOCK/1024   tics= 7812.5Hz      8bitoverflow=   30.52Hz     16bit=   0.119Hz</span>00076 <span class="comment">// 6 = External Clock on T(x) pin (falling edge)</span>00077 <span class="comment">// 7 = External Clock on T(x) pin (rising edge)</span>00078 00079 <span class="comment">// for 4MHz crystal</span>00080 <span class="comment">// 0 = STOP (Timer not counting)</span>00081 <span class="comment">// 1 = CLOCK        tics= 4MHz          8bitoverflow= 15625Hz       16bit=  61.035Hz</span>00082 <span class="comment">// 2 = CLOCK/8      tics= 500kHz        8bitoverflow= 1953.125Hz    16bit=   7.629Hz</span>00083 <span class="comment">// 3 = CLOCK/64     tics= 62500Hz       8bitoverflow=  244.141Hz    16bit=   0.954Hz</span>00084 <span class="comment">// 4 = CLOCK/256    tics= 15625Hz       8bitoverflow=   61.035Hz    16bit=   0.238Hz</span>00085 <span class="comment">// 5 = CLOCK/1024   tics= 3906.25Hz     8bitoverflow=   15.259Hz    16bit=   0.060Hz</span>00086 <span class="comment">// 6 = External Clock on T(x) pin (falling edge)</span>00087 <span class="comment">// 7 = External Clock on T(x) pin (rising edge)</span>00088 00089 <span class="comment">// for 3.69MHz crystal</span>00090 <span class="comment">// 0 = STOP (Timer not counting)</span>00091 <span class="comment">// 1 = CLOCK        tics= 3.69MHz       8bitoverflow= 14414Hz       16bit=  56.304Hz</span>00092 <span class="comment">// 2 = CLOCK/8      tics= 461250Hz      8bitoverflow= 1801.758Hz    16bit=   7.038Hz</span>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产手机| 97久久精品人人做人人爽50路| 久久精品男人的天堂| 国产精品一区免费视频| 91蜜桃免费观看视频| 美女一区二区视频| 亚洲另类在线一区| 久久久精品欧美丰满| 91精品久久久久久久91蜜桃| 99热这里都是精品| 国产一区二区伦理片| 亚洲成人综合网站| 亚洲丝袜制服诱惑| 国产日韩欧美高清| 欧美成人一区二区三区片免费| 在线观看网站黄不卡| 成人av免费在线| 国产米奇在线777精品观看| 亚洲成人久久影院| 亚洲日本免费电影| 国产精品福利一区二区| 国产日产欧美精品一区二区三区| 在线播放国产精品二区一二区四区 | 日韩欧美不卡一区| 欧美三级在线播放| 欧美亚洲一区二区在线观看| 99精品一区二区| 成人毛片视频在线观看| 成人一区二区三区在线观看| 国产一区二区毛片| 国产在线播放一区二区三区| 久久国产精品区| 蜜臀av性久久久久蜜臀aⅴ| 午夜一区二区三区在线观看| 亚洲一二三区在线观看| 一二三四社区欧美黄| 亚洲图片激情小说| 樱花影视一区二区| 亚洲精品精品亚洲| 亚洲国产精品精华液网站| 依依成人综合视频| 亚洲国产成人精品视频| 亚洲一区二区av在线| 亚洲午夜电影在线观看| 亚洲二区视频在线| 手机精品视频在线观看| 免费欧美在线视频| 精品在线视频一区| 国产精品综合一区二区| 懂色av一区二区三区免费看| 9色porny自拍视频一区二区| 99久久精品国产导航| 91国产福利在线| 欧美欧美欧美欧美| 日韩视频永久免费| 久久婷婷综合激情| 中文在线一区二区| 亚洲另类一区二区| 日韩精品电影在线| 国产一区在线观看麻豆| 成熟亚洲日本毛茸茸凸凹| 9i在线看片成人免费| 欧美三级日韩在线| 日韩欧美亚洲另类制服综合在线| 2020国产精品自拍| 国产精品久久久久久久浪潮网站 | 午夜精品一区二区三区电影天堂| 午夜视频在线观看一区二区| 裸体在线国模精品偷拍| 国产精品99久| 欧美丝袜丝交足nylons图片| 日韩午夜激情av| 欧美国产一区在线| 亚洲免费电影在线| 奇米精品一区二区三区在线观看一| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲观看高清完整版在线观看 | 日本不卡视频在线观看| 国产麻豆91精品| 91久久精品午夜一区二区| 91精品久久久久久久99蜜桃| 欧美激情一区在线观看| 亚洲图片欧美综合| 九九久久精品视频| 91麻豆国产在线观看| 91精品国产高清一区二区三区蜜臀| 久久精品一区八戒影视| 亚洲高清在线精品| 国产成人亚洲综合a∨猫咪| 欧美日韩国产一区| 国产亚洲va综合人人澡精品| 伊人色综合久久天天| 精品亚洲免费视频| 色狠狠色噜噜噜综合网| 精品裸体舞一区二区三区| 亚洲色图都市小说| 精品一区二区av| 色久综合一二码| 国产欧美一区二区在线观看| 丝袜美腿亚洲一区| 91丨porny丨在线| 久久久久久久久97黄色工厂| 三级在线观看一区二区| 色哟哟一区二区三区| 国产偷v国产偷v亚洲高清| 人人超碰91尤物精品国产| 91在线视频播放地址| 久久久久亚洲蜜桃| 免费精品视频在线| 色婷婷国产精品| 中文字幕在线观看一区二区| 韩国v欧美v日本v亚洲v| 91精品中文字幕一区二区三区| 亚洲视频电影在线| 国产精品18久久久久久久网站| 欧美二区三区91| 亚洲亚洲精品在线观看| av在线一区二区| 国产视频一区在线观看| 精品一区二区免费在线观看| 欧美另类久久久品| 亚洲国产精品久久人人爱| 91在线观看美女| 国产精品美女www爽爽爽| 黑人精品欧美一区二区蜜桃| 日韩三级在线免费观看| 日韩精品久久久久久| 欧美日韩在线免费视频| 亚洲一区日韩精品中文字幕| 99re热这里只有精品免费视频| 国产日韩欧美麻豆| 精品亚洲成a人在线观看 | 成人免费一区二区三区视频| 国产.欧美.日韩| 国产精品嫩草久久久久| 不卡的av在线| 亚洲女爱视频在线| 色综合天天综合狠狠| 亚洲毛片av在线| 欧美丝袜丝交足nylons| 香港成人在线视频| 91精品在线观看入口| 日本91福利区| www久久久久| 成人网在线免费视频| 国产精品第四页| 在线欧美日韩国产| 天天影视涩香欲综合网| 欧美精品1区2区| 麻豆一区二区三区| 久久久av毛片精品| 99精品国产99久久久久久白柏| 综合自拍亚洲综合图不卡区| 在线观看视频欧美| 日本aⅴ免费视频一区二区三区| 亚洲精品一线二线三线| 国产成+人+日韩+欧美+亚洲| 国产精品美女www爽爽爽| 在线视频欧美精品| 日韩激情中文字幕| 日韩精品一区二区在线观看| 国产成人综合精品三级| 国产精品第13页| 欧美美女黄视频| 国精品**一区二区三区在线蜜桃| 欧美国产日韩精品免费观看| 色综合久久久久久久久| 日韩精品成人一区二区在线| 亚洲精品一区二区三区香蕉| 成人理论电影网| 婷婷一区二区三区| 国产色爱av资源综合区| 在线免费一区三区| 狠狠狠色丁香婷婷综合久久五月| 国产精品久久精品日日| 91精选在线观看| 懂色一区二区三区免费观看| 亚洲成av人片在www色猫咪| 亚洲精品在线电影| 欧美性做爰猛烈叫床潮| 激情久久五月天| 亚洲一区视频在线| 久久久精品综合| 欧美伊人久久大香线蕉综合69 | 91女人视频在线观看| 日韩专区欧美专区| 久久久无码精品亚洲日韩按摩| 不卡视频一二三| 奇米色一区二区三区四区| 国产精品日日摸夜夜摸av| 欧美精品乱码久久久久久| 国产99久久久久| 蜜臂av日日欢夜夜爽一区| 亚洲欧洲精品一区二区三区不卡| 欧美精品亚洲一区二区在线播放| 国内精品视频一区二区三区八戒| 亚洲男同性视频| 中文字幕精品在线不卡| 3atv一区二区三区| 91麻豆国产福利在线观看|