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

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

?? pulse.h

?? avr cpu 庫源代碼 對avr單片機編程很有幫助
?? H
字號:
/*! \file pulse.h \brief Pulse/frequency generation function library. */
//*****************************************************************************
//
// File Name	: 'pulse.h'
// Title		: Pulse/frequency generation function library
// Author		: Pascal Stang - Copyright (C) 2000-2002
// Created		: 2002-08-19
// Revised		: 2003-05-29
// Version		: 0.7
// Target MCU	: Atmel AVR Series
// Editor Tabs	: 4
//
///	\ingroup driver_avr
/// \defgroup pulse Pulse/Frequency Generation Function Library (pulse.c)
/// \code
///		#include "timer.h"
///		#include "pulse.h"
/// \endcode
/// \par Overview
///		This library is designed to facilitate the output of square wave pulses
/// at a frequency determined by the user.  The user may specify a continuous
/// stream of pulses, or a certain fixed number. Common uses include stepper
/// motor speed control, tone generation, communications, etc.  The library
/// uses the AVR processor built-in timers and pulse output is on the timer
/// Output Compare (OC) pins.  This library requires the timer function
/// library to work.
///
///	The allowable range of frequencies which can be generated is governed
///	by the tic rate of the timer (therefore the CPU clock rate and the
///	timer prescaler), and the computing speed of the processor itself. See
///	the SetFreq commands for more details.
///
///	\Note In order for the pulse library to work, pulseInit() will attach
///	the pulse service routines to the timer interrupts using the
///	timerAttach function. You must not detach the service routines during
///	pulse library operation.
//
// This code is distributed under the GNU Public License
//		which can be found at http://www.gnu.org/licenses/gpl.txt
//
//*****************************************************************************

#ifndef PULSE_H
#define PULSE_H

#include "global.h"

// constants/macros/typdefs

// functions

// Master Pulse Commands
// pulseInit()
//		Initializes the pulse system/library.
void pulseInit(void);

// Pulse commands for timer1
// pulseT1Init()
//		configures the timer1 hardware to produce pulses on pins OC1A and OC1B.
//		A "pulse" is considered to be one high and low period of a square wave.
void pulseT1Init(void);

// pulseT1Off()
//		Turns pulse output off immediately (cancels running pulse operations).
//		Unconfigures hardware and interrupts.
void pulseT1Off(void);

//	pulseT1ASetFreq() and pulseT1BSetFreq()
//		sets the frequency in hertz for each channel of square-wave pulse output
//		Note1: the freqency <freqHz> must always be greater than zero
//		Note2: both channels share the same frequency range which is governed
//		by the timer1 prescaler setting.  A prescaler setting of DIV/8 allows
//		frequencies of a few hertz through a few kilohertz.
//
//		Lower frequency bound = overflow rate of timer1 at current prescaling
//		Upper frequency bound = the tics rate of timer1 at current prescaling,
//								or approx. the (clock rate of the processor)/50,
//								whichever is smaller
void pulseT1ASetFreq(u16 freqHz);
void pulseT1BSetFreq(u16 freqHz);

// pulseT1ARun() and pulseT1BRun();
//		Sets the number of square-wave pulses to be output on the given channel.
//		For continuous (unlimited) pulse output, use nPulses = 0.  Pulses begin
//		coming out immediately.
//		Note: <nPulses> must be between 0 and 32767
void pulseT1ARun(u16 nPulses);
void pulseT1BRun(u16 nPulses);

// pulseT1AStop() and pulseT1BStop();
//		Stop pulse output at the next cycle (regardless of the number of
//		remaining pulses).
void pulseT1AStop(void);
void pulseT1BStop(void);

// pulseT1ARemaining() and pulseT1BRemaining()
//		Returns the number of pulses remaining to be output for each channel.
//		This function is useful for figuring out if the pulses are done.
u16  pulseT1ARemaining(void);
u16  pulseT1BRemaining(void);

// pulseT1AService() and pulseT1BService()
//		Interrupt service routines for pulse output (do not call these functions directly)
void pulseT1AService(void);
void pulseT1BService(void);


