Function error_list_ref_array_element(uint16_t, uint16_t)

Function Documentation

llist_node *error_list_ref_array_element(uint16_t id, uint16_t offset)

Returns the cell memory position of error_list_ref_array.

error_list_ref_array is an array of llist_node arrays (not a matrix). After first dereference by

Return
a
Parameters
  • id: we get the memory addres of the relative error_<id> error variable. With that memory addres we can offset by
  • offset: (in case the error_<id> is an array) and get a memory addres: &error_<id>[offset].
  • id: The error id
  • offset: The &error_<id>[offset]