|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Classes | |
| struct | xLIST_ITEM |
| struct | xLIST |
Typedefs | |
| typedef struct xLIST_ITEM | ListItem_t |
| typedef struct xLIST_ITEM | MiniListItem_t |
| typedef struct xLIST | List_t |
Functions | |
| void | vListInitialise (List_t *const pxList) PRIVILEGED_FUNCTION |
| void | vListInitialiseItem (ListItem_t *const pxItem) PRIVILEGED_FUNCTION |
| void | vListInsert (List_t *const pxList, ListItem_t *const pxNewListItem) PRIVILEGED_FUNCTION |
| void | vListInsertEnd (List_t *const pxList, ListItem_t *const pxNewListItem) PRIVILEGED_FUNCTION |
| UBaseType_t | uxListRemove (ListItem_t *const pxItemToRemove) PRIVILEGED_FUNCTION |
| #define listCURRENT_LIST_LENGTH | ( | pxList | ) |
Definition at line 263 of file list.h.
Referenced by portTASK_FUNCTION(), vEventGroupDelete(), and xTaskIncrementTick().
| #define listGET_END_MARKER | ( | pxList | ) |
Definition at line 249 of file list.h.
Referenced by xEventGroupSetBits().
| #define listGET_HEAD_ENTRY | ( | pxList | ) |
Definition at line 233 of file list.h.
Referenced by xEventGroupSetBits().
| #define listGET_ITEM_VALUE_OF_HEAD_ENTRY | ( | pxList | ) |
Definition at line 225 of file list.h.
Referenced by prvResetNextTaskUnblockTime().
| #define listGET_LIST_ITEM_OWNER | ( | pxListItem | ) |
Definition at line 197 of file list.h.
Referenced by vTaskRemoveFromUnorderedEventList().
| #define listGET_LIST_ITEM_VALUE | ( | pxListItem | ) |
Definition at line 216 of file list.h.
Referenced by uxTaskResetEventItemValue(), xEventGroupSetBits(), and xTaskIncrementTick().
| #define listGET_NEXT | ( | pxListItem | ) |
Definition at line 241 of file list.h.
Referenced by xEventGroupSetBits().
| #define listGET_OWNER_OF_HEAD_ENTRY | ( | pxList | ) |
Definition at line 390 of file list.h.
Referenced by prvCheckTasksWaitingTermination(), xTaskIncrementTick(), xTaskRemoveFromEventList(), and xTaskResumeAll().
| #define listGET_OWNER_OF_NEXT_ENTRY | ( | pxTCB, | |
| pxList ) |
| #define listINSERT_END | ( | pxList, | |
| pxNewListItem ) |
Definition at line 353 of file list.h.
Referenced by prvAddCurrentTaskToDelayedList(), vTaskPlaceOnUnorderedEventList(), and xTaskRemoveFromEventList().
| #define listIS_CONTAINED_WITHIN | ( | pxList, | |
| pxListItem ) |
| #define listLIST_IS_EMPTY | ( | pxList | ) |
Definition at line 258 of file list.h.
Referenced by prvResetNextTaskUnblockTime(), prvUnlockQueue(), xQueueGenericReset(), xQueueGenericSend(), xQueueGenericSendFromISR(), xQueueGiveFromISR(), xQueuePeek(), xQueueReceive(), xQueueReceiveFromISR(), xQueueSemaphoreTake(), xTaskIncrementTick(), and xTaskResumeAll().
| #define listLIST_IS_INITIALISED | ( | pxList | ) |
| #define listLIST_ITEM_CONTAINER | ( | pxListItem | ) |
Definition at line 409 of file list.h.
Referenced by xTaskIncrementTick().
| #define listREMOVE_ITEM | ( | pxItemToRemove | ) |
Definition at line 314 of file list.h.
Referenced by vTaskRemoveFromUnorderedEventList(), xTaskIncrementTick(), xTaskRemoveFromEventList(), and xTaskResumeAll().
| #define listSET_FIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE | ( | pxItem | ) |
Definition at line 114 of file list.h.
Referenced by vListInitialise(), and vListInitialiseItem().
| #define listSET_LIST_INTEGRITY_CHECK_1_VALUE | ( | pxList | ) |
Definition at line 116 of file list.h.
Referenced by vListInitialise().
| #define listSET_LIST_INTEGRITY_CHECK_2_VALUE | ( | pxList | ) |
Definition at line 117 of file list.h.
Referenced by vListInitialise().
| #define listSET_LIST_ITEM_OWNER | ( | pxListItem, | |
| pxOwner ) |
| #define listSET_LIST_ITEM_VALUE | ( | pxListItem, | |
| xValue ) |
Definition at line 206 of file list.h.
Referenced by prvAddCurrentTaskToDelayedList(), uxTaskResetEventItemValue(), vTaskPlaceOnUnorderedEventList(), and vTaskRemoveFromUnorderedEventList().
| #define listSET_SECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE | ( | pxItem | ) |
Definition at line 115 of file list.h.
Referenced by vListInitialise(), and vListInitialiseItem().
| #define listTEST_LIST_INTEGRITY | ( | pxList | ) |
Definition at line 119 of file list.h.
Referenced by vListInsert(), and vListInsertEnd().
| #define listTEST_LIST_ITEM_INTEGRITY | ( | pxItem | ) |
Definition at line 118 of file list.h.
Referenced by vListInsert(), and vListInsertEnd().
| typedef struct xLIST_ITEM ListItem_t |
| typedef struct xLIST_ITEM MiniListItem_t |
| UBaseType_t uxListRemove | ( | ListItem_t *const | pxItemToRemove | ) |
Definition at line 199 of file list.c.
References mtCOVERAGE_TEST_DELAY, mtCOVERAGE_TEST_MARKER, NULL, xLIST_ITEM::pxContainer, xLIST::pxIndex, xLIST_ITEM::pxNext, xLIST_ITEM::pxPrevious, and xLIST::uxNumberOfItems.
Referenced by prvAddCurrentTaskToDelayedList(), and prvCheckTasksWaitingTermination().
| void vListInitialise | ( | List_t *const | pxList | ) |
Definition at line 50 of file list.c.
References listSET_FIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE, listSET_LIST_INTEGRITY_CHECK_1_VALUE, listSET_LIST_INTEGRITY_CHECK_2_VALUE, listSET_SECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE, NULL, portMAX_DELAY, xLIST_ITEM::pvOwner, xLIST_ITEM::pxContainer, xLIST::pxIndex, xLIST_ITEM::pxNext, xLIST_ITEM::pxPrevious, xLIST::uxNumberOfItems, xLIST_ITEM::xItemValue, and xLIST::xListEnd.
Referenced by prvInitialiseTaskLists(), and xQueueGenericReset().
| void vListInitialiseItem | ( | ListItem_t *const | pxItem | ) |
Definition at line 86 of file list.c.
References listSET_FIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE, listSET_SECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE, NULL, and xLIST_ITEM::pxContainer.
| void vListInsert | ( | List_t *const | pxList, |
| ListItem_t *const | pxNewListItem ) |
Definition at line 128 of file list.c.
References listTEST_LIST_INTEGRITY, listTEST_LIST_ITEM_INTEGRITY, portMAX_DELAY, xLIST_ITEM::pxContainer, xLIST_ITEM::pxNext, xLIST_ITEM::pxPrevious, xLIST::uxNumberOfItems, xLIST_ITEM::xItemValue, and xLIST::xListEnd.
Referenced by prvAddCurrentTaskToDelayedList(), and vTaskPlaceOnEventList().
| void vListInsertEnd | ( | List_t *const | pxList, |
| ListItem_t *const | pxNewListItem ) |
Definition at line 98 of file list.c.
References listTEST_LIST_INTEGRITY, listTEST_LIST_ITEM_INTEGRITY, mtCOVERAGE_TEST_DELAY, xLIST_ITEM::pxContainer, xLIST::pxIndex, xLIST_ITEM::pxNext, xLIST_ITEM::pxPrevious, and xLIST::uxNumberOfItems.