Merge branch 'zim-pre-to-endcode-remaining' into 'master'

freertos:remaining <pre> to @code changes

See merge request espressif/esp-idf!14997
This commit is contained in:
Zim Kalinowski
2021-08-30 13:17:42 +00:00
8 changed files with 198 additions and 197 deletions

View File

@@ -61,13 +61,13 @@ typedef struct corCoRoutineControlBlock
/** /**
* @cond * @cond
* croutine. h * croutine. h
* <pre> * @code{c}
* BaseType_t xCoRoutineCreate( * BaseType_t xCoRoutineCreate(
* crCOROUTINE_CODE pxCoRoutineCode, * crCOROUTINE_CODE pxCoRoutineCode,
* UBaseType_t uxPriority, * UBaseType_t uxPriority,
* UBaseType_t uxIndex * UBaseType_t uxIndex
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* Create a new co-routine and add it to the list of co-routines that are * Create a new co-routine and add it to the list of co-routines that are
@@ -143,9 +143,9 @@ BaseType_t xCoRoutineCreate( crCOROUTINE_CODE pxCoRoutineCode,
/** /**
* @cond * @cond
* croutine. h * croutine. h
* <pre> * @code{c}
* void vCoRoutineSchedule( void ); * void vCoRoutineSchedule( void );
* </pre> * @endcode
* @endcond * @endcond
* Run a co-routine. * Run a co-routine.
* *
@@ -177,7 +177,7 @@ BaseType_t xCoRoutineCreate( crCOROUTINE_CODE pxCoRoutineCode,
* vCoRoutineSchedule(); * vCoRoutineSchedule();
* } * }
* } * }
* </pre> * @endcode
* @endcode * @endcode
* @cond * @cond
* \defgroup vCoRoutineSchedule vCoRoutineSchedule * \defgroup vCoRoutineSchedule vCoRoutineSchedule
@@ -189,9 +189,9 @@ void vCoRoutineSchedule( void );
/** /**
* @cond * @cond
* croutine. h * croutine. h
* <pre> * @code{c}
* crSTART( CoRoutineHandle_t xHandle ); * crSTART( CoRoutineHandle_t xHandle );
* </pre> * @endcode
* @endcond * @endcond
* *
* This macro MUST always be called at the start of a co-routine function. * This macro MUST always be called at the start of a co-routine function.
@@ -228,9 +228,9 @@ void vCoRoutineSchedule( void );
/** /**
* @cond * @cond
* croutine. h * croutine. h
* <pre> * @code{c}
* crEND(); * crEND();
* </pre> * @endcode
* @endcond * @endcond
* *
* This macro MUST always be called at the end of a co-routine function. * This macro MUST always be called at the end of a co-routine function.
@@ -276,9 +276,9 @@ void vCoRoutineSchedule( void );
/** /**
* @cond * @cond
* croutine. h * croutine. h
* <pre> * @code{c}
* crDELAY( CoRoutineHandle_t xHandle, TickType_t xTicksToDelay ); * crDELAY( CoRoutineHandle_t xHandle, TickType_t xTicksToDelay );
* </pre> * @endcode
* @endcond * @endcond
* *
* Delay a co-routine for a fixed period of time. * Delay a co-routine for a fixed period of time.
@@ -334,7 +334,7 @@ void vCoRoutineSchedule( void );
/** /**
* @cond * @cond
* <pre> * @code{c}
* crQUEUE_SEND( * crQUEUE_SEND(
* CoRoutineHandle_t xHandle, * CoRoutineHandle_t xHandle,
* QueueHandle_t pxQueue, * QueueHandle_t pxQueue,
@@ -342,7 +342,7 @@ void vCoRoutineSchedule( void );
* TickType_t xTicksToWait, * TickType_t xTicksToWait,
* BaseType_t *pxResult * BaseType_t *pxResult
* ) * )
* </pre> * @endcode
* @endcond * @endcond
* *
* The macro's crQUEUE_SEND() and crQUEUE_RECEIVE() are the co-routine * The macro's crQUEUE_SEND() and crQUEUE_RECEIVE() are the co-routine
@@ -439,7 +439,7 @@ void vCoRoutineSchedule( void );
/** /**
* @cond * @cond
* croutine. h * croutine. h
* <pre> * @code{c}
* crQUEUE_RECEIVE( * crQUEUE_RECEIVE(
* CoRoutineHandle_t xHandle, * CoRoutineHandle_t xHandle,
* QueueHandle_t pxQueue, * QueueHandle_t pxQueue,
@@ -447,7 +447,7 @@ void vCoRoutineSchedule( void );
* TickType_t xTicksToWait, * TickType_t xTicksToWait,
* BaseType_t *pxResult * BaseType_t *pxResult
* ) * )
* </pre> * @endcode
* @endcond * @endcond
* *
* The macro's crQUEUE_SEND() and crQUEUE_RECEIVE() are the co-routine * The macro's crQUEUE_SEND() and crQUEUE_RECEIVE() are the co-routine
@@ -513,7 +513,6 @@ void vCoRoutineSchedule( void );
* *
* crEND(); * crEND();
* } * }
* </pre>
* @endcode * @endcode
* @cond * @cond
* \defgroup crQUEUE_RECEIVE crQUEUE_RECEIVE * \defgroup crQUEUE_RECEIVE crQUEUE_RECEIVE
@@ -538,13 +537,13 @@ void vCoRoutineSchedule( void );
/** /**
* @cond * @cond
* croutine. h * croutine. h
* <pre> * @code{c}
* crQUEUE_SEND_FROM_ISR( * crQUEUE_SEND_FROM_ISR(
* QueueHandle_t pxQueue, * QueueHandle_t pxQueue,
* void *pvItemToQueue, * void *pvItemToQueue,
* BaseType_t xCoRoutinePreviouslyWoken * BaseType_t xCoRoutinePreviouslyWoken
* ) * )
* </pre> * @endcode
* @endcond * @endcond
* *
* The macro's crQUEUE_SEND_FROM_ISR() and crQUEUE_RECEIVE_FROM_ISR() are the * The macro's crQUEUE_SEND_FROM_ISR() and crQUEUE_RECEIVE_FROM_ISR() are the
@@ -642,13 +641,13 @@ void vCoRoutineSchedule( void );
/** /**
* @cond * @cond
* croutine. h * croutine. h
* <pre> * @code{c}
* crQUEUE_SEND_FROM_ISR( * crQUEUE_SEND_FROM_ISR(
* QueueHandle_t pxQueue, * QueueHandle_t pxQueue,
* void *pvBuffer, * void *pvBuffer,
* BaseType_t * pxCoRoutineWoken * BaseType_t * pxCoRoutineWoken
* ) * )
* </pre> * @endcode
* @endcond * @endcond
* *
* The macro's crQUEUE_SEND_FROM_ISR() and crQUEUE_RECEIVE_FROM_ISR() are the * The macro's crQUEUE_SEND_FROM_ISR() and crQUEUE_RECEIVE_FROM_ISR() are the

View File

@@ -101,9 +101,9 @@ typedef TickType_t EventBits_t;
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* EventGroupHandle_t xEventGroupCreate( void ); * EventGroupHandle_t xEventGroupCreate( void );
* </pre> * @endcode
* @endcond * @endcond
* *
* Create a new event group. * Create a new event group.
@@ -161,9 +161,9 @@ typedef TickType_t EventBits_t;
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* EventGroupHandle_t xEventGroupCreateStatic( EventGroupHandle_t * pxEventGroupBuffer ); * EventGroupHandle_t xEventGroupCreateStatic( EventGroupHandle_t * pxEventGroupBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Create a new event group. * Create a new event group.
@@ -216,13 +216,13 @@ typedef TickType_t EventBits_t;
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup, * EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup,
* const EventBits_t uxBitsToWaitFor, * const EventBits_t uxBitsToWaitFor,
* const BaseType_t xClearOnExit, * const BaseType_t xClearOnExit,
* const BaseType_t xWaitForAllBits, * const BaseType_t xWaitForAllBits,
* const TickType_t xTicksToWait ); * const TickType_t xTicksToWait );
* </pre> * @endcode
* @endcond * @endcond
* *
* [Potentially] block to wait for one or more bits to be set within a * [Potentially] block to wait for one or more bits to be set within a
@@ -318,9 +318,9 @@ EventBits_t xEventGroupWaitBits( EventGroupHandle_t xEventGroup,
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear ); * EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear );
* </pre> * @endcode
* @endcond * @endcond
* *
* Clear bits within an event group. This function cannot be called from an * Clear bits within an event group. This function cannot be called from an
@@ -380,9 +380,9 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* BaseType_t xEventGroupClearBitsFromISR( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet ); * BaseType_t xEventGroupClearBitsFromISR( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet );
* </pre> * @endcode
* @endcond * @endcond
* *
* A version of xEventGroupClearBits() that can be called from an interrupt. * A version of xEventGroupClearBits() that can be called from an interrupt.
@@ -445,9 +445,9 @@ EventBits_t xEventGroupClearBits( EventGroupHandle_t xEventGroup,
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet ); * EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet );
* </pre> * @endcode
* @endcond * @endcond
* *
* Set bits within an event group. * Set bits within an event group.
@@ -524,9 +524,9 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* BaseType_t xEventGroupSetBitsFromISR( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet, BaseType_t *pxHigherPriorityTaskWoken ); * BaseType_t xEventGroupSetBitsFromISR( EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet, BaseType_t *pxHigherPriorityTaskWoken );
* </pre> * @endcode
* @endcond * @endcond
* *
* A version of xEventGroupSetBits() that can be called from an interrupt. * A version of xEventGroupSetBits() that can be called from an interrupt.
@@ -609,12 +609,12 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup, * EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
* const EventBits_t uxBitsToSet, * const EventBits_t uxBitsToSet,
* const EventBits_t uxBitsToWaitFor, * const EventBits_t uxBitsToWaitFor,
* TickType_t xTicksToWait ); * TickType_t xTicksToWait );
* </pre> * @endcode
* @endcond * @endcond
* *
* Atomically set bits within an event group, then wait for a combination of * Atomically set bits within an event group, then wait for a combination of
@@ -743,9 +743,9 @@ EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* EventBits_t xEventGroupGetBits( EventGroupHandle_t xEventGroup ); * EventBits_t xEventGroupGetBits( EventGroupHandle_t xEventGroup );
* </pre> * @endcode
* @endcond * @endcond
* *
* Returns the current value of the bits in an event group. This function * Returns the current value of the bits in an event group. This function
@@ -765,9 +765,9 @@ EventBits_t xEventGroupSync( EventGroupHandle_t xEventGroup,
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* EventBits_t xEventGroupGetBitsFromISR( EventGroupHandle_t xEventGroup ); * EventBits_t xEventGroupGetBitsFromISR( EventGroupHandle_t xEventGroup );
* </pre> * @endcode
* @endcond * @endcond
* *
* A version of xEventGroupGetBits() that can be called from an ISR. * A version of xEventGroupGetBits() that can be called from an ISR.
@@ -786,9 +786,9 @@ EventBits_t xEventGroupGetBitsFromISR( EventGroupHandle_t xEventGroup ) PRIVILEG
/** /**
* @cond * @cond
* event_groups.h * event_groups.h
* <pre> * @code{c}
* void xEventGroupDelete( EventGroupHandle_t xEventGroup ); * void xEventGroupDelete( EventGroupHandle_t xEventGroup );
* </pre> * @endcode
* @endcond * @endcond
* *
* Delete an event group that was previously created by a call to * Delete an event group that was previously created by a call to

View File

@@ -88,9 +88,9 @@ typedef void * MessageBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* MessageBufferHandle_t xMessageBufferCreate( size_t xBufferSizeBytes ); * MessageBufferHandle_t xMessageBufferCreate( size_t xBufferSizeBytes );
* </pre> * @endcode
* @endcond * @endcond
* *
* Creates a new message buffer using dynamically allocated memory. See * Creates a new message buffer using dynamically allocated memory. See
@@ -151,11 +151,11 @@ typedef void * MessageBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* MessageBufferHandle_t xMessageBufferCreateStatic( size_t xBufferSizeBytes, * MessageBufferHandle_t xMessageBufferCreateStatic( size_t xBufferSizeBytes,
* uint8_t *pucMessageBufferStorageArea, * uint8_t *pucMessageBufferStorageArea,
* StaticMessageBuffer_t *pxStaticMessageBuffer ); * StaticMessageBuffer_t *pxStaticMessageBuffer );
* </pre> * @endcode
* @endcond * @endcond
* Creates a new message buffer using statically allocated memory. See * Creates a new message buffer using statically allocated memory. See
* xMessageBufferCreate() for a version that uses dynamically allocated memory. * xMessageBufferCreate() for a version that uses dynamically allocated memory.
@@ -222,12 +222,12 @@ typedef void * MessageBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* size_t xMessageBufferSend( MessageBufferHandle_t xMessageBuffer, * size_t xMessageBufferSend( MessageBufferHandle_t xMessageBuffer,
* const void *pvTxData, * const void *pvTxData,
* size_t xDataLengthBytes, * size_t xDataLengthBytes,
* TickType_t xTicksToWait ); * TickType_t xTicksToWait );
* </pre> * @endcode
* @endcond * @endcond
* *
* Sends a discrete message to the message buffer. The message can be any * Sends a discrete message to the message buffer. The message can be any
@@ -326,12 +326,12 @@ typedef void * MessageBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* size_t xMessageBufferSendFromISR( MessageBufferHandle_t xMessageBuffer, * size_t xMessageBufferSendFromISR( MessageBufferHandle_t xMessageBuffer,
* const void *pvTxData, * const void *pvTxData,
* size_t xDataLengthBytes, * size_t xDataLengthBytes,
* BaseType_t *pxHigherPriorityTaskWoken ); * BaseType_t *pxHigherPriorityTaskWoken );
* </pre> * @endcode
* @endcond * @endcond
* *
* Interrupt safe version of the API function that sends a discrete message to * Interrupt safe version of the API function that sends a discrete message to
@@ -435,12 +435,12 @@ typedef void * MessageBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* size_t xMessageBufferReceive( MessageBufferHandle_t xMessageBuffer, * size_t xMessageBufferReceive( MessageBufferHandle_t xMessageBuffer,
* void *pvRxData, * void *pvRxData,
* size_t xBufferLengthBytes, * size_t xBufferLengthBytes,
* TickType_t xTicksToWait ); * TickType_t xTicksToWait );
* </pre> * @endcode
* @endcond * @endcond
* *
* Receives a discrete message from a message buffer. Messages can be of * Receives a discrete message from a message buffer. Messages can be of
@@ -529,12 +529,12 @@ typedef void * MessageBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* size_t xMessageBufferReceiveFromISR( MessageBufferHandle_t xMessageBuffer, * size_t xMessageBufferReceiveFromISR( MessageBufferHandle_t xMessageBuffer,
* void *pvRxData, * void *pvRxData,
* size_t xBufferLengthBytes, * size_t xBufferLengthBytes,
* BaseType_t *pxHigherPriorityTaskWoken ); * BaseType_t *pxHigherPriorityTaskWoken );
* </pre> * @endcode
* @endcond * @endcond
* *
* An interrupt safe version of the API function that receives a discrete * An interrupt safe version of the API function that receives a discrete
@@ -634,9 +634,9 @@ typedef void * MessageBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* void vMessageBufferDelete( MessageBufferHandle_t xMessageBuffer ); * void vMessageBufferDelete( MessageBufferHandle_t xMessageBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Deletes a message buffer that was previously created using a call to * Deletes a message buffer that was previously created using a call to
@@ -656,9 +656,9 @@ typedef void * MessageBufferHandle_t;
/** /**
* @cond * @cond
* message_buffer.h * message_buffer.h
* <pre> * @code{c}
* BaseType_t xMessageBufferIsFull( MessageBufferHandle_t xMessageBuffer ) ); * BaseType_t xMessageBufferIsFull( MessageBufferHandle_t xMessageBuffer ) );
* </pre> * @endcode
* @endcond * @endcond
* *
* Tests to see if a message buffer is full. A message buffer is full if it * Tests to see if a message buffer is full. A message buffer is full if it
@@ -676,9 +676,9 @@ typedef void * MessageBufferHandle_t;
/** /**
* @cond * @cond
* message_buffer.h * message_buffer.h
* <pre> * @code{c}{c}
* BaseType_t xMessageBufferIsEmpty( MessageBufferHandle_t xMessageBuffer ) ); * BaseType_t xMessageBufferIsEmpty( MessageBufferHandle_t xMessageBuffer ) );
* </pre> * @endcode
* @endcond * @endcond
* *
* Tests to see if a message buffer is empty (does not contain any messages). * Tests to see if a message buffer is empty (does not contain any messages).
@@ -695,9 +695,9 @@ typedef void * MessageBufferHandle_t;
/** /**
* @cond * @cond
* message_buffer.h * message_buffer.h
* <pre> * @code{c}
* BaseType_t xMessageBufferReset( MessageBufferHandle_t xMessageBuffer ); * BaseType_t xMessageBufferReset( MessageBufferHandle_t xMessageBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Resets a message buffer to its initial empty state, discarding any message it * Resets a message buffer to its initial empty state, discarding any message it
@@ -724,9 +724,9 @@ typedef void * MessageBufferHandle_t;
/** /**
* @cond * @cond
* message_buffer.h * message_buffer.h
* <pre> * @code{c}
* size_t xMessageBufferSpaceAvailable( MessageBufferHandle_t xMessageBuffer ) ); * size_t xMessageBufferSpaceAvailable( MessageBufferHandle_t xMessageBuffer ) );
* </pre> * @endcode
* @endcond * @endcond
* *
* Returns the number of bytes of free space in the message buffer. * Returns the number of bytes of free space in the message buffer.
@@ -753,9 +753,9 @@ typedef void * MessageBufferHandle_t;
/** /**
* @cond * @cond
* message_buffer.h * message_buffer.h
* <pre> * @code{c}
* size_t xMessageBufferNextLengthBytes( MessageBufferHandle_t xMessageBuffer ) ); * size_t xMessageBufferNextLengthBytes( MessageBufferHandle_t xMessageBuffer ) );
* </pre> * @endcode
* @endcond * @endcond
* *
* Returns the length (in bytes) of the next message in a message buffer. * Returns the length (in bytes) of the next message in a message buffer.
@@ -779,9 +779,9 @@ typedef void * MessageBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* BaseType_t xMessageBufferSendCompletedFromISR( MessageBufferHandle_t xStreamBuffer, BaseType_t *pxHigherPriorityTaskWoken ); * BaseType_t xMessageBufferSendCompletedFromISR( MessageBufferHandle_t xStreamBuffer, BaseType_t *pxHigherPriorityTaskWoken );
* </pre> * @endcode
* @endcond * @endcond
* *
* For advanced users only. * For advanced users only.
@@ -823,9 +823,9 @@ typedef void * MessageBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* BaseType_t xMessageBufferReceiveCompletedFromISR( MessageBufferHandle_t xStreamBuffer, BaseType_t *pxHigherPriorityTaskWoken ); * BaseType_t xMessageBufferReceiveCompletedFromISR( MessageBufferHandle_t xStreamBuffer, BaseType_t *pxHigherPriorityTaskWoken );
* </pre> * @endcode
* @endcond * @endcond
* *
* For advanced users only. * For advanced users only.

View File

@@ -136,14 +136,14 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* QueueHandle_t xQueueCreateStatic( * QueueHandle_t xQueueCreateStatic(
* UBaseType_t uxQueueLength, * UBaseType_t uxQueueLength,
* UBaseType_t uxItemSize, * UBaseType_t uxItemSize,
* uint8_t *pucQueueStorageBuffer, * uint8_t *pucQueueStorageBuffer,
* StaticQueue_t *pxQueueBuffer * StaticQueue_t *pxQueueBuffer
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* Creates a new queue instance, and returns a handle by which the new queue * Creates a new queue instance, and returns a handle by which the new queue
* can be referenced. * can be referenced.
@@ -225,13 +225,13 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueSendToToFront( * BaseType_t xQueueSendToToFront(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void *pvItemToQueue, * const void *pvItemToQueue,
* TickType_t xTicksToWait * TickType_t xTicksToWait
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* Post an item to the front of a queue. The item is queued by copy, not by * Post an item to the front of a queue. The item is queued by copy, not by
@@ -310,13 +310,13 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueSendToBack( * BaseType_t xQueueSendToBack(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void *pvItemToQueue, * const void *pvItemToQueue,
* TickType_t xTicksToWait * TickType_t xTicksToWait
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* This is a macro that calls xQueueGenericSend(). * This is a macro that calls xQueueGenericSend().
@@ -397,13 +397,13 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueSend( * BaseType_t xQueueSend(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void * pvItemToQueue, * const void * pvItemToQueue,
* TickType_t xTicksToWait * TickType_t xTicksToWait
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* This is a macro that calls xQueueGenericSend(). It is included for * This is a macro that calls xQueueGenericSend(). It is included for
@@ -486,12 +486,12 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueOverwrite( * BaseType_t xQueueOverwrite(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void * pvItemToQueue * const void * pvItemToQueue
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* Only for use with queues that have a length of one - so the queue is either * Only for use with queues that have a length of one - so the queue is either
@@ -575,14 +575,14 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueGenericSend( * BaseType_t xQueueGenericSend(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void * pvItemToQueue, * const void * pvItemToQueue,
* TickType_t xTicksToWait * TickType_t xTicksToWait
* BaseType_t xCopyPosition * BaseType_t xCopyPosition
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* It is preferred that the macros xQueueSend(), xQueueSendToFront() and * It is preferred that the macros xQueueSend(), xQueueSendToFront() and
@@ -669,13 +669,13 @@ BaseType_t xQueueGenericSend( QueueHandle_t xQueue,
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueuePeek( * BaseType_t xQueuePeek(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* void * const pvBuffer, * void * const pvBuffer,
* TickType_t xTicksToWait * TickType_t xTicksToWait
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* Receive an item from a queue without removing the item from the queue. * Receive an item from a queue without removing the item from the queue.
@@ -770,12 +770,12 @@ BaseType_t xQueuePeek( QueueHandle_t xQueue,
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueuePeekFromISR( * BaseType_t xQueuePeekFromISR(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* void *pvBuffer, * void *pvBuffer,
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* A version of xQueuePeek() that can be called from an interrupt service * A version of xQueuePeek() that can be called from an interrupt service
@@ -809,7 +809,7 @@ BaseType_t xQueuePeekFromISR( QueueHandle_t xQueue,
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueReceive( * BaseType_t xQueueReceive(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* void *pvBuffer, * void *pvBuffer,
@@ -907,9 +907,9 @@ BaseType_t xQueueReceive( QueueHandle_t xQueue,
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* UBaseType_t uxQueueMessagesWaiting( const QueueHandle_t xQueue ); * UBaseType_t uxQueueMessagesWaiting( const QueueHandle_t xQueue );
* </pre> * @endcode
* @endcond * @endcond
* *
* Return the number of messages stored in a queue. * Return the number of messages stored in a queue.
@@ -928,9 +928,9 @@ UBaseType_t uxQueueMessagesWaiting( const QueueHandle_t xQueue ) PRIVILEGED_FUNC
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* UBaseType_t uxQueueSpacesAvailable( const QueueHandle_t xQueue ); * UBaseType_t uxQueueSpacesAvailable( const QueueHandle_t xQueue );
* </pre> * @endcode
* @endcond * @endcond
* *
* Return the number of free spaces available in a queue. This is equal to the * Return the number of free spaces available in a queue. This is equal to the
@@ -951,9 +951,9 @@ UBaseType_t uxQueueSpacesAvailable( const QueueHandle_t xQueue ) PRIVILEGED_FUNC
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* void vQueueDelete( QueueHandle_t xQueue ); * void vQueueDelete( QueueHandle_t xQueue );
* </pre> * @endcode
* @endcond * @endcond
* *
* Delete a queue - freeing all the memory allocated for storing of items * Delete a queue - freeing all the memory allocated for storing of items
@@ -971,13 +971,13 @@ void vQueueDelete( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueSendToFrontFromISR( * BaseType_t xQueueSendToFrontFromISR(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void *pvItemToQueue, * const void *pvItemToQueue,
* BaseType_t *pxHigherPriorityTaskWoken * BaseType_t *pxHigherPriorityTaskWoken
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* This is a macro that calls xQueueGenericSendFromISR(). * This is a macro that calls xQueueGenericSendFromISR().
@@ -1047,13 +1047,13 @@ void vQueueDelete( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueSendToBackFromISR( * BaseType_t xQueueSendToBackFromISR(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void *pvItemToQueue, * const void *pvItemToQueue,
* BaseType_t *pxHigherPriorityTaskWoken * BaseType_t *pxHigherPriorityTaskWoken
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* This is a macro that calls xQueueGenericSendFromISR(). * This is a macro that calls xQueueGenericSendFromISR().
@@ -1122,13 +1122,13 @@ void vQueueDelete( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueOverwriteFromISR( * BaseType_t xQueueOverwriteFromISR(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void * pvItemToQueue, * const void * pvItemToQueue,
* BaseType_t *pxHigherPriorityTaskWoken * BaseType_t *pxHigherPriorityTaskWoken
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* A version of xQueueOverwrite() that can be used in an interrupt service * A version of xQueueOverwrite() that can be used in an interrupt service
@@ -1214,13 +1214,13 @@ void vQueueDelete( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueSendFromISR( * BaseType_t xQueueSendFromISR(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void *pvItemToQueue, * const void *pvItemToQueue,
* BaseType_t *pxHigherPriorityTaskWoken * BaseType_t *pxHigherPriorityTaskWoken
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* This is a macro that calls xQueueGenericSendFromISR(). It is included * This is a macro that calls xQueueGenericSendFromISR(). It is included
@@ -1295,14 +1295,14 @@ void vQueueDelete( QueueHandle_t xQueue ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueGenericSendFromISR( * BaseType_t xQueueGenericSendFromISR(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* const void *pvItemToQueue, * const void *pvItemToQueue,
* BaseType_t *pxHigherPriorityTaskWoken, * BaseType_t *pxHigherPriorityTaskWoken,
* BaseType_t xCopyPosition * BaseType_t xCopyPosition
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* It is preferred that the macros xQueueSendFromISR(), * It is preferred that the macros xQueueSendFromISR(),
@@ -1382,13 +1382,13 @@ BaseType_t xQueueGiveFromISR( QueueHandle_t xQueue,
/** /**
* @cond * @cond
* queue. h * queue. h
* <pre> * @code{c}
* BaseType_t xQueueReceiveFromISR( * BaseType_t xQueueReceiveFromISR(
* QueueHandle_t xQueue, * QueueHandle_t xQueue,
* void *pvBuffer, * void *pvBuffer,
* BaseType_t *pxTaskWoken * BaseType_t *pxTaskWoken
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* Receive an item from a queue. It is safe to use this function from within an * Receive an item from a queue. It is safe to use this function from within an

View File

@@ -42,9 +42,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** @cond */ /** @cond */
/** /**
* semphr. h * semphr. h
* <pre> * @code{c}
* vSemaphoreCreateBinary( SemaphoreHandle_t xSemaphore ); * vSemaphoreCreateBinary( SemaphoreHandle_t xSemaphore );
* </pre> * @endcode
* *
* In many usage scenarios it is faster and more memory efficient to use a * In many usage scenarios it is faster and more memory efficient to use a
* direct to task notification in place of a binary semaphore! * direct to task notification in place of a binary semaphore!
@@ -72,7 +72,7 @@ typedef QueueHandle_t SemaphoreHandle_t;
* @param xSemaphore Handle to the created semaphore. Should be of type SemaphoreHandle_t. * @param xSemaphore Handle to the created semaphore. Should be of type SemaphoreHandle_t.
* *
* Example usage: * Example usage:
* <pre> * @code{c}
* SemaphoreHandle_t xSemaphore = NULL; * SemaphoreHandle_t xSemaphore = NULL;
* *
* void vATask( void * pvParameters ) * void vATask( void * pvParameters )
@@ -87,7 +87,7 @@ typedef QueueHandle_t SemaphoreHandle_t;
* // The semaphore can now be used. * // The semaphore can now be used.
* } * }
* } * }
* </pre> * @endcode
* @cond * @cond
* \defgroup vSemaphoreCreateBinary vSemaphoreCreateBinary * \defgroup vSemaphoreCreateBinary vSemaphoreCreateBinary
* @endcond * @endcond
@@ -108,9 +108,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* SemaphoreHandle_t xSemaphoreCreateBinary( void ); * SemaphoreHandle_t xSemaphoreCreateBinary( void );
* </pre> * @endcode
* @endcond * @endcond
* *
* Creates a new binary semaphore instance, and returns a handle by which the * Creates a new binary semaphore instance, and returns a handle by which the
@@ -175,9 +175,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* SemaphoreHandle_t xSemaphoreCreateBinaryStatic( StaticSemaphore_t *pxSemaphoreBuffer ); * SemaphoreHandle_t xSemaphoreCreateBinaryStatic( StaticSemaphore_t *pxSemaphoreBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Creates a new binary semaphore instance, and returns a handle by which the * Creates a new binary semaphore instance, and returns a handle by which the
@@ -241,12 +241,12 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* xSemaphoreTake( * xSemaphoreTake(
* SemaphoreHandle_t xSemaphore, * SemaphoreHandle_t xSemaphore,
* TickType_t xBlockTime * TickType_t xBlockTime
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* <i>Macro</i> to obtain a semaphore. The semaphore must have previously been * <i>Macro</i> to obtain a semaphore. The semaphore must have previously been
@@ -481,9 +481,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* xSemaphoreGiveRecursive( SemaphoreHandle_t xMutex ); * xSemaphoreGiveRecursive( SemaphoreHandle_t xMutex );
* </pre> * @endcode
* @endcond * @endcond
* *
* <i>Macro</i> to recursively release, or 'give', a mutex type semaphore. * <i>Macro</i> to recursively release, or 'give', a mutex type semaphore.
@@ -674,12 +674,12 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* xSemaphoreTakeFromISR( * xSemaphoreTakeFromISR(
* SemaphoreHandle_t xSemaphore, * SemaphoreHandle_t xSemaphore,
* BaseType_t *pxHigherPriorityTaskWoken * BaseType_t *pxHigherPriorityTaskWoken
* ); * );
* </pre> * @endcode
* @endcond * @endcond
* *
* <i>Macro</i> to take a semaphore from an ISR. The semaphore must have * <i>Macro</i> to take a semaphore from an ISR. The semaphore must have
@@ -711,9 +711,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* SemaphoreHandle_t xSemaphoreCreateMutex( void ); * SemaphoreHandle_t xSemaphoreCreateMutex( void );
* </pre> * @endcode
* @endcond * @endcond
* *
* Creates a new mutex type semaphore instance, and returns a handle by which * Creates a new mutex type semaphore instance, and returns a handle by which
@@ -776,9 +776,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* SemaphoreHandle_t xSemaphoreCreateMutexStatic( StaticSemaphore_t *pxMutexBuffer ); * SemaphoreHandle_t xSemaphoreCreateMutexStatic( StaticSemaphore_t *pxMutexBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Creates a new mutex type semaphore instance, and returns a handle by which * Creates a new mutex type semaphore instance, and returns a handle by which
@@ -976,9 +976,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* SemaphoreHandle_t xSemaphoreCreateCounting( UBaseType_t uxMaxCount, UBaseType_t uxInitialCount ); * SemaphoreHandle_t xSemaphoreCreateCounting( UBaseType_t uxMaxCount, UBaseType_t uxInitialCount );
* </pre> * @endcode
* @endcond * @endcond
* *
* Creates a new counting semaphore instance, and returns a handle by which the * Creates a new counting semaphore instance, and returns a handle by which the
@@ -1062,9 +1062,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* SemaphoreHandle_t xSemaphoreCreateCountingStatic( UBaseType_t uxMaxCount, UBaseType_t uxInitialCount, StaticSemaphore_t *pxSemaphoreBuffer ); * SemaphoreHandle_t xSemaphoreCreateCountingStatic( UBaseType_t uxMaxCount, UBaseType_t uxInitialCount, StaticSemaphore_t *pxSemaphoreBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Creates a new counting semaphore instance, and returns a handle by which the * Creates a new counting semaphore instance, and returns a handle by which the
@@ -1153,9 +1153,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr. h * semphr. h
* <pre> * @code{c}
* void vSemaphoreDelete( SemaphoreHandle_t xSemaphore ); * void vSemaphoreDelete( SemaphoreHandle_t xSemaphore );
* </pre> * @endcode
* @endcond * @endcond
* *
* Delete a semaphore. This function must be used with care. For example, * Delete a semaphore. This function must be used with care. For example,
@@ -1173,9 +1173,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr.h * semphr.h
* <pre> * @code{c}
* TaskHandle_t xSemaphoreGetMutexHolder( SemaphoreHandle_t xMutex ); * TaskHandle_t xSemaphoreGetMutexHolder( SemaphoreHandle_t xMutex );
* </pre> * @endcode
* @endcond * @endcond
* *
* If xMutex is indeed a mutex type semaphore, return the current mutex holder. * If xMutex is indeed a mutex type semaphore, return the current mutex holder.
@@ -1192,9 +1192,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr.h * semphr.h
* <pre> * @code{c}
* TaskHandle_t xSemaphoreGetMutexHolderFromISR( SemaphoreHandle_t xMutex ); * TaskHandle_t xSemaphoreGetMutexHolderFromISR( SemaphoreHandle_t xMutex );
* </pre> * @endcode
* @endcond * @endcond
* *
* If xMutex is indeed a mutex type semaphore, return the current mutex holder. * If xMutex is indeed a mutex type semaphore, return the current mutex holder.
@@ -1207,9 +1207,9 @@ typedef QueueHandle_t SemaphoreHandle_t;
/** /**
* @cond * @cond
* semphr.h * semphr.h
* <pre> * @code{c}
* UBaseType_t uxSemaphoreGetCount( SemaphoreHandle_t xSemaphore ); * UBaseType_t uxSemaphoreGetCount( SemaphoreHandle_t xSemaphore );
* </pre> * @endcode
* @endcond * @endcond
* *
* If the semaphore is a counting semaphore then uxSemaphoreGetCount() returns * If the semaphore is a counting semaphore then uxSemaphoreGetCount() returns

View File

@@ -74,9 +74,9 @@ typedef struct StreamBufferDef_t * StreamBufferHandle_t;
* @cond * @cond
* message_buffer.h * message_buffer.h
* *
* <pre> * @code{c}
* StreamBufferHandle_t xStreamBufferCreate( size_t xBufferSizeBytes, size_t xTriggerLevelBytes ); * StreamBufferHandle_t xStreamBufferCreate( size_t xBufferSizeBytes, size_t xTriggerLevelBytes );
* </pre> * @endcode
* @endcond * @endcond
* *
* Creates a new stream buffer using dynamically allocated memory. See * Creates a new stream buffer using dynamically allocated memory. See
@@ -145,12 +145,12 @@ typedef struct StreamBufferDef_t * StreamBufferHandle_t;
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* StreamBufferHandle_t xStreamBufferCreateStatic( size_t xBufferSizeBytes, * StreamBufferHandle_t xStreamBufferCreateStatic( size_t xBufferSizeBytes,
* size_t xTriggerLevelBytes, * size_t xTriggerLevelBytes,
* uint8_t *pucStreamBufferStorageArea, * uint8_t *pucStreamBufferStorageArea,
* StaticStreamBuffer_t *pxStaticStreamBuffer ); * StaticStreamBuffer_t *pxStaticStreamBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Creates a new stream buffer using statically allocated memory. See * Creates a new stream buffer using statically allocated memory. See
@@ -232,12 +232,12 @@ typedef struct StreamBufferDef_t * StreamBufferHandle_t;
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer, * size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer,
* const void *pvTxData, * const void *pvTxData,
* size_t xDataLengthBytes, * size_t xDataLengthBytes,
* TickType_t xTicksToWait ); * TickType_t xTicksToWait );
* </pre> * @endcode
* @endcond * @endcond
* *
* Sends bytes to a stream buffer. The bytes are copied into the stream buffer. * Sends bytes to a stream buffer. The bytes are copied into the stream buffer.
@@ -333,12 +333,12 @@ size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer,
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer, * size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer,
* const void *pvTxData, * const void *pvTxData,
* size_t xDataLengthBytes, * size_t xDataLengthBytes,
* BaseType_t *pxHigherPriorityTaskWoken ); * BaseType_t *pxHigherPriorityTaskWoken );
* </pre> * @endcode
* @endcond * @endcond
* *
* Interrupt safe version of the API function that sends a stream of bytes to * Interrupt safe version of the API function that sends a stream of bytes to
@@ -438,12 +438,12 @@ size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer,
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer, * size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer,
* void *pvRxData, * void *pvRxData,
* size_t xBufferLengthBytes, * size_t xBufferLengthBytes,
* TickType_t xTicksToWait ); * TickType_t xTicksToWait );
* </pre> * @endcode
* @endcond * @endcond
* *
* Receives bytes from a stream buffer. * Receives bytes from a stream buffer.
@@ -531,12 +531,12 @@ size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer,
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* size_t xStreamBufferReceiveFromISR( StreamBufferHandle_t xStreamBuffer, * size_t xStreamBufferReceiveFromISR( StreamBufferHandle_t xStreamBuffer,
* void *pvRxData, * void *pvRxData,
* size_t xBufferLengthBytes, * size_t xBufferLengthBytes,
* BaseType_t *pxHigherPriorityTaskWoken ); * BaseType_t *pxHigherPriorityTaskWoken );
* </pre> * @endcode
* @endcond * @endcond
* *
* An interrupt safe version of the API function that receives bytes from a * An interrupt safe version of the API function that receives bytes from a
@@ -621,9 +621,9 @@ size_t xStreamBufferReceiveFromISR( StreamBufferHandle_t xStreamBuffer,
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* void vStreamBufferDelete( StreamBufferHandle_t xStreamBuffer ); * void vStreamBufferDelete( StreamBufferHandle_t xStreamBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Deletes a stream buffer that was previously created using a call to * Deletes a stream buffer that was previously created using a call to
@@ -647,9 +647,9 @@ void vStreamBufferDelete( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTI
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* BaseType_t xStreamBufferIsFull( StreamBufferHandle_t xStreamBuffer ); * BaseType_t xStreamBufferIsFull( StreamBufferHandle_t xStreamBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Queries a stream buffer to see if it is full. A stream buffer is full if it * Queries a stream buffer to see if it is full. A stream buffer is full if it
@@ -671,9 +671,9 @@ BaseType_t xStreamBufferIsFull( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* BaseType_t xStreamBufferIsEmpty( StreamBufferHandle_t xStreamBuffer ); * BaseType_t xStreamBufferIsEmpty( StreamBufferHandle_t xStreamBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Queries a stream buffer to see if it is empty. A stream buffer is empty if * Queries a stream buffer to see if it is empty. A stream buffer is empty if
@@ -695,9 +695,9 @@ BaseType_t xStreamBufferIsEmpty( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* BaseType_t xStreamBufferReset( StreamBufferHandle_t xStreamBuffer ); * BaseType_t xStreamBufferReset( StreamBufferHandle_t xStreamBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Resets a stream buffer to its initial, empty, state. Any data that was in * Resets a stream buffer to its initial, empty, state. Any data that was in
@@ -722,9 +722,9 @@ BaseType_t xStreamBufferReset( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_F
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* size_t xStreamBufferSpacesAvailable( StreamBufferHandle_t xStreamBuffer ); * size_t xStreamBufferSpacesAvailable( StreamBufferHandle_t xStreamBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Queries a stream buffer to see how much free space it contains, which is * Queries a stream buffer to see how much free space it contains, which is
@@ -747,9 +747,9 @@ size_t xStreamBufferSpacesAvailable( StreamBufferHandle_t xStreamBuffer ) PRIVIL
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* size_t xStreamBufferBytesAvailable( StreamBufferHandle_t xStreamBuffer ); * size_t xStreamBufferBytesAvailable( StreamBufferHandle_t xStreamBuffer );
* </pre> * @endcode
* @endcond * @endcond
* *
* Queries a stream buffer to see how much data it contains, which is equal to * Queries a stream buffer to see how much data it contains, which is equal to
@@ -772,9 +772,9 @@ size_t xStreamBufferBytesAvailable( StreamBufferHandle_t xStreamBuffer ) PRIVILE
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* BaseType_t xStreamBufferSetTriggerLevel( StreamBufferHandle_t xStreamBuffer, size_t xTriggerLevel ); * BaseType_t xStreamBufferSetTriggerLevel( StreamBufferHandle_t xStreamBuffer, size_t xTriggerLevel );
* </pre> * @endcode
* @endcond * @endcond
* *
* A stream buffer's trigger level is the number of bytes that must be in the * A stream buffer's trigger level is the number of bytes that must be in the
@@ -814,9 +814,9 @@ BaseType_t xStreamBufferSetTriggerLevel( StreamBufferHandle_t xStreamBuffer,
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* BaseType_t xStreamBufferSendCompletedFromISR( StreamBufferHandle_t xStreamBuffer, BaseType_t *pxHigherPriorityTaskWoken ); * BaseType_t xStreamBufferSendCompletedFromISR( StreamBufferHandle_t xStreamBuffer, BaseType_t *pxHigherPriorityTaskWoken );
* </pre> * @endcode
* @endcond * @endcond
* *
* For advanced users only. * For advanced users only.
@@ -858,9 +858,9 @@ BaseType_t xStreamBufferSendCompletedFromISR( StreamBufferHandle_t xStreamBuffer
* @cond * @cond
* stream_buffer.h * stream_buffer.h
* *
* <pre> * @code{c}
* BaseType_t xStreamBufferReceiveCompletedFromISR( StreamBufferHandle_t xStreamBuffer, BaseType_t *pxHigherPriorityTaskWoken ); * BaseType_t xStreamBufferReceiveCompletedFromISR( StreamBufferHandle_t xStreamBuffer, BaseType_t *pxHigherPriorityTaskWoken );
* </pre> * @endcode
* @endcond * @endcond
* *
* For advanced users only. * For advanced users only.

View File

@@ -763,9 +763,9 @@ typedef enum
/** /**
* @cond * @cond
* task. h * task. h
* <pre> * @code{c}
* void vTaskAllocateMPURegions( TaskHandle_t xTask, const MemoryRegion_t * const pxRegions ); * void vTaskAllocateMPURegions( TaskHandle_t xTask, const MemoryRegion_t * const pxRegions );
* </pre> * @endcode
* @endcond * @endcond
* *
* Memory regions are assigned to a restricted task when the task is created by * Memory regions are assigned to a restricted task when the task is created by
@@ -975,9 +975,9 @@ void vTaskDelayUntil( TickType_t * const pxPreviousWakeTime,
/** /**
* @cond * @cond
* task. h * task. h
* <pre> * @code{c}
* BaseType_t xTaskAbortDelay( TaskHandle_t xTask ); * BaseType_t xTaskAbortDelay( TaskHandle_t xTask );
* </pre> * @endcode
* @endcond * @endcond
* *
* INCLUDE_xTaskAbortDelay must be defined as 1 in FreeRTOSConfig.h for this * INCLUDE_xTaskAbortDelay must be defined as 1 in FreeRTOSConfig.h for this
@@ -1011,9 +1011,9 @@ BaseType_t xTaskAbortDelay( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* task. h * task. h
* <pre> * @code{c}
* UBaseType_t uxTaskPriorityGet( const TaskHandle_t xTask ); * UBaseType_t uxTaskPriorityGet( const TaskHandle_t xTask );
* </pre> * @endcode
* @endcond * @endcond
* *
* INCLUDE_uxTaskPriorityGet must be defined as 1 for this function to be available. * INCLUDE_uxTaskPriorityGet must be defined as 1 for this function to be available.
@@ -1064,9 +1064,9 @@ UBaseType_t uxTaskPriorityGet( const TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* task. h * task. h
* <pre> * @code{c}
* UBaseType_t uxTaskPriorityGetFromISR( const TaskHandle_t xTask ); * UBaseType_t uxTaskPriorityGetFromISR( const TaskHandle_t xTask );
* </pre> * @endcode
* @endcond * @endcond
* *
* A version of uxTaskPriorityGet() that can be used from an ISR. * A version of uxTaskPriorityGet() that can be used from an ISR.
@@ -1076,9 +1076,9 @@ UBaseType_t uxTaskPriorityGetFromISR( const TaskHandle_t xTask ) PRIVILEGED_FUNC
/** /**
* @cond * @cond
* task. h * task. h
* <pre> * @code{c}
* eTaskState eTaskGetState( TaskHandle_t xTask ); * eTaskState eTaskGetState( TaskHandle_t xTask );
* </pre> * @endcode
* @endcond * @endcond
* *
* INCLUDE_eTaskGetState must be defined as 1 for this function to be available. * INCLUDE_eTaskGetState must be defined as 1 for this function to be available.
@@ -1098,9 +1098,9 @@ eTaskState eTaskGetState( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* task. h * task. h
* <pre> * @code{c}
* void vTaskGetInfo( TaskHandle_t xTask, TaskStatus_t *pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState ); * void vTaskGetInfo( TaskHandle_t xTask, TaskStatus_t *pxTaskStatus, BaseType_t xGetFreeStackSpace, eTaskState eState );
* </pre> * @endcode
* @endcond * @endcond
* *
* configUSE_TRACE_FACILITY must be defined as 1 for this function to be * configUSE_TRACE_FACILITY must be defined as 1 for this function to be
@@ -1163,9 +1163,9 @@ void vTaskGetInfo( TaskHandle_t xTask,
/** /**
* @cond * @cond
* task. h * task. h
* <pre> * @code{c}
* void vTaskPrioritySet( TaskHandle_t xTask, UBaseType_t uxNewPriority ); * void vTaskPrioritySet( TaskHandle_t xTask, UBaseType_t uxNewPriority );
* </pre> * @endcode
* @endcond * @endcond
* *
* INCLUDE_vTaskPrioritySet must be defined as 1 for this function to be available. * INCLUDE_vTaskPrioritySet must be defined as 1 for this function to be available.
@@ -1264,9 +1264,9 @@ void vTaskSuspend( TaskHandle_t xTaskToSuspend ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* task. h * task. h
* <pre> * @code{c}
* void vTaskResume( TaskHandle_t xTaskToResume ); * void vTaskResume( TaskHandle_t xTaskToResume );
* </pre> * @endcode
* @endcond * @endcond
* *
* INCLUDE_vTaskSuspend must be defined as 1 for this function to be available. * INCLUDE_vTaskSuspend must be defined as 1 for this function to be available.
@@ -1361,7 +1361,7 @@ BaseType_t xTaskResumeFromISR( TaskHandle_t xTaskToResume ) PRIVILEGED_FUNCTION;
* tasks and starting the kernel. * tasks and starting the kernel.
* *
* Example usage: * Example usage:
* <pre> * @code{c}
* void vAFunction( void ) * void vAFunction( void )
* { * {
* // Create at least one task before starting the kernel. * // Create at least one task before starting the kernel.
@@ -1372,7 +1372,7 @@ BaseType_t xTaskResumeFromISR( TaskHandle_t xTaskToResume ) PRIVILEGED_FUNCTION;
* *
* // Will not get here unless a task calls vTaskEndScheduler () * // Will not get here unless a task calls vTaskEndScheduler ()
* } * }
* </pre> * @endcode
* *
* @cond * @cond
* \defgroup vTaskStartScheduler vTaskStartScheduler * \defgroup vTaskStartScheduler vTaskStartScheduler
@@ -1404,7 +1404,7 @@ void vTaskStartScheduler( void ) PRIVILEGED_FUNCTION;
* tasks. * tasks.
* *
* Example usage: * Example usage:
* <pre> * @code{c}
* void vTaskCode( void * pvParameters ) * void vTaskCode( void * pvParameters )
* { * {
* for( ;; ) * for( ;; )
@@ -1429,7 +1429,7 @@ void vTaskStartScheduler( void ) PRIVILEGED_FUNCTION;
* // vTaskEndScheduler (). When we get here we are back to single task * // vTaskEndScheduler (). When we get here we are back to single task
* // execution. * // execution.
* } * }
* </pre> * @endcode
* *
* @cond * @cond
* \defgroup vTaskEndScheduler vTaskEndScheduler * \defgroup vTaskEndScheduler vTaskEndScheduler
@@ -1494,9 +1494,9 @@ void vTaskSuspendAll( void ) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* task. h * task. h
* <pre> * @code{c}
* BaseType_t xTaskResumeAll( void ); * BaseType_t xTaskResumeAll( void );
* </pre> * @endcode
* @endcond * @endcond
* *
* Resumes scheduler activity after it was suspended by a call to * Resumes scheduler activity after it was suspended by a call to
@@ -1706,9 +1706,9 @@ uint8_t* pxTaskGetStackStart( TaskHandle_t xTask) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* task.h * task.h
* <pre> * @code{c}
* void vTaskSetApplicationTaskTag( TaskHandle_t xTask, TaskHookFunction_t pxHookFunction ); * void vTaskSetApplicationTaskTag( TaskHandle_t xTask, TaskHookFunction_t pxHookFunction );
* </pre> * @endcode
* @endcond * @endcond
* *
* Sets pxHookFunction to be the task hook function used by the task xTask. * Sets pxHookFunction to be the task hook function used by the task xTask.
@@ -1723,9 +1723,9 @@ uint8_t* pxTaskGetStackStart( TaskHandle_t xTask) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* task.h * task.h
* <pre> * @code{c}
* void xTaskGetApplicationTaskTag( TaskHandle_t xTask ); * void xTaskGetApplicationTaskTag( TaskHandle_t xTask );
* </pre> * @endcode
* @endcond * @endcond
* *
* Returns the pxHookFunction value assigned to the task xTask. Do not * Returns the pxHookFunction value assigned to the task xTask. Do not
@@ -1737,9 +1737,9 @@ uint8_t* pxTaskGetStackStart( TaskHandle_t xTask) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* task.h * task.h
* <pre> * @code{c}
* void xTaskGetApplicationTaskTagFromISR( TaskHandle_t xTask ); * void xTaskGetApplicationTaskTagFromISR( TaskHandle_t xTask );
* </pre> * @endcode
* @endcond * @endcond
* *
* Returns the pxHookFunction value assigned to the task xTask. Can * Returns the pxHookFunction value assigned to the task xTask. Can
@@ -1820,9 +1820,9 @@ uint8_t* pxTaskGetStackStart( TaskHandle_t xTask) PRIVILEGED_FUNCTION;
/** /**
* @cond * @cond
* task.h * task.h
* <pre> * @code{c}
* BaseType_t xTaskCallApplicationTaskHook( TaskHandle_t xTask, void *pvParameter ); * BaseType_t xTaskCallApplicationTaskHook( TaskHandle_t xTask, void *pvParameter );
* </pre> * @endcode
* @endcond * @endcond
* *
* Calls the hook function associated with xTask. Passing xTask as NULL has * Calls the hook function associated with xTask. Passing xTask as NULL has
@@ -2052,7 +2052,7 @@ void vTaskGetRunTimeStats( char * pcWriteBuffer ) PRIVILEGED_FUNCTION; /*lin
/** /**
* @cond * @cond
* task. h * task. h
* <pre>uint32_t ulTaskGetIdleRunTimeCounter( void );</pre> * @code{c}uint32_t ulTaskGetIdleRunTimeCounter( void );@endcode
* @endcond * @endcond
* *
* configGENERATE_RUN_TIME_STATS and configUSE_STATS_FORMATTING_FUNCTIONS * configGENERATE_RUN_TIME_STATS and configUSE_STATS_FORMATTING_FUNCTIONS

View File

@@ -1338,7 +1338,9 @@ BaseType_t xTimerGenericCommand( TimerHandle_t xTimer,
/** /**
* @cond * @cond
* task.h * task.h
* <pre>void vApplicationGetTimerTaskMemory( StaticTask_t ** ppxTimerTaskTCBBuffer, StackType_t ** ppxTimerTaskStackBuffer, uint32_t *pulTimerTaskStackSize ) </pre> * @code{c}
* void vApplicationGetTimerTaskMemory( StaticTask_t ** ppxTimerTaskTCBBuffer, StackType_t ** ppxTimerTaskStackBuffer, uint32_t *pulTimerTaskStackSize )
* @endcode
* @endcond * @endcond
* *
* This function is used to provide a statically allocated block of memory to FreeRTOS to hold the Timer Task TCB. This function is required when * This function is used to provide a statically allocated block of memory to FreeRTOS to hold the Timer Task TCB. This function is required when