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

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

?? portmacro.h

?? FREE_RTOS一個(gè)FREE的小型操作系統(tǒng).
?? H
字號(hào):
/*
	FreeRTOS V3.2.0 - Copyright (C) 2003, 2004 Richard Barry.

	This file is part of the FreeRTOS distribution.

	FreeRTOS 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 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; 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, 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.
	***************************************************************************
*/


#ifndef PORTMACRO_H
#define PORTMACRO_H

/*-----------------------------------------------------------
 * Port specific definitions.  
 *
 * The settings in this file configure FreeRTOS correctly for the
 * given hardware and compiler.
 *
 * These settings should not be altered.
 *-----------------------------------------------------------
 */

/* Type definitions. */
#define portCHAR		char
#define portFLOAT		float
#define portDOUBLE		double
#define portLONG		long
#define portSHORT		short
#define portSTACK_TYPE	unsigned portLONG

#if( configUSE_16_BIT_TICKS == 1 )
	typedef unsigned portSHORT portTickType;
	#define portMAX_DELAY ( portTickType ) 0xffff
#else
	typedef unsigned portLONG portTickType;
	#define portMAX_DELAY ( portTickType ) 0xffffffff
#endif
/*-----------------------------------------------------------*/	

/* Architecture specifics. */
#define portSTACK_GROWTH			( -1 )
#define portTICK_RATE_MS			( ( portTickType ) 1000 / configTICK_RATE_HZ )		
#define portBYTE_ALIGNMENT			4
/*-----------------------------------------------------------*/	

/* Task utilities. */

/*
 * portRESTORE_CONTEXT, portRESTORE_CONTEXT, portENTER_SWITCHING_ISR
 * and portEXIT_SWITCHING_ISR can only be called from ARM mode, but
 * are included here for efficiency.  An attempt to call one from
 * THUMB mode code will result in a compile time error.
 */

#define portRESTORE_CONTEXT()											\
{																		\
extern volatile void * volatile pxCurrentTCB;							\
extern volatile unsigned portLONG ulCriticalNesting;					\
																		\
	/* Set the LR to the task stack. */									\
	asm volatile ( "LDR		R0, %0" : : "m" (pxCurrentTCB) );			\
	asm volatile ( "LDR		LR, [R0]" );								\
																		\
	/* The critical nesting depth is the first item on the stack. */	\
	/* Load it into the ulCriticalNesting variable. */					\
	asm volatile ( "LDR		R0, =ulCriticalNesting" );					\
	asm volatile ( "LDMFD	LR!, {R1}" );								\
	asm volatile ( "STR		R1, [R0]" );								\
																		\
	/* Get the SPSR from the stack. */									\
	asm volatile ( "LDMFD	LR!, {R0}" );								\
	asm volatile ( "MSR		SPSR, R0" );								\
																		\
	/* Restore all system mode registers for the task. */				\
	asm volatile ( "LDMFD	LR, {R0-R14}^" );							\
	asm volatile ( "NOP" );												\
																		\
	/* Restore the return address. */									\
	asm volatile ( "LDR		LR, [LR, #+60]" );							\
																		\
	/* And return - correcting the offset in the LR to obtain the */	\
	/* correct address. */												\
	asm volatile ( "SUBS	PC, LR, #4" );								\
	( void ) ulCriticalNesting;											\
}
/*-----------------------------------------------------------*/

#define portSAVE_CONTEXT()												\
{																		\
extern volatile void * volatile pxCurrentTCB;							\
extern volatile unsigned portLONG ulCriticalNesting;					\
																		\
	/* Push R0 as we are going to use the register. */					\
	asm volatile ( "STMDB	SP!, {R0}" );								\
																		\
	/* Set R0 to point to the task stack pointer. */					\
	asm volatile ( "STMDB	SP,{SP}^" );								\
	asm volatile ( "SUB		SP, SP, #4" );								\
	asm volatile ( "LDMIA	SP!,{R0}" );								\
																		\
	/* Push the return address onto the stack. */						\
	asm volatile ( "STMDB	R0!, {LR}" );								\
																		\
	/* Now we have saved LR we can use it instead of R0. */				\
	asm volatile ( "MOV		LR, R0" );									\
																		\
	/* Pop R0 so we can save it onto the system mode stack. */			\
	asm volatile ( "LDMIA	SP!, {R0}" );								\
																		\
	/* Push all the system mode registers onto the task stack. */		\
	asm volatile ( "STMDB	LR,{R0-LR}^");								\
	asm volatile ( "SUB		LR, LR, #60" );								\
																		\
	/* Push the SPSR onto the task stack. */							\
	asm volatile ( "MRS		R0, SPSR" );								\
	asm volatile ( "STMDB	LR!, {R0}" );								\
																		\
	asm volatile ( "LDR		R0, =ulCriticalNesting " );					\
	asm volatile ( "LDR		R0, [R0]" );								\
	asm volatile ( "STMDB	LR!, {R0}" );								\
																		\
	/* Store the new top of stack for the task. */						\
	asm volatile ( "LDR		R0, %0" : : "m" (pxCurrentTCB) );			\
	asm volatile ( "STR		LR, [R0]" );								\
	( void ) ulCriticalNesting;											\
}


