我在尝试将 uint64_t 大小的数据保存到数组中的 4 个 uint16_t 位置而不使用任何循环时遇到问题...这是我的代码的一部分:
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 */
}
提前致谢!:)