摘要: 在《NiosII那些事儿》串口实验中,有这样一段程序:sopc.h.......typedef struct{//接收寄存器union{ struct { volatile unsigned long int RECEIVE_DATA :8; volatile unsigned long int NC :24; }BITS; volatile unsigned long int WORD;}RXDATA;//发送寄存器union{ struct { volatile unsigned long int T... 阅读全文
posted @ 2011-12-26 20:51 j2ee技术 阅读(281) 评论(0) 推荐(0)