what kind of language is it, it does not look like the regular C

I wonder why he did uint16_t buf[4][256], it this limitation of the buffer ? can I store more ?

I am reading the datasheet, nothing there so far.

it is rather complicated code when you are just beginner.