为什么说UART初始化不兼容

[复制链接]
1534|0
 楼主| 陈洪霞 发表于 2008-5-13 11:03 | 显示全部楼层 |阅读模式
我在IAR中单独调试UART串口可以调通而且正确,现在将串口引入LCD和ADC中想通过串口将ADC采样后的数据发到电脑的超级终端中为什么在编写程序&nbsp;调试时出现错误,错误提示说Error[Pe147]:&nbsp;declaration&nbsp;is&nbsp;incompatible&nbsp;with&nbsp;&quot;uint8&nbsp;Uart0Init(uint32,&nbsp;uint8)&quot;&nbsp;(declared&nbsp;at&nbsp;line&nbsp;43&nbsp;of&nbsp;&quot;C:Documents&nbsp;and&nbsp;SettingsAdministrator桌面&nbsp;C:Documents&nbsp;and&nbsp;SettingsAdministrator桌面4.2_Uart_DriverUart0Uart0.c&nbsp;45&nbsp;&nbsp;4.2_Uart_DriverUart0/Uart0.h&quot;)&nbsp;<br />
您需要登录后才可以回帖 登录 | 注册

本版积分规则

6

主题

7

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部