本文整理汇总了C++中portRESET_PRIVILEGE函数的典型用法代码示例。如果您正苦于以下问题:C++ portRESET_PRIVILEGE函数的具体用法?C++ portRESET_PRIVILEGE怎么用?C++ portRESET_PRIVILEGE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了portRESET_PRIVILEGE函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: MPU_xTaskResumeAll
signed portBASE_TYPE MPU_xTaskResumeAll( void )
{
signed portBASE_TYPE xReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
xReturn = xTaskResumeAll();
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例2: MPU_xQueueAltGenericSend
BaseType_t MPU_xQueueAltGenericSend( QueueHandle_t pxQueue, const void * const pvItemToQueue, TickType_t xTicksToWait, BaseType_t xCopyPosition )
{
BaseType_t xReturn;
BaseType_t xRunningPrivileged = prvRaisePrivilege();
xReturn = BaseType_t xQueueAltGenericSend( pxQueue, pvItemToQueue, xTicksToWait, xCopyPosition );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dgu123,项目名称:qpcpp,代码行数:9,代码来源:port.c
示例3: vPortEnterCritical
void vPortEnterCritical( void )
{
BaseType_t xRunningPrivileged = prvRaisePrivilege();
portDISABLE_INTERRUPTS();
uxCriticalNesting++;
portRESET_PRIVILEGE( xRunningPrivileged );
}
开发者ID:dgu123,项目名称:qpcpp,代码行数:9,代码来源:port.c
示例4: MPU_xQueueGiveMutexRecursive
BaseType_t MPU_xQueueGiveMutexRecursive( QueueHandle_t xMutex )
{
BaseType_t xReturn;
BaseType_t xRunningPrivileged = prvRaisePrivilege();
xReturn = xQueueGiveMutexRecursive( xMutex );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dgu123,项目名称:qpcpp,代码行数:9,代码来源:port.c
示例5: MPU_xQueueSelectFromSet
QueueSetMemberHandle_t MPU_xQueueSelectFromSet( QueueSetHandle_t xQueueSet, TickType_t xBlockTimeTicks )
{
QueueSetMemberHandle_t xReturn;
BaseType_t xRunningPrivileged = prvRaisePrivilege();
xReturn = xQueueSelectFromSet( xQueueSet, xBlockTimeTicks );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dgu123,项目名称:qpcpp,代码行数:9,代码来源:port.c
示例6: MPU_xQueueGetMutexHolder
void* MPU_xQueueGetMutexHolder( QueueHandle_t xSemaphore )
{
BaseType_t xRunningPrivileged = prvRaisePrivilege();
void * xReturn;
xReturn = ( void * ) xQueueGetMutexHolder( xSemaphore );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dgu123,项目名称:qpcpp,代码行数:9,代码来源:port.c
示例7: MPU_xQueueCreateCountingSemaphore
QueueHandle_t MPU_xQueueCreateCountingSemaphore( UBaseType_t uxCountValue, UBaseType_t uxInitialCount )
{
QueueHandle_t xReturn;
BaseType_t xRunningPrivileged = prvRaisePrivilege();
xReturn = xQueueCreateCountingSemaphore( uxCountValue, uxInitialCount );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dgu123,项目名称:qpcpp,代码行数:9,代码来源:port.c
示例8: MPU_uxTaskGetStackHighWaterMark
unsigned portBASE_TYPE MPU_uxTaskGetStackHighWaterMark( xTaskHandle xTask )
{
unsigned portBASE_TYPE uxReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
uxReturn = uxTaskGetStackHighWaterMark( xTask );
portRESET_PRIVILEGE( xRunningPrivileged );
return uxReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例9: MPU_xTaskGetCurrentTaskHandle
xTaskHandle MPU_xTaskGetCurrentTaskHandle( void )
{
xTaskHandle xReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
xReturn = xTaskGetCurrentTaskHandle();
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例10: MPU_xTaskGetApplicationTaskTag
pdTASK_HOOK_CODE MPU_xTaskGetApplicationTaskTag( xTaskHandle xTask )
{
pdTASK_HOOK_CODE xReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
xReturn = xTaskGetApplicationTaskTag( xTask );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例11: MPU_xTaskCallApplicationTaskHook
portBASE_TYPE MPU_xTaskCallApplicationTaskHook( xTaskHandle xTask, void *pvParameter )
{
portBASE_TYPE xReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
xReturn = xTaskCallApplicationTaskHook( xTask, pvParameter );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例12: MPU_ulTaskEndTrace
unsigned long MPU_ulTaskEndTrace( void )
{
unsigned long ulReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
ulReturn = ulTaskEndTrace();
portRESET_PRIVILEGE( xRunningPrivileged );
return ulReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例13: MPU_uxTaskGetNumberOfTasks
unsigned portBASE_TYPE MPU_uxTaskGetNumberOfTasks( void )
{
unsigned portBASE_TYPE uxReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
uxReturn = uxTaskGetNumberOfTasks();
portRESET_PRIVILEGE( xRunningPrivileged );
return uxReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例14: MPU_xTaskGetTickCount
portTickType MPU_xTaskGetTickCount( void )
{
portTickType xReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
xReturn = xTaskGetTickCount();
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例15: MPU_xQueueTakeMutexRecursive
portBASE_TYPE MPU_xQueueTakeMutexRecursive( xQueueHandle xMutex, portTickType xBlockTime )
{
portBASE_TYPE xReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
xReturn = xQueueTakeMutexRecursive( xMutex, xBlockTime );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例16: MPU_xTaskGetSchedulerState
portBASE_TYPE MPU_xTaskGetSchedulerState( void )
{
portBASE_TYPE xReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
xReturn = xTaskGetSchedulerState();
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例17: MPU_xQueuePeekFromISR
BaseType_t MPU_xQueuePeekFromISR( QueueHandle_t pxQueue, void * const pvBuffer )
{
BaseType_t xRunningPrivileged = prvRaisePrivilege();
BaseType_t xReturn;
xReturn = xQueuePeekFromISR( pxQueue, pvBuffer );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dgu123,项目名称:qpcpp,代码行数:9,代码来源:port.c
示例18: MPU_xQueueCreate
xQueueHandle MPU_xQueueCreate( unsigned portBASE_TYPE uxQueueLength, unsigned portBASE_TYPE uxItemSize )
{
xQueueHandle xReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
xReturn = xQueueCreate( uxQueueLength, uxItemSize );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
示例19: MPU_xQueueCreateMutex
QueueHandle_t MPU_xQueueCreateMutex( void )
{
QueueHandle_t xReturn;
BaseType_t xRunningPrivileged = prvRaisePrivilege();
xReturn = xQueueCreateMutex( queueQUEUE_TYPE_MUTEX );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dgu123,项目名称:qpcpp,代码行数:9,代码来源:port.c
示例20: MPU_xQueueGenericSend
signed portBASE_TYPE MPU_xQueueGenericSend( xQueueHandle xQueue, const void * const pvItemToQueue, portTickType xTicksToWait, portBASE_TYPE xCopyPosition )
{
signed portBASE_TYPE xReturn;
portBASE_TYPE xRunningPrivileged = prvRaisePrivilege();
xReturn = xQueueGenericSend( xQueue, pvItemToQueue, xTicksToWait, xCopyPosition );
portRESET_PRIVILEGE( xRunningPrivileged );
return xReturn;
}
开发者ID:dessel,项目名称:stf12,代码行数:9,代码来源:port.c
注:本文中的portRESET_PRIVILEGE函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论