*\r
* @return The number of messages available in the queue.\r
*\r
- * \page uxQueueMessagesWaiting uxQueueMessagesWaiting\r
+ * \defgroup uxQueueMessagesWaiting uxQueueMessagesWaiting\r
* \ingroup QueueManagement\r
*/\r
unsigned portBASE_TYPE uxQueueMessagesWaiting( const xQueueHandle xQueue ) PRIVILEGED_FUNCTION;\r
*\r
* @param xQueue A handle to the queue to be deleted.\r
*\r
- * \page vQueueDelete vQueueDelete\r
+ * \defgroup vQueueDelete vQueueDelete\r
* \ingroup QueueManagement\r
*/\r
void vQueueDelete( xQueueHandle xQueue ) PRIVILEGED_FUNCTION;\r
*\r
* @param xSemaphore A handle to the semaphore to be deleted.\r
*\r
- * \page vSemaphoreDelete vSemaphoreDelete\r
+ * \defgroup vSemaphoreDelete vSemaphoreDelete\r
* \ingroup Semaphores\r
*/\r
#define vSemaphoreDelete( xSemaphore ) vQueueDelete( ( xQueueHandle ) ( xSemaphore ) )\r
* returns (via a pointer parameter) an xTaskHandle variable that can then\r
* be used as a parameter to vTaskDelete to delete the task.\r
*\r
- * \page xTaskHandle xTaskHandle\r
+ * \defgroup xTaskHandle xTaskHandle\r
* \ingroup Tasks\r
*/\r
typedef void * xTaskHandle;\r
*\r
* Macro for forcing a context switch.\r
*\r
- * \page taskYIELD taskYIELD\r
+ * \defgroup taskYIELD taskYIELD\r
* \ingroup SchedulerControl\r
*/\r
#define taskYIELD() portYIELD()\r
* NOTE: This may alter the stack (depending on the portable implementation)\r
* so must be used with care!\r
*\r
- * \page taskENTER_CRITICAL taskENTER_CRITICAL\r
+ * \defgroup taskENTER_CRITICAL taskENTER_CRITICAL\r
* \ingroup SchedulerControl\r
*/\r
#define taskENTER_CRITICAL() portENTER_CRITICAL()\r
* NOTE: This may alter the stack (depending on the portable implementation)\r
* so must be used with care!\r
*\r
- * \page taskEXIT_CRITICAL taskEXIT_CRITICAL\r
+ * \defgroup taskEXIT_CRITICAL taskEXIT_CRITICAL\r
* \ingroup SchedulerControl\r
*/\r
#define taskEXIT_CRITICAL() portEXIT_CRITICAL()\r
*\r
* Macro to disable all maskable interrupts.\r
*\r
- * \page taskDISABLE_INTERRUPTS taskDISABLE_INTERRUPTS\r
+ * \defgroup taskDISABLE_INTERRUPTS taskDISABLE_INTERRUPTS\r
* \ingroup SchedulerControl\r
*/\r
#define taskDISABLE_INTERRUPTS() portDISABLE_INTERRUPTS()\r
*\r
* Macro to enable microcontroller interrupts.\r
*\r
- * \page taskENABLE_INTERRUPTS taskENABLE_INTERRUPTS\r
+ * \defgroup taskENABLE_INTERRUPTS taskENABLE_INTERRUPTS\r
* \ingroup SchedulerControl\r
*/\r
#define taskENABLE_INTERRUPTS() portENABLE_INTERRUPTS()\r
*\r
* @return The count of ticks since vTaskStartScheduler was called.\r
*\r
- * \page xTaskGetTickCount xTaskGetTickCount\r
+ * \defgroup xTaskGetTickCount xTaskGetTickCount\r
* \ingroup TaskUtils\r
*/\r
portTickType xTaskGetTickCount( void ) PRIVILEGED_FUNCTION;\r
* microcontroller being used or interrupt nesting is either not supported or\r
* not being used.\r
*\r
- * \page xTaskGetTickCount xTaskGetTickCount\r
+ * \defgroup xTaskGetTickCount xTaskGetTickCount\r
* \ingroup TaskUtils\r
*/\r
portTickType xTaskGetTickCountFromISR( void ) PRIVILEGED_FUNCTION;\r
* has been deleted but not yet freed by the idle task will also be\r
* included in the count.\r
*\r
- * \page uxTaskGetNumberOfTasks uxTaskGetNumberOfTasks\r
+ * \defgroup uxTaskGetNumberOfTasks uxTaskGetNumberOfTasks\r
* \ingroup TaskUtils\r
*/\r
unsigned portBASE_TYPE uxTaskGetNumberOfTasks( void ) PRIVILEGED_FUNCTION;\r
* handle, or by setting xTaskToQuery to NULL. INCLUDE_pcTaskGetTaskName must be\r
* set to 1 in FreeRTOSConfig.h for pcTaskGetTaskName() to be available.\r
*\r
- * \page pcTaskGetTaskName pcTaskGetTaskName\r
+ * \defgroup pcTaskGetTaskName pcTaskGetTaskName\r
* \ingroup TaskUtils\r
*/\r
signed char *pcTaskGetTaskName( xTaskHandle xTaskToQuery );\r
* enough to contain the generated report. Approximately 40 bytes per\r
* task should be sufficient.\r
*\r
- * \page vTaskList vTaskList\r
+ * \defgroup vTaskList vTaskList\r
* \ingroup TaskUtils\r
*/\r
void vTaskList( signed char *pcWriteBuffer ) PRIVILEGED_FUNCTION;\r
* contain the generated report. Approximately 40 bytes per task should\r
* be sufficient.\r
*\r
- * \page vTaskGetRunTimeStats vTaskGetRunTimeStats\r
+ * \defgroup vTaskGetRunTimeStats vTaskGetRunTimeStats\r
* \ingroup TaskUtils\r
*/\r
void vTaskGetRunTimeStats( signed char *pcWriteBuffer ) PRIVILEGED_FUNCTION;\r
* structures, or the timer period was set to 0) then 0 is returned.\r
*\r
* Example usage:\r
- *\r
+ * @verbatim\r
* #define NUM_TIMERS 5\r
*\r
* // An array to hold handles to the created timers.\r
* // Should not reach here.\r
* for( ;; );\r
* }\r
+ * @endverbatim\r
*/\r
xTimerHandle xTimerCreate( const signed char * const pcTimerName, portTickType xTimerPeriodInTicks, unsigned portBASE_TYPE uxAutoReload, void * pvTimerID, tmrTIMER_CALLBACK pxCallbackFunction ) PRIVILEGED_FUNCTION;\r
\r
* pdFALSE will be returned if the timer is active.\r
*\r
* Example usage:\r
- *\r
+ * @verbatim\r
* // This function assumes xTimer has already been created.\r
* void vAFunction( xTimerHandle xTimer )\r
* {\r
* // xTimer is not active, do something else.\r
* }\r
* }\r
+ * @endverbatim\r
*/\r
portBASE_TYPE xTimerIsTimerActive( xTimerHandle xTimer ) PRIVILEGED_FUNCTION;\r
\r
* configTIMER_TASK_PRIORITY configuration constant.\r
*\r
* Example usage:\r
- *\r
+ * @verbatim\r
* // This function assumes xTimer has already been created. If the timer\r
* // referenced by xTimer is already active when it is called, then the timer\r
* // is deleted. If the timer referenced by xTimer is not active when it is\r
* }\r
* }\r
* }\r
+ * @endverbatim\r
*/\r
#define xTimerChangePeriod( xTimer, xNewPeriod, xBlockTime ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_CHANGE_PERIOD, ( xNewPeriod ), NULL, ( xBlockTime ) )\r
\r
* configuration constant.\r
*\r
* Example usage:\r
- *\r
+ * @verbatim\r
* // When a key is pressed, an LCD back-light is switched on. If 5 seconds pass\r
* // without a key being pressed, then the LCD back-light is switched off. In\r
* // this case, the timer is a one-shot timer.\r
* // Should not reach here.\r
* for( ;; );\r
* }\r
+ * @endverbatim\r
*/\r
#define xTimerReset( xTimer, xBlockTime ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_START, ( xTaskGetTickCount() ), NULL, ( xBlockTime ) )\r
\r
* task priority is set by the configTIMER_TASK_PRIORITY configuration constant.\r
*\r
* Example usage:\r
- *\r
+ * @verbatim\r
* // This scenario assumes xBacklightTimer has already been created. When a\r
* // key is pressed, an LCD back-light is switched on. If 5 seconds pass\r
* // without a key being pressed, then the LCD back-light is switched off. In\r
* // depends on the FreeRTOS port being used.\r
* }\r
* }\r
+ * @endverbatim\r
*/\r
#define xTimerStartFromISR( xTimer, pxHigherPriorityTaskWoken ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_START, ( xTaskGetTickCountFromISR() ), ( pxHigherPriorityTaskWoken ), 0U )\r
\r
* priority is set by the configTIMER_TASK_PRIORITY configuration constant.\r
*\r
* Example usage:\r
- *\r
+ * @verbatim\r
* // This scenario assumes xTimer has already been created and started. When\r
* // an interrupt occurs, the timer should be simply stopped.\r
*\r
* // depends on the FreeRTOS port being used.\r
* }\r
* }\r
+ * @endverbatim\r
*/\r
#define xTimerStopFromISR( xTimer, pxHigherPriorityTaskWoken ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_STOP, 0, ( pxHigherPriorityTaskWoken ), 0U )\r
\r
* priority is set by the configTIMER_TASK_PRIORITY configuration constant.\r
*\r
* Example usage:\r
- *\r
+ * @verbatim\r
* // This scenario assumes xTimer has already been created and started. When\r
* // an interrupt occurs, the period of xTimer should be changed to 500ms.\r
*\r
* // depends on the FreeRTOS port being used.\r
* }\r
* }\r
+ * @endverbatim\r
*/\r
#define xTimerChangePeriodFromISR( xTimer, xNewPeriod, pxHigherPriorityTaskWoken ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_CHANGE_PERIOD, ( xNewPeriod ), ( pxHigherPriorityTaskWoken ), 0U )\r
\r
* task priority is set by the configTIMER_TASK_PRIORITY configuration constant.\r
*\r
* Example usage:\r
- *\r
+ * @verbatim\r
* // This scenario assumes xBacklightTimer has already been created. When a\r
* // key is pressed, an LCD back-light is switched on. If 5 seconds pass\r
* // without a key being pressed, then the LCD back-light is switched off. In\r
* // depends on the FreeRTOS port being used.\r
* }\r
* }\r
+ * @endverbatim\r
*/\r
#define xTimerResetFromISR( xTimer, pxHigherPriorityTaskWoken ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_START, ( xTaskGetTickCountFromISR() ), ( pxHigherPriorityTaskWoken ), 0U )\r
\r