当前位置: 首页>>代码示例>>C++>>正文


C++ xPortRaisePrivilege函数代码示例

本文整理汇总了C++中xPortRaisePrivilege函数的典型用法代码示例。如果您正苦于以下问题:C++ xPortRaisePrivilege函数的具体用法?C++ xPortRaisePrivilege怎么用?C++ xPortRaisePrivilege使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了xPortRaisePrivilege函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: MPU_vTaskSetApplicationTaskTag

	void MPU_vTaskSetApplicationTaskTag( TaskHandle_t xTask, TaskHookFunction_t pxTagValue )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskSetApplicationTaskTag( xTask, pxTagValue );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例2: MPU_vTaskSetThreadLocalStoragePointer

	void MPU_vTaskSetThreadLocalStoragePointer( TaskHandle_t xTaskToSet, BaseType_t xIndex, void *pvValue )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskSetThreadLocalStoragePointer( xTaskToSet, xIndex, pvValue );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例3: MPU_vTaskList

	void MPU_vTaskList( char *pcWriteBuffer )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskList( pcWriteBuffer );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例4: MPU_vTaskGetRunTimeStats

	void MPU_vTaskGetRunTimeStats( char *pcWriteBuffer )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskGetRunTimeStats( pcWriteBuffer );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例5: MPU_vTaskResume

	void MPU_vTaskResume( TaskHandle_t pxTaskToResume )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskResume( pxTaskToResume );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例6: MPU_vTaskSuspendAll

void MPU_vTaskSuspendAll( void )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();

	vTaskSuspendAll();
	vPortResetPrivilege( xRunningPrivileged );
}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例7: MPU_vTaskGetInfo

	void MPU_vTaskGetInfo( TaskHandle_t xTask, TaskStatus_t *pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskGetInfo( xTask, pxTaskStatus, xGetFreeStackSpace, eState );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例8: MPU_vTaskSuspend

	void MPU_vTaskSuspend( TaskHandle_t pxTaskToSuspend )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskSuspend( pxTaskToSuspend );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例9: MPU_vTaskPrioritySet

	void MPU_vTaskPrioritySet( TaskHandle_t pxTask, UBaseType_t uxNewPriority )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskPrioritySet( pxTask, uxNewPriority );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例10: MPU_vTaskDelay

	void MPU_vTaskDelay( TickType_t xTicksToDelay )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskDelay( xTicksToDelay );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例11: MPU_vTaskDelayUntil

	void MPU_vTaskDelayUntil( TickType_t * const pxPreviousWakeTime, TickType_t xTimeIncrement )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTaskDelayUntil( pxPreviousWakeTime, xTimeIncrement );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例12: MPU_vTaskSetTimeOutState

void MPU_vTaskSetTimeOutState( TimeOut_t * const pxTimeOut )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();

	vTaskSetTimeOutState( pxTimeOut );
	vPortResetPrivilege( xRunningPrivileged );
}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例13: MPU_vTimerSetTimerID

	void MPU_vTimerSetTimerID( TimerHandle_t xTimer, void *pvNewID )
	{
	BaseType_t xRunningPrivileged = xPortRaisePrivilege();

		vTimerSetTimerID( xTimer, pvNewID );
		vPortResetPrivilege( xRunningPrivileged );
	}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例14: MPU_vEventGroupDelete

void MPU_vEventGroupDelete( EventGroupHandle_t xEventGroup )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();

	vEventGroupDelete( xEventGroup );
	vPortResetPrivilege( xRunningPrivileged );
}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c

示例15: MPU_vTaskAllocateMPURegions

void MPU_vTaskAllocateMPURegions( TaskHandle_t xTask, const MemoryRegion_t * const xRegions )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();

	vTaskAllocateMPURegions( xTask, xRegions );
	vPortResetPrivilege( xRunningPrivileged );
}
开发者ID:sean93park,项目名称:freertos,代码行数:7,代码来源:mpu_wrappers.c


注:本文中的xPortRaisePrivilege函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。