I'm having a problem trying to save a data of uint64_t size into 4 uint16_t positions in array without using any loop... Here is a part of my code:
static int send(uint16_t addr, const void *data)
{
uint16_t frame[7];
/* Here I want to save in frame[2], frame[3], frame[4] and frame[5] the data recieved by parameter */
}
Thanks in advance! :)