/*-----------------------------------------------------------
 * ISR entry and exit macros.  These are only required if a task switch
 * is required from the ISR.
 *----------------------------------------------------------*/


#define portENTER_SWITCHING_ISR()										\
	/* Save the context of the interrupted task. */						\
	portSAVE_CONTEXT();													\
																		\
	/* We don't know the stack requirements for the ISR, so the frame */\
	/* pointer will be set to the top of the task stack, and the stack*/\
	/* pointer left where it is.  The IRQ stack will get used for any */\
	/* functions calls made by this ISR. */								\
	asm volatile ( "MOV		R11, LR" );									\
	{

#define portEXIT_SWITCHING_ISR( SwitchRequired )						\
		/* If a switch is required then we just need to call */			\
		/* vTaskSwitchContext() as the context has already been */		\
		/* saved. */													\
		if( SwitchRequired )											\
		{																\
			vTaskSwitchContext();										\
		}																\
	}																	\
	/* Restore the context of which ever task is now the highest */		\
	/* priority that is ready to run. */								\
	portRESTORE_CONTEXT();

#define portYIELD()					asm volatile ( "SWI" );	
/*-----------------------------------------------------------*/

/* Critical section handling. */
extern void vPortDisableInterruptsFromThumb( void ) __attribute__ ((naked));
extern void vPortEnableInterruptsFromThumb( void ) __attribute__ ((naked));

#define portDISABLE_INTERRUPTS()	vPortDisableInterruptsFromThumb()
#define portENABLE_INTERRUPTS()		vPortEnableInterruptsFromThumb()
	
extern void vPortEnterCritical( void );
extern void vPortExitCritical( void );

#define portENTER_CRITICAL()		vPortEnterCritical();
#define portEXIT_CRITICAL()			vPortExitCritical();
/*-----------------------------------------------------------*/

/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vTaskFunction, pvParameters ) void vTaskFunction( void *pvParameters ) __attribute__ ((naked))
#define portTASK_FUNCTION( vTaskFunction, pvParameters ) void vTaskFunction( void *pvParameters )

