这个函数是什么功能?
uint32_tclac_step(uint8_t*ptr){uint32_ttemp=0;temp=*ptr;temp=temp<<8;temp|=*(ptr+1);t...
uint32_t clac_step(uint8_t *ptr)
{
uint32_t temp = 0;
temp = *ptr;
temp = temp << 8;
temp |= *(ptr + 1);
temp = temp << 16;
temp |=*(ptr + 2);
return temp;
} 展开
{
uint32_t temp = 0;
temp = *ptr;
temp = temp << 8;
temp |= *(ptr + 1);
temp = temp << 16;
temp |=*(ptr + 2);
return temp;
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询