本文整理汇总了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 );
}
示例2: MPU_vTaskSetThreadLocalStoragePointer
void MPU_vTaskSetThreadLocalStoragePointer( TaskHandle_t xTaskToSet, BaseType_t xIndex, void *pvValue )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskSetThreadLocalStoragePointer( xTaskToSet, xIndex, pvValue );
vPortResetPrivilege( xRunningPrivileged );
}
示例3: MPU_vTaskList
void MPU_vTaskList( char *pcWriteBuffer )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskList( pcWriteBuffer );
vPortResetPrivilege( xRunningPrivileged );
}
示例4: MPU_vTaskGetRunTimeStats
void MPU_vTaskGetRunTimeStats( char *pcWriteBuffer )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskGetRunTimeStats( pcWriteBuffer );
vPortResetPrivilege( xRunningPrivileged );
}
示例5: MPU_vTaskResume
void MPU_vTaskResume( TaskHandle_t pxTaskToResume )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskResume( pxTaskToResume );
vPortResetPrivilege( xRunningPrivileged );
}
示例6: MPU_vTaskSuspendAll
void MPU_vTaskSuspendAll( void )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskSuspendAll();
vPortResetPrivilege( xRunningPrivileged );
}
示例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 );
}
示例8: MPU_vTaskSuspend
void MPU_vTaskSuspend( TaskHandle_t pxTaskToSuspend )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskSuspend( pxTaskToSuspend );
vPortResetPrivilege( xRunningPrivileged );
}
示例9: MPU_vTaskPrioritySet
void MPU_vTaskPrioritySet( TaskHandle_t pxTask, UBaseType_t uxNewPriority )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskPrioritySet( pxTask, uxNewPriority );
vPortResetPrivilege( xRunningPrivileged );
}
示例10: MPU_vTaskDelay
void MPU_vTaskDelay( TickType_t xTicksToDelay )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskDelay( xTicksToDelay );
vPortResetPrivilege( xRunningPrivileged );
}
示例11: MPU_vTaskDelayUntil
void MPU_vTaskDelayUntil( TickType_t * const pxPreviousWakeTime, TickType_t xTimeIncrement )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskDelayUntil( pxPreviousWakeTime, xTimeIncrement );
vPortResetPrivilege( xRunningPrivileged );
}
示例12: MPU_vTaskSetTimeOutState
void MPU_vTaskSetTimeOutState( TimeOut_t * const pxTimeOut )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskSetTimeOutState( pxTimeOut );
vPortResetPrivilege( xRunningPrivileged );
}
示例13: MPU_vTimerSetTimerID
void MPU_vTimerSetTimerID( TimerHandle_t xTimer, void *pvNewID )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTimerSetTimerID( xTimer, pvNewID );
vPortResetPrivilege( xRunningPrivileged );
}
示例14: MPU_vEventGroupDelete
void MPU_vEventGroupDelete( EventGroupHandle_t xEventGroup )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vEventGroupDelete( xEventGroup );
vPortResetPrivilege( xRunningPrivileged );
}
示例15: MPU_vTaskAllocateMPURegions
void MPU_vTaskAllocateMPURegions( TaskHandle_t xTask, const MemoryRegion_t * const xRegions )
{
BaseType_t xRunningPrivileged = xPortRaisePrivilege();
vTaskAllocateMPURegions( xTask, xRegions );
vPortResetPrivilege( xRunningPrivileged );
}