Go to the source code of this file.
◆ configLIST_VOLATILE
#define configLIST_VOLATILE |
◆ listCURRENT_LIST_LENGTH
#define listCURRENT_LIST_LENGTH |
( |
| pxList | ) |
|
Value:( ( pxList )->uxNumberOfItems )
◆ listFIRST_LIST_INTEGRITY_CHECK_VALUE
#define listFIRST_LIST_INTEGRITY_CHECK_VALUE |
◆ listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE
#define listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE |
◆ listGET_END_MARKER
#define listGET_END_MARKER |
( |
| pxList | ) |
|
Value:( (
ListItem_t const * ) ( &( ( pxList )->xListEnd ) ) )
struct xLIST_ITEM ListItem_t
Definition list.h:154
◆ listGET_HEAD_ENTRY
#define listGET_HEAD_ENTRY |
( |
| pxList | ) |
|
Value:( ( ( pxList )->xListEnd ).pxNext )
◆ listGET_ITEM_VALUE_OF_HEAD_ENTRY
#define listGET_ITEM_VALUE_OF_HEAD_ENTRY |
( |
| pxList | ) |
|
Value:( ( ( pxList )->xListEnd ).pxNext->xItemValue )
◆ listGET_LIST_ITEM_OWNER
#define listGET_LIST_ITEM_OWNER |
( |
| pxListItem | ) |
|
Value:( ( pxListItem )->pvOwner )
◆ listGET_LIST_ITEM_VALUE
#define listGET_LIST_ITEM_VALUE |
( |
| pxListItem | ) |
|
Value:( ( pxListItem )->xItemValue )
◆ listGET_NEXT
#define listGET_NEXT |
( |
| pxListItem | ) |
|
Value:( ( pxListItem )->pxNext )
◆ listGET_OWNER_OF_HEAD_ENTRY
#define listGET_OWNER_OF_HEAD_ENTRY |
( |
| pxList | ) |
|
Value:( ( &( ( pxList )->xListEnd ) )->pxNext->pvOwner )
◆ listINSERT_END
#define listINSERT_END |
( |
| pxList, |
|
|
| pxNewListItem ) |
Value: do { \
ListItem_t *
const pxIndex = ( pxList )->pxIndex; \
\
\
listTEST_LIST_INTEGRITY( ( pxList ) ); \
listTEST_LIST_ITEM_INTEGRITY( ( pxNewListItem ) ); \
\
\
( pxNewListItem )->pxNext = pxIndex; \
( pxNewListItem )->pxPrevious = pxIndex->
pxPrevious; \
\
\
\
( pxNewListItem )->pxContainer = ( pxList ); \
\
( ( pxList )->uxNumberOfItems ) = (
UBaseType_t ) ( ( ( pxList )->uxNumberOfItems ) + 1U ); \
} while( 0 )
unsigned long UBaseType_t
Definition portmacro.h:60
struct xLIST_ITEM *configLIST_VOLATILE pxNext
Definition list.h:148
struct xLIST_ITEM *configLIST_VOLATILE pxPrevious
Definition list.h:149
◆ listIS_CONTAINED_WITHIN
#define listIS_CONTAINED_WITHIN |
( |
| pxList, |
|
|
| pxListItem ) |
Value:( ( ( pxListItem )->pxContainer == ( pxList ) ) ? (
pdTRUE ) : (
pdFALSE ) )
#define pdFALSE
Definition projdefs.h:52
#define pdTRUE
Definition projdefs.h:53
◆ listLIST_IS_EMPTY
#define listLIST_IS_EMPTY |
( |
| pxList | ) |
|
◆ listLIST_IS_INITIALISED
#define listLIST_IS_INITIALISED |
( |
| pxList | ) |
|
Value:
#define portMAX_DELAY
Definition portmacro.h:64
◆ listLIST_ITEM_CONTAINER
#define listLIST_ITEM_CONTAINER |
( |
| pxListItem | ) |
|
Value:( ( pxListItem )->pxContainer )
◆ listREMOVE_ITEM
#define listREMOVE_ITEM |
( |
| pxItemToRemove | ) |
|
Value: do { \
\
List_t *
const pxList = ( pxItemToRemove )->pxContainer; \
\
( pxItemToRemove )->pxNext->pxPrevious = ( pxItemToRemove )->pxPrevious; \
( pxItemToRemove )->pxPrevious->pxNext = ( pxItemToRemove )->pxNext; \
\
if( pxList->
pxIndex == ( pxItemToRemove ) ) \
{ \
pxList->
pxIndex = ( pxItemToRemove )->pxPrevious; \
} \
\
( pxItemToRemove )->pxContainer = NULL; \
( ( pxList )->uxNumberOfItems ) = (
UBaseType_t ) ( ( ( pxList )->uxNumberOfItems ) - 1U ); \
} while( 0 )
ListItem_t *configLIST_VOLATILE pxIndex
Definition list.h:176
◆ listSECOND_LIST_INTEGRITY_CHECK_VALUE
#define listSECOND_LIST_INTEGRITY_CHECK_VALUE |
◆ listSECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE
#define listSECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE |
◆ listSET_FIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE
#define listSET_FIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE |
( |
| pxItem | ) |
|
◆ listSET_LIST_INTEGRITY_CHECK_1_VALUE
#define listSET_LIST_INTEGRITY_CHECK_1_VALUE |
( |
| pxList | ) |
|
◆ listSET_LIST_INTEGRITY_CHECK_2_VALUE
#define listSET_LIST_INTEGRITY_CHECK_2_VALUE |
( |
| pxList | ) |
|
◆ listSET_LIST_ITEM_OWNER
#define listSET_LIST_ITEM_OWNER |
( |
| pxListItem, |
|
|
| pxOwner ) |
Value:( ( pxListItem )->pvOwner = ( void * ) ( pxOwner ) )
◆ listSET_LIST_ITEM_VALUE
#define listSET_LIST_ITEM_VALUE |
( |
| pxListItem, |
|
|
| xValue ) |
Value:( ( pxListItem )->xItemValue = ( xValue ) )
◆ listSET_SECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE
#define listSET_SECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE |
( |
| pxItem | ) |
|
◆ listTEST_LIST_INTEGRITY
#define listTEST_LIST_INTEGRITY |
( |
| pxList | ) |
|
◆ listTEST_LIST_ITEM_INTEGRITY
#define listTEST_LIST_ITEM_INTEGRITY |
( |
| pxItem | ) |
|
◆ List_t
◆ ListItem_t
◆ MiniListItem_t
◆ uxListRemove()
◆ vListInitialise()
void vListInitialise |
( |
List_t *const | pxList | ) |
|
◆ vListInitialiseItem()
void vListInitialiseItem |
( |
ListItem_t *const | pxItem | ) |
|
◆ vListInsert()
◆ vListInsertEnd()