专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
  RTLinux提供几个主要的串口API函数   (1)void rt_com_setup(unsigned int com,unsigned baud,unsigned parity,unsigned stopbits,unsigned wordlength)   其中com是串口在rt_com_table中的下标;baud是端口工作的波特率;parity为端口的奇偶校验策略,可选的值有RT_COM_PARITY_EVEN,RT_COM_PARITY_NONE,RT_COM_PARITY_ODD,这些都定义在rt_com.h中。在使用COM口通信之前,应先使 [阅读全文] [PDF]
1 共1条 分1页