#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一二三在| 国内精品免费在线观看| 免费成人在线观看视频| 国产99久久久久| 欧美福利一区二区| 中文字幕一区视频| 久久国产精品一区二区| 色天使色偷偷av一区二区| 日韩免费视频一区| 亚洲一区免费观看| 成人国产精品免费网站| 日韩一区二区免费电影| 一区二区三区视频在线观看| 黄色日韩网站视频| 制服丝袜亚洲播放| 亚洲欧美电影院| 成人午夜视频免费看| 日韩色在线观看| 婷婷久久综合九色综合伊人色| 国产91色综合久久免费分享| 精品久久久影院| 日韩电影免费在线| 欧美日韩成人在线| 亚洲二区在线观看| 91福利在线导航| 亚洲色图视频免费播放| 成人午夜激情在线| 欧美高清在线一区| 成人一区二区三区视频在线观看| 精品乱人伦一区二区三区| 婷婷综合久久一区二区三区| 欧美中文字幕一区二区三区| 亚洲嫩草精品久久| 91麻豆国产精品久久| 中文字幕视频一区二区三区久| 处破女av一区二区| 国产精品女同一区二区三区| 福利视频网站一区二区三区| 久久久影院官网| 国产a久久麻豆| 国产精品乱人伦| 99精品视频中文字幕| 亚洲视频一二三区| 91国产精品成人| 亚洲国产wwwccc36天堂| 欧美日韩国产大片| 久久国产成人午夜av影院| 日韩欧美精品在线视频| 久久爱另类一区二区小说| 精品久久久久久亚洲综合网| 国产精品自拍在线| 国产精品传媒视频| 欧美在线观看一区| 日韩av一区二区在线影视| 欧美成人三级在线| 成人精品免费视频| 樱桃视频在线观看一区| 欧美精品久久一区二区三区| 国产精品一区二区男女羞羞无遮挡| 国产欧美精品一区二区色综合| 成人av影院在线| 亚洲国产精品尤物yw在线观看| 91精品国产欧美一区二区成人 | 91蜜桃传媒精品久久久一区二区| 国产精品不卡在线| 欧美精品 日韩| 国产成人av电影在线| 亚洲精品成人在线| 精品久久99ma| 91网站视频在线观看| 男女激情视频一区| 日韩理论电影院| 宅男噜噜噜66一区二区66| 国产成+人+日韩+欧美+亚洲| 亚洲尤物视频在线| 久久久天堂av| 欧美视频在线一区二区三区 | 亚洲图片你懂的| 91麻豆精品国产91久久久久久 | av影院午夜一区| 男人的j进女人的j一区| 亚洲特黄一级片| 精品国产网站在线观看| 色8久久人人97超碰香蕉987| 精品一区二区三区免费观看| 自拍偷拍欧美激情| 亚洲精品在线网站| 8x8x8国产精品| 一本大道综合伊人精品热热 | 国产精品资源在线观看| 亚洲chinese男男1069| 国产欧美精品一区二区三区四区| 这里只有精品视频在线观看| 91日韩精品一区| 国产高清不卡二三区| 日韩av在线发布| 亚洲成人av中文| 综合久久国产九一剧情麻豆| 精品福利av导航| 欧美一区日本一区韩国一区| 91黄视频在线| 91污在线观看| 99国产精品久久久久| 国产老妇另类xxxxx| 蜜桃av一区二区| 亚洲h动漫在线| 亚洲最新视频在线播放| 国产精品短视频| 国产精品视频免费看| 久久久99免费| 久久女同互慰一区二区三区| 日韩色视频在线观看| 在线播放欧美女士性生活| 91传媒视频在线播放| 91美女片黄在线观看| 99久久精品免费| 不卡的av中国片| 9i在线看片成人免费| 成人精品鲁一区一区二区| 粉嫩一区二区三区在线看| 国产成人精品一区二区三区四区 | 午夜精品一区二区三区电影天堂 | 亚洲第一久久影院| 亚洲第一av色| 日本va欧美va精品发布| 日韩影院免费视频| 美女高潮久久久| 国产做a爰片久久毛片| 国产美女精品一区二区三区| 国产一本一道久久香蕉| 粉嫩一区二区三区在线看| 成人久久久精品乱码一区二区三区| 成人午夜激情片| 色激情天天射综合网| 欧美日韩精品三区| 日韩欧美国产麻豆| 国产午夜精品久久| 亚洲色图欧美在线| 午夜视黄欧洲亚洲| 久久不见久久见中文字幕免费| 国产乱码字幕精品高清av| av一二三不卡影片| 欧美日韩久久不卡| 精品粉嫩超白一线天av| 欧美国产成人精品| 亚洲午夜精品17c| 久久精品国产999大香线蕉| 福利视频网站一区二区三区| 91老师片黄在线观看| 欧美精品三级日韩久久| 国产拍揄自揄精品视频麻豆| 亚洲欧美日韩人成在线播放| 五月婷婷激情综合| 国产精品系列在线观看| 一本久道中文字幕精品亚洲嫩 | 亚洲成人免费视频| 国产一区二区三区四区五区美女| 国产成人av一区| 欧美日韩激情一区二区| 久久精品网站免费观看| 国产精品第一页第二页第三页| 天天免费综合色| 国产jizzjizz一区二区| 欧美日韩大陆在线| 亚洲欧洲精品天堂一级| 日韩精品亚洲专区| 91香蕉视频mp4| 久久这里只有精品6| 一区二区三区欧美亚洲| 国产精品自拍毛片| 欧美三级欧美一级| 亚洲欧洲三级电影| 狠狠色2019综合网| 欧美精品高清视频| 亚洲激情综合网| 粉嫩嫩av羞羞动漫久久久| 91精品在线观看入口| 亚洲欧美日韩精品久久久久| 久久超碰97人人做人人爱| 在线观看www91| 亚洲欧洲国产日韩| 国产精品一区二区在线观看不卡 | 精品成人一区二区三区四区| 亚洲伊人色欲综合网| 成人毛片视频在线观看| 精品国产乱码久久久久久1区2区| 亚洲影院在线观看| 色欧美乱欧美15图片| 国产精品私房写真福利视频| 精品一区二区在线播放| 91精品国产综合久久香蕉的特点| 亚洲欧美激情在线| 91网站在线播放| 中文字幕在线一区| 成人免费黄色在线| 国产精品卡一卡二| 成人免费视频视频在线观看免费| 久久网这里都是精品| 国内成人免费视频| 久久久久综合网|