gdma_link_concat() function
Concatenate two link lists as follows: Link A: A1 --> A2 --> A3 --> A4 | item_index +-----+ | v item_index Link B: B1 --> B2 --> B3 --> B4 After concatenation: Link A: A1 --> B3 --> B4 Link B: B1 --> B2 --> B3 --> B4
Arguments
first_link
First link list handle, allocated by `gdma_new_link_list`
first_link_item_index
Index of the item in the first link list (-1 means the last item)
second_link
Second link list handle, allocated by `gdma_new_link_list`
second_link_item_index
Index of the item in the second link list (-1 means the last item)
Return value
- ESP_OK: Concatenate the link lists successfully - ESP_ERR_INVALID_ARG: Concatenate the link lists failed because of invalid argument - ESP_FAIL: Concatenate the link lists failed because of other error
gdma_link_concat() calls 2 functions:
![]()
gdma_link_concat()
gdma_link_concat() reads 10 variables and writes 1 variable:
![]()
gdma_link_concat()