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

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

?? flash.c

?? 最新版FreeRTOS, 包擴(kuò)多種開發(fā)平臺(tái)的移植
?? C
字號(hào):
/*
	FreeRTOS.org V4.1.1 - Copyright (C) 2003-2006 Richard Barry.

	This file is part of the FreeRTOS.org distribution.

	FreeRTOS.org is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	FreeRTOS.org is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with FreeRTOS.org; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

	A special exception to the GPL can be applied should you wish to distribute
	a combined work that includes FreeRTOS.org, without being obliged to provide
	the source code for any proprietary components.  See the licensing section 
	of http://www.FreeRTOS.org for full details of how and when the exception
	can be applied.

	***************************************************************************
	See http://www.FreeRTOS.org for documentation, latest information, license 
	and contact details.  Please ensure to read the configuration and relevant 
	port sections of the online documentation.
	***************************************************************************
*/

/**
 * This version of flash .c is for use on systems that have limited stack space
 * and no display facilities.  The complete version can be found in the 
 * Demo/Common/Full directory.
 * 
 * Three tasks are created, each of which flash an LED at a different rate.  The first 
 * LED flashes every 200ms, the second every 400ms, the third every 600ms.
 *
 * The LED flash tasks provide instant visual feedback.  They show that the scheduler 
 * is still operational.
 *
 * The PC port uses the standard parallel port for outputs, the Flashlite 186 port 
 * uses IO port F and the AVR port port B.
 *
 */

/*
Changes from V2.0.0

	+ Delay periods are now specified using variables and constants of
	  portTickType rather than unsigned portLONG.

Changes from V2.5.5

	+ Calls to vTaskDelay() have been replaced with vTaskDelayUntil().

*/

#include <stdlib.h>

/* Scheduler include files. */
#include "FreeRTOS.h"
#include "task.h"

/* Demo program include files. */
#include "partest.h"
#include "flash.h"

#define ledSTACK_SIZE		configMINIMAL_STACK_SIZE
#define ledNUMBER_OF_LEDS	( 3 )
#define ledFLASH_RATE_BASE	( ( portTickType ) 333 )

/* Variable used by the created tasks to calculate the LED number to use, and
the rate at which they should flash the LED. */
static volatile unsigned portBASE_TYPE uxFlashTaskNumber = 0;

/* The task that is created three times. */
static portTASK_FUNCTION_PROTO( vLEDFlashTask, pvParameters );

/*-----------------------------------------------------------*/

void vStartLEDFlashTasks( unsigned portBASE_TYPE uxPriority )
{
signed portBASE_TYPE xLEDTask;

	/* Create the three tasks. */
	for( xLEDTask = 0; xLEDTask < ledNUMBER_OF_LEDS; ++xLEDTask )
	{
		/* Spawn the task. */
		xTaskCreate( vLEDFlashTask, ( const signed portCHAR * const ) "LEDx", ledSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL );
	}
}
/*-----------------------------------------------------------*/

