Changing the values of a structure using pointers.
Posted: 17 Oct 2022 18:13
Hi,
I am trying to implement a linked list of structures using MikroBasic in order to operate the scatter/gather feature of a DMA.
I set up a structure to write descriptors for each DMA request, but I am not sure of the syntax to access the structures when walking up the linked list.
Ideally, I would like to be able to take the address of an item in the linked list and modify the contents of that item.
Thanks in advanced for any help.
I am trying to implement a linked list of structures using MikroBasic in order to operate the scatter/gather feature of a DMA.
I set up a structure to write descriptors for each DMA request, but I am not sure of the syntax to access the structures when walking up the linked list.
Ideally, I would like to be able to take the address of an item in the linked list and modify the contents of that item.
Thanks in advanced for any help.