B
Barry Schwarz
Also, you could maybe convert the pointer to something like: ((u16[8]) *)
I have trouble finding the right syntax to do this recast. My best effort so far gets these error messages:
Attempt 1:
".\ADC.c", line 205: cc0070: error: incomplete type is not allowed
u16 *pData[8][] = &((u16 * *)(pBuff->Data));
^
Your array has 8 rows. How many columns per row do you want? Specify
that value in the second dimension. Array initialization should be
enclosed in braces.
The right hand expression has type u16***. Each element of the array
has type u16*. There is no implicit conversion between them. Did you
mean to use * instead of &?