static portTASK_FUNCTION( vLEDFlashTask, pvParameters )
{
portTickType xFlashRate, xLastFlashTime;
unsigned portBASE_TYPE uxLED;

	/* The parameters are not used. */
	( void ) pvParameters;

	/* Calculate the LED and flash rate. */
	portENTER_CRITICAL();
	{
		/* See which of the eight LED's we should use. */
		uxLED = uxFlashTaskNumber;

		/* Update so the next task uses the next LED. */
		uxFlashTaskNumber++;
	}
	portEXIT_CRITICAL();

	xFlashRate = ledFLASH_RATE_BASE + ( ledFLASH_RATE_BASE * ( portTickType ) uxLED );
	xFlashRate /= portTICK_RATE_MS;

	/* We will turn the LED on and off again in the delay period, so each
	delay is only half the total period. */
	xFlashRate /= ( portTickType ) 2;

	/* We need to initialise xLastFlashTime prior to the first call to 
	vTaskDelayUntil(). */
	xLastFlashTime = xTaskGetTickCount();

	for(;;)
	{
		/* Delay for half the flash period then turn the LED on. */
		vTaskDelayUntil( &xLastFlashTime, xFlashRate );
		vParTestToggleLED( uxLED );

		/* Delay for half the flash period then turn the LED off. */
		vTaskDelayUntil( &xLastFlashTime, xFlashRate );
		vParTestToggleLED( uxLED );
	}
} /*lint !e715 !e818 !e830 Function definition must be standard for task creation. */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美午夜精品电影| a在线欧美一区| 欧美成人a视频| 精品在线观看视频| 久久久久久久久蜜桃| 成人精品视频.| 亚洲男女一区二区三区| 在线亚洲一区二区| 亚洲成av人**亚洲成av**| 911精品产国品一二三产区| 蜜臀a∨国产成人精品| 精品福利一二区| 成人精品小蝌蚪| 亚洲午夜在线观看视频在线| 欧美肥妇free| 懂色av一区二区在线播放| 亚洲啪啪综合av一区二区三区| 欧美亚洲综合另类| 久久疯狂做爰流白浆xx| 欧美国产日韩一二三区| 欧美探花视频资源| 精品在线播放免费| 亚洲视频一二三| 日韩一区二区三区视频| 不卡一卡二卡三乱码免费网站| 亚洲最新视频在线播放| 精品少妇一区二区三区免费观看 | 一本到高清视频免费精品| 亚洲国产一区二区三区 | 久久午夜电影网| 色8久久精品久久久久久蜜 | 久久er精品视频| 亚洲欧美综合在线精品| 日韩一区二区免费电影| 99精品欧美一区二区三区小说 | 亚洲色图欧洲色图| 欧美一区二区视频在线观看| 成人免费毛片片v| 日韩高清一区二区| 亚洲三级在线播放| 久久久久久一级片| 精品视频一区三区九区| 福利一区二区在线| 奇米777欧美一区二区| 亚洲天堂精品视频| 久久精品日产第一区二区三区高清版 | 日韩高清在线一区| 1区2区3区欧美| 久久久久久一二三区| 欧美色综合久久| 91麻豆免费看片| 国产乱淫av一区二区三区| 日韩av电影免费观看高清完整版在线观看| 国产精品毛片大码女人| 久久综合久色欧美综合狠狠| 欧美色成人综合| 91色porny| 国产suv精品一区二区883| 老司机精品视频在线| 亚洲电影视频在线| 亚洲资源在线观看| 亚洲激情综合网| 亚洲欧美自拍偷拍| 亚洲欧洲一区二区三区| 中文无字幕一区二区三区 | 日韩电影网1区2区| 亚洲午夜久久久久久久久电影院| 国产精品女主播在线观看| 久久久91精品国产一区二区精品 | 亚洲高清不卡在线| 一区2区3区在线看| 亚洲丝袜美腿综合| 综合网在线视频| 亚洲少妇30p| 亚洲乱码国产乱码精品精98午夜 | 婷婷丁香久久五月婷婷| 亚洲永久免费av| 亚洲成a人v欧美综合天堂| 亚洲sss视频在线视频| 亚洲一区二区三区在线播放| 一区二区高清视频在线观看| 亚洲小说欧美激情另类| 五月综合激情婷婷六月色窝| 日韩精品91亚洲二区在线观看| 肉丝袜脚交视频一区二区| 日韩高清欧美激情| 久久精品99国产精品| 国产精品一区二区三区四区| 成人综合婷婷国产精品久久 | av在线不卡观看免费观看| 99国产精品国产精品久久| 91精彩视频在线| 欧美日韩你懂得| 日韩欧美在线观看一区二区三区| 欧美电视剧在线观看完整版| 久久亚洲一级片| 国产精品情趣视频| 有坂深雪av一区二区精品| 偷拍自拍另类欧美| 精品在线观看视频| 99久久婷婷国产精品综合| 欧美日韩在线直播| 欧美成人午夜电影| 欧美激情一区在线观看| 亚洲欧美在线aaa| 天堂一区二区在线| 国产精品18久久久久久久久久久久| 成人精品高清在线| 555夜色666亚洲国产免| 久久久久国产成人精品亚洲午夜| 最新不卡av在线| 久色婷婷小香蕉久久| 成人av免费在线播放| 精品视频一区二区不卡| 精品日产卡一卡二卡麻豆| 中文字幕亚洲综合久久菠萝蜜| 亚洲成人动漫在线观看| 国产91精品一区二区麻豆网站| 色婷婷激情综合| 精品sm在线观看| 亚洲激情自拍视频| 国产精品一区二区三区网站| 欧美日韩免费电影| 中文字幕国产一区| 免费三级欧美电影| 一本大道综合伊人精品热热| 精品福利视频一区二区三区| 亚洲综合久久久久| 成人动漫一区二区三区| 欧美一区二区三区四区高清 | 欧美猛男gaygay网站| 国产精品欧美一区喷水| 日本午夜精品视频在线观看| 91碰在线视频| 久久理论电影网| 五月综合激情婷婷六月色窝| 99热在这里有精品免费| 久久久久国产精品麻豆ai换脸| 亚洲电影视频在线| 91在线精品秘密一区二区| 精品国产精品一区二区夜夜嗨| 夜夜精品视频一区二区| gogogo免费视频观看亚洲一| 欧美一级高清片| 亚洲18女电影在线观看| 91在线观看高清| 国产女主播一区| 精品一区二区成人精品| 7777精品伊人久久久大香线蕉经典版下载 | 国产婷婷色一区二区三区| 三级精品在线观看| 欧美视频在线不卡| 一区二区三区在线影院| 91视频在线观看免费| 亚洲国产精品二十页| 国产一区福利在线| 精品国产不卡一区二区三区| 天堂成人免费av电影一区| 欧洲av一区二区嗯嗯嗯啊| 亚洲免费在线看| 99国产欧美另类久久久精品| 久久精品一区二区| 国产精品一区二区无线| 久久女同性恋中文字幕| 韩国在线一区二区| 精品国产一区二区在线观看| 久久草av在线| 久久亚洲综合色| 国产成人在线视频网址| 国产欧美一区二区三区在线看蜜臀| 国产一区二区三区四区在线观看| 欧美va亚洲va国产综合| 国产一区在线看| 国产亚洲欧洲一区高清在线观看| 国产一区二区三区免费| 国产女人aaa级久久久级| 国产91精品欧美| 国产精品不卡在线观看| 91丨九色丨蝌蚪富婆spa| 樱桃国产成人精品视频| 欧美在线视频不卡| 日本不卡一区二区三区| 精品国产一区二区三区久久影院| 国产乱子轮精品视频| 国产精品久久久久7777按摩| 91在线观看污| 午夜视频在线观看一区二区三区| 56国语精品自产拍在线观看| 黄色精品一二区| 国产精品色一区二区三区| 色av成人天堂桃色av| 日日摸夜夜添夜夜添精品视频| 日韩欧美在线网站| 成人短视频下载| 夜夜操天天操亚洲| 26uuu欧美日本| 色久优优欧美色久优优| 日本网站在线观看一区二区三区| 久久综合久久综合九色| youjizz国产精品|