@ -34,9 +34,11 @@
# include "list.h"
/* *INDENT-OFF* */
# ifdef __cplusplus
extern " C " {
# endif
/* *INDENT-ON* */
/*-----------------------------------------------------------
* MACROS AND DEFINITIONS
@ -649,7 +651,7 @@
* {
* // Base address Length Parameters
* { ucOneKByte , 1024 , portMPU_REGION_READ_WRITE } ,
* { 0 0 , 0 } ,
* { 0 , 0 , 0 } ,
* { 0 , 0 , 0 }
* } ;
*
@ -1906,8 +1908,10 @@
uint32_t ulValue ,
eNotifyAction eAction ,
uint32_t * pulPreviousNotificationValue ) PRIVILEGED_FUNCTION ;
# define xTaskNotify( xTaskToNotify, ulValue, eAction ) xTaskGenericNotify( ( xTaskToNotify ), ( tskDEFAULT_INDEX_TO_NOTIFY ), ( ulValue ), ( eAction ), NULL )
# define xTaskNotifyIndexed( xTaskToNotify, uxIndexToNotify, ulValue, eAction ) xTaskGenericNotify( ( xTaskToNotify ), ( uxIndexToNotify ), ( ulValue ), ( eAction ), NULL )
# define xTaskNotify( xTaskToNotify, ulValue, eAction ) \
xTaskGenericNotify ( ( xTaskToNotify ) , ( tskDEFAULT_INDEX_TO_NOTIFY ) , ( ulValue ) , ( eAction ) , NULL )
# define xTaskNotifyIndexed( xTaskToNotify, uxIndexToNotify, ulValue, eAction ) \
xTaskGenericNotify ( ( xTaskToNotify ) , ( uxIndexToNotify ) , ( ulValue ) , ( eAction ) , NULL )
/**
* task . h
@ -1931,8 +1935,10 @@
* \ defgroup xTaskNotifyAndQueryIndexed xTaskNotifyAndQueryIndexed
* \ ingroup TaskNotifications
*/
# define xTaskNotifyAndQuery( xTaskToNotify, ulValue, eAction, pulPreviousNotifyValue ) xTaskGenericNotify( ( xTaskToNotify ), ( tskDEFAULT_INDEX_TO_NOTIFY ), ( ulValue ), ( eAction ), ( pulPreviousNotifyValue ) )
# define xTaskNotifyAndQueryIndexed( xTaskToNotify, uxIndexToNotify, ulValue, eAction, pulPreviousNotifyValue ) xTaskGenericNotify( ( xTaskToNotify ), ( uxIndexToNotify ), ( ulValue ), ( eAction ), ( pulPreviousNotifyValue ) )
# define xTaskNotifyAndQuery( xTaskToNotify, ulValue, eAction, pulPreviousNotifyValue ) \
xTaskGenericNotify ( ( xTaskToNotify ) , ( tskDEFAULT_INDEX_TO_NOTIFY ) , ( ulValue ) , ( eAction ) , ( pulPreviousNotifyValue ) )
# define xTaskNotifyAndQueryIndexed( xTaskToNotify, uxIndexToNotify, ulValue, eAction, pulPreviousNotifyValue ) \
xTaskGenericNotify ( ( xTaskToNotify ) , ( uxIndexToNotify ) , ( ulValue ) , ( eAction ) , ( pulPreviousNotifyValue ) )
/**
* task . h
@ -2051,8 +2057,10 @@
eNotifyAction eAction ,
uint32_t * pulPreviousNotificationValue ,
BaseType_t * pxHigherPriorityTaskWoken ) PRIVILEGED_FUNCTION ;
# define xTaskNotifyFromISR( xTaskToNotify, ulValue, eAction, pxHigherPriorityTaskWoken ) xTaskGenericNotifyFromISR( ( xTaskToNotify ), ( tskDEFAULT_INDEX_TO_NOTIFY ), ( ulValue ), ( eAction ), NULL, ( pxHigherPriorityTaskWoken ) )
# define xTaskNotifyIndexedFromISR( xTaskToNotify, uxIndexToNotify, ulValue, eAction, pxHigherPriorityTaskWoken ) xTaskGenericNotifyFromISR( ( xTaskToNotify ), ( uxIndexToNotify ), ( ulValue ), ( eAction ), NULL, ( pxHigherPriorityTaskWoken ) )
# define xTaskNotifyFromISR( xTaskToNotify, ulValue, eAction, pxHigherPriorityTaskWoken ) \
xTaskGenericNotifyFromISR ( ( xTaskToNotify ) , ( tskDEFAULT_INDEX_TO_NOTIFY ) , ( ulValue ) , ( eAction ) , NULL , ( pxHigherPriorityTaskWoken ) )
# define xTaskNotifyIndexedFromISR( xTaskToNotify, uxIndexToNotify, ulValue, eAction, pxHigherPriorityTaskWoken ) \
xTaskGenericNotifyFromISR ( ( xTaskToNotify ) , ( uxIndexToNotify ) , ( ulValue ) , ( eAction ) , NULL , ( pxHigherPriorityTaskWoken ) )
/**
* task . h
@ -2076,8 +2084,10 @@
* \ defgroup xTaskNotifyAndQueryIndexedFromISR xTaskNotifyAndQueryIndexedFromISR
* \ ingroup TaskNotifications
*/
# define xTaskNotifyAndQueryIndexedFromISR( xTaskToNotify, uxIndexToNotify, ulValue, eAction, pulPreviousNotificationValue, pxHigherPriorityTaskWoken ) xTaskGenericNotifyFromISR( ( xTaskToNotify ), ( uxIndexToNotify ), ( ulValue ), ( eAction ), ( pulPreviousNotificationValue ), ( pxHigherPriorityTaskWoken ) )
# define xTaskNotifyAndQueryFromISR( xTaskToNotify, ulValue, eAction, pulPreviousNotificationValue, pxHigherPriorityTaskWoken ) xTaskGenericNotifyFromISR( ( xTaskToNotify ), ( tskDEFAULT_INDEX_TO_NOTIFY ), ( ulValue ), ( eAction ), ( pulPreviousNotificationValue ), ( pxHigherPriorityTaskWoken ) )
# define xTaskNotifyAndQueryIndexedFromISR( xTaskToNotify, uxIndexToNotify, ulValue, eAction, pulPreviousNotificationValue, pxHigherPriorityTaskWoken ) \
xTaskGenericNotifyFromISR ( ( xTaskToNotify ) , ( uxIndexToNotify ) , ( ulValue ) , ( eAction ) , ( pulPreviousNotificationValue ) , ( pxHigherPriorityTaskWoken ) )
# define xTaskNotifyAndQueryFromISR( xTaskToNotify, ulValue, eAction, pulPreviousNotificationValue, pxHigherPriorityTaskWoken ) \
xTaskGenericNotifyFromISR ( ( xTaskToNotify ) , ( tskDEFAULT_INDEX_TO_NOTIFY ) , ( ulValue ) , ( eAction ) , ( pulPreviousNotificationValue ) , ( pxHigherPriorityTaskWoken ) )
/**
* task . h
@ -2185,8 +2195,10 @@
uint32_t ulBitsToClearOnExit ,
uint32_t * pulNotificationValue ,
TickType_t xTicksToWait ) PRIVILEGED_FUNCTION ;
# define xTaskNotifyWait( ulBitsToClearOnEntry, ulBitsToClearOnExit, pulNotificationValue, xTicksToWait ) xTaskGenericNotifyWait( tskDEFAULT_INDEX_TO_NOTIFY, ( ulBitsToClearOnEntry ), ( ulBitsToClearOnExit ), ( pulNotificationValue ), ( xTicksToWait ) )
# define xTaskNotifyWaitIndexed( uxIndexToWaitOn, ulBitsToClearOnEntry, ulBitsToClearOnExit, pulNotificationValue, xTicksToWait ) xTaskGenericNotifyWait( ( uxIndexToWaitOn ), ( ulBitsToClearOnEntry ), ( ulBitsToClearOnExit ), ( pulNotificationValue ), ( xTicksToWait ) )
# define xTaskNotifyWait( ulBitsToClearOnEntry, ulBitsToClearOnExit, pulNotificationValue, xTicksToWait ) \
xTaskGenericNotifyWait ( tskDEFAULT_INDEX_TO_NOTIFY , ( ulBitsToClearOnEntry ) , ( ulBitsToClearOnExit ) , ( pulNotificationValue ) , ( xTicksToWait ) )
# define xTaskNotifyWaitIndexed( uxIndexToWaitOn, ulBitsToClearOnEntry, ulBitsToClearOnExit, pulNotificationValue, xTicksToWait ) \
xTaskGenericNotifyWait ( ( uxIndexToWaitOn ) , ( ulBitsToClearOnEntry ) , ( ulBitsToClearOnExit ) , ( pulNotificationValue ) , ( xTicksToWait ) )
/**
* task . h
@ -2258,8 +2270,10 @@
* \ defgroup xTaskNotifyGiveIndexed xTaskNotifyGiveIndexed
* \ ingroup TaskNotifications
*/
# define xTaskNotifyGive( xTaskToNotify ) xTaskGenericNotify( ( xTaskToNotify ), ( tskDEFAULT_INDEX_TO_NOTIFY ), ( 0 ), eIncrement, NULL )
# define xTaskNotifyGiveIndexed( xTaskToNotify, uxIndexToNotify ) xTaskGenericNotify( ( xTaskToNotify ), ( uxIndexToNotify ), ( 0 ), eIncrement, NULL )
# define xTaskNotifyGive( xTaskToNotify ) \
xTaskGenericNotify ( ( xTaskToNotify ) , ( tskDEFAULT_INDEX_TO_NOTIFY ) , ( 0 ) , eIncrement , NULL )
# define xTaskNotifyGiveIndexed( xTaskToNotify, uxIndexToNotify ) \
xTaskGenericNotify ( ( xTaskToNotify ) , ( uxIndexToNotify ) , ( 0 ) , eIncrement , NULL )
/**
* task . h
@ -2341,8 +2355,10 @@
void vTaskGenericNotifyGiveFromISR ( TaskHandle_t xTaskToNotify ,
UBaseType_t uxIndexToNotify ,
BaseType_t * pxHigherPriorityTaskWoken ) PRIVILEGED_FUNCTION ;
# define vTaskNotifyGiveFromISR( xTaskToNotify, pxHigherPriorityTaskWoken ) vTaskGenericNotifyGiveFromISR( ( xTaskToNotify ), ( tskDEFAULT_INDEX_TO_NOTIFY ), ( pxHigherPriorityTaskWoken ) );
# define vTaskNotifyGiveIndexedFromISR( xTaskToNotify, uxIndexToNotify, pxHigherPriorityTaskWoken ) vTaskGenericNotifyGiveFromISR( ( xTaskToNotify ), ( uxIndexToNotify ), ( pxHigherPriorityTaskWoken ) );
# define vTaskNotifyGiveFromISR( xTaskToNotify, pxHigherPriorityTaskWoken ) \
vTaskGenericNotifyGiveFromISR ( ( xTaskToNotify ) , ( tskDEFAULT_INDEX_TO_NOTIFY ) , ( pxHigherPriorityTaskWoken ) ) ;
# define vTaskNotifyGiveIndexedFromISR( xTaskToNotify, uxIndexToNotify, pxHigherPriorityTaskWoken ) \
vTaskGenericNotifyGiveFromISR ( ( xTaskToNotify ) , ( uxIndexToNotify ) , ( pxHigherPriorityTaskWoken ) ) ;
/**
* task . h
@ -2442,8 +2458,10 @@
uint32_t ulTaskGenericNotifyTake ( UBaseType_t uxIndexToWaitOn ,
BaseType_t xClearCountOnExit ,
TickType_t xTicksToWait ) PRIVILEGED_FUNCTION ;
# define ulTaskNotifyTake( xClearCountOnExit, xTicksToWait ) ulTaskGenericNotifyTake( ( tskDEFAULT_INDEX_TO_NOTIFY ), ( xClearCountOnExit ), ( xTicksToWait ) )
# define ulTaskNotifyTakeIndexed( uxIndexToWaitOn, xClearCountOnExit, xTicksToWait ) ulTaskGenericNotifyTake( ( uxIndexToNotify ), ( xClearCountOnExit ), ( xTicksToWait ) )
# define ulTaskNotifyTake( xClearCountOnExit, xTicksToWait ) \
ulTaskGenericNotifyTake ( ( tskDEFAULT_INDEX_TO_NOTIFY ) , ( xClearCountOnExit ) , ( xTicksToWait ) )
# define ulTaskNotifyTakeIndexed( uxIndexToWaitOn, xClearCountOnExit, xTicksToWait ) \
ulTaskGenericNotifyTake ( ( uxIndexToNotify ) , ( xClearCountOnExit ) , ( xTicksToWait ) )
/**
* task . h
@ -2501,8 +2519,10 @@
*/
BaseType_t xTaskGenericNotifyStateClear ( TaskHandle_t xTask ,
UBaseType_t uxIndexToClear ) PRIVILEGED_FUNCTION ;
# define xTaskNotifyStateClear( xTask ) xTaskGenericNotifyStateClear( ( xTask ), ( tskDEFAULT_INDEX_TO_NOTIFY ) )
# define xTaskNotifyStateClearIndexed( xTask, uxIndexToClear ) xTaskGenericNotifyStateClear( ( xTask ), ( uxIndexToClear ) )
# define xTaskNotifyStateClear( xTask ) \
xTaskGenericNotifyStateClear ( ( xTask ) , ( tskDEFAULT_INDEX_TO_NOTIFY ) )
# define xTaskNotifyStateClearIndexed( xTask, uxIndexToClear ) \
xTaskGenericNotifyStateClear ( ( xTask ) , ( uxIndexToClear ) )
/**
* task . h
@ -2562,8 +2582,10 @@
uint32_t ulTaskGenericNotifyValueClear ( TaskHandle_t xTask ,
UBaseType_t uxIndexToClear ,
uint32_t ulBitsToClear ) PRIVILEGED_FUNCTION ;
# define ulTaskNotifyValueClear( xTask, ulBitsToClear ) ulTaskGenericNotifyValueClear( ( xTask ), ( tskDEFAULT_INDEX_TO_NOTIFY ), ( ulBitsToClear ) )
# define ulTaskNotifyValueClearIndexed( xTask, uxIndexToClear, ulBitsToClear ) ulTaskGenericNotifyValueClear( ( xTask ), ( uxIndexToClear ), ( ulBitsToClear ) )
# define ulTaskNotifyValueClear( xTask, ulBitsToClear ) \
ulTaskGenericNotifyValueClear ( ( xTask ) , ( tskDEFAULT_INDEX_TO_NOTIFY ) , ( ulBitsToClear ) )
# define ulTaskNotifyValueClearIndexed( xTask, uxIndexToClear, ulBitsToClear ) \
ulTaskGenericNotifyValueClear ( ( xTask ) , ( uxIndexToClear ) , ( ulBitsToClear ) )
/**
* task . h
@ -2898,7 +2920,9 @@
void vTaskInternalSetTimeOutState ( TimeOut_t * const pxTimeOut ) PRIVILEGED_FUNCTION ;
/* *INDENT-OFF* */
# ifdef __cplusplus
}
# endif
/* *INDENT-ON* */
# endif /* INC_TASK_H */