怎么把一个结构体的数据包通过串口发送出去?

typedef struct{ 

      uint8_t name;

      uint8_t sex;

      uint8_t age;  

      ....

 }Person; 

串口发送函数:

USART1_Send((u8*)&Person,sizeof(Person));

原文地址:https://www.cnblogs.com/liangbo-1024/p/9209785.html