#endif /* PORTMACRO_H */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日本高清视频在线观看| 精品国产髙清在线看国产毛片| 日本va欧美va瓶| 国产精品三级av在线播放| 欧美女孩性生活视频| 成人福利视频在线| 久久66热re国产| 亚洲成人资源在线| 亚洲日本中文字幕区| 久久久久九九视频| 欧美一区二区三区影视| 在线中文字幕不卡| 不卡的电视剧免费网站有什么| 久久激五月天综合精品| 亚洲第一电影网| 亚洲欧美日韩中文字幕一区二区三区| 久久综合一区二区| 日韩一区二区在线观看视频播放| 欧美性受xxxx| 色婷婷综合在线| 91在线视频在线| 风流少妇一区二区| 国产精品88888| 国产在线精品免费av| 免费观看成人鲁鲁鲁鲁鲁视频| 丁香婷婷综合激情五月色| 麻豆视频观看网址久久| 午夜精品免费在线观看| 洋洋成人永久网站入口| 亚洲免费在线视频| 最新久久zyz资源站| 中文字幕二三区不卡| 国产人成亚洲第一网站在线播放| 日韩美女主播在线视频一区二区三区| 欧美人妇做爰xxxⅹ性高电影 | 亚洲国产精品久久艾草纯爱| 国产精品国产三级国产| 欧美国产日产图区| 欧美国产精品劲爆| 国产视频911| 中文字幕免费在线观看视频一区| 国产亚洲精品aa午夜观看| 久久精品视频在线免费观看| 国产性天天综合网| 国产视频一区在线播放| 中文字幕欧美激情| 国产精品动漫网站| 亚洲精品久久久久久国产精华液| 亚洲一区二区欧美| 亚洲无线码一区二区三区| 亚洲高清不卡在线| 日本网站在线观看一区二区三区 | 久久在线观看免费| 国产亚洲欧美日韩日本| 国产精品你懂的在线| 中文字幕在线免费不卡| 一区av在线播放| 日韩精品一级中文字幕精品视频免费观看 | 精品视频一区 二区 三区| 在线不卡a资源高清| 一区二区三区**美女毛片| 一区二区不卡在线播放| 男人操女人的视频在线观看欧美| 久久99最新地址| 成人三级在线视频| 在线观看国产日韩| 日韩欧美亚洲一区二区| 亚洲国产精品t66y| 亚洲国产综合在线| 精品一区二区三区影院在线午夜| 成人一区二区三区中文字幕| 色8久久精品久久久久久蜜| 在线电影院国产精品| 久久精品一区二区三区不卡| 亚洲图片欧美激情| 青青草97国产精品免费观看| 国产a精品视频| 欧美日韩免费观看一区三区| 精品蜜桃在线看| 亚洲激情在线激情| 另类专区欧美蜜桃臀第一页| aa级大片欧美| 日韩午夜中文字幕| 日韩伦理av电影| 麻豆成人av在线| 在线影视一区二区三区| 久久综合狠狠综合久久综合88| 国产精品狼人久久影院观看方式| 亚洲动漫第一页| 成人免费看的视频| 欧美一级在线视频| 中文字幕在线免费不卡| 日本午夜精品一区二区三区电影| caoporn国产精品| 欧美白人最猛性xxxxx69交| 亚洲激情图片qvod| 国产成人精品一区二区三区网站观看| 欧美人与性动xxxx| 综合亚洲深深色噜噜狠狠网站| 精品综合免费视频观看| 亚洲欧美一区二区三区久本道91| 日本不卡在线视频| 色猫猫国产区一区二在线视频| 国产视频一区在线播放| 青青草91视频| 精品视频色一区| 亚洲欧美日韩精品久久久久| 国产精品亚洲午夜一区二区三区 | 欧美日韩一卡二卡| 国产精品不卡在线| 国产盗摄一区二区三区| 日韩欧美一级在线播放| 午夜视频在线观看一区二区| 一本久久a久久精品亚洲| 国产亚洲综合在线| 加勒比av一区二区| 91精品黄色片免费大全| 亚洲午夜在线观看视频在线| 成人激情电影免费在线观看| 久久久久国产精品人| 久久精品国产一区二区三| 欧美久久久久免费| 亚洲高清在线视频| 在线观看一区二区视频| 亚洲欧美偷拍卡通变态| 99久久99久久免费精品蜜臀| 欧美极品xxx| 丰满少妇在线播放bd日韩电影| 久久综合九色综合97_久久久| 激情综合色综合久久综合| 日韩三级.com| 久久99国产精品久久99| 精品国产免费人成在线观看| 久久精品国产网站| 欧美大片日本大片免费观看| 久久99久久99| 久久综合久久99| 国产成人亚洲综合a∨婷婷| 国产日韩av一区| 成人蜜臀av电影| |精品福利一区二区三区| 91啪九色porn原创视频在线观看| 亚洲欧洲制服丝袜| 欧美午夜精品免费| 香蕉久久一区二区不卡无毒影院| 欧美人xxxx| 国内精品伊人久久久久av影院 | 久久国产欧美日韩精品| 精品久久久久久亚洲综合网| 国产一区二区三区蝌蚪| 国产色一区二区| 99久久亚洲一区二区三区青草| 日韩美女啊v在线免费观看| 在线视频你懂得一区| 三级久久三级久久久| 精品国产一区二区在线观看| 国产99久久久精品| 亚洲人123区| 欧美日韩国产精选| 精品一区二区三区在线播放视频| 久久精子c满五个校花| 97久久精品人人爽人人爽蜜臀| 亚洲综合在线第一页| 欧美一卡2卡3卡4卡| 丰满岳乱妇一区二区三区| 亚洲制服丝袜av| 欧美不卡一区二区三区四区| 成人免费高清在线观看| 一二三四区精品视频| 日韩美女视频在线| 粉嫩嫩av羞羞动漫久久久| 亚洲综合一二三区| 精品国产91亚洲一区二区三区婷婷| 国产不卡视频一区二区三区| 一区二区欧美视频| 精品国产91亚洲一区二区三区婷婷| www.日韩大片| 免费在线成人网| 中文字幕在线不卡视频| 91精品国产色综合久久| kk眼镜猥琐国模调教系列一区二区| 亚洲成人综合视频| 中国av一区二区三区| 欧美精品粉嫩高潮一区二区| 国产成人av影院| 日韩激情视频在线观看| 国产精品久久久久久久久搜平片| 欧美日韩国产高清一区二区三区 | 国产精品午夜免费| 欧美三级三级三级| 国产999精品久久久久久| 亚洲gay无套男同| 国产精品乱码妇女bbbb| 日韩视频在线你懂得| 色丁香久综合在线久综合在线观看| 麻豆freexxxx性91精品| 亚洲第一福利视频在线| 亚洲欧美一区二区视频| 久久久综合网站| 7777精品久久久大香线蕉|