iccavr 编译
我在用iccavr7.22编译程序atmaga16的芯片头文件#include<iom16v.h>程序编译通过.现在在选择atmega128,更改头文件#include<...
我在用iccavr7.22编译程序
atmaga16的芯片 头文件#include <iom16v.h>程序编译通过.
现在在选择atmega128,更改头文件#include <iom128v.h>,编译出错
E F:\master\master.c(24): undeclared identifier `UCSRB'
!E F:\master\master.c(25): undeclared identifier `UCSRA'
!E F:\master\master.c(26): undeclared identifier `UCSRC'
!E F:\master\master.c(26): undeclared identifier `URSEL'
!E F:\master\master.c(26): undeclared identifier `UPM0'
!E F:\master\master.c(26): undeclared identifier `UCSZ0'
!E F:\master\master.c(30): undeclared identifier `UBRRL'
!E F:\master\master.c(31): undeclared identifier `UBRRH'
!E F:\master\master.c(33): undeclared identifier `TXEN'
!E F:\master\master.c(33): undeclared identifier `RXEN'
!E F:\master\master.c(33): undeclared identifier `RXCIE'
!E F:\master\master.c(40): undeclared identifier `UCSRA'
!E F:\master\master.c(40): undeclared identifier `UDRE'
!E F:\master\master.c(41): undeclared identifier `UDR'
!E F:\master\master.c(42): undeclared identifier `TXC' 展开
atmaga16的芯片 头文件#include <iom16v.h>程序编译通过.
现在在选择atmega128,更改头文件#include <iom128v.h>,编译出错
E F:\master\master.c(24): undeclared identifier `UCSRB'
!E F:\master\master.c(25): undeclared identifier `UCSRA'
!E F:\master\master.c(26): undeclared identifier `UCSRC'
!E F:\master\master.c(26): undeclared identifier `URSEL'
!E F:\master\master.c(26): undeclared identifier `UPM0'
!E F:\master\master.c(26): undeclared identifier `UCSZ0'
!E F:\master\master.c(30): undeclared identifier `UBRRL'
!E F:\master\master.c(31): undeclared identifier `UBRRH'
!E F:\master\master.c(33): undeclared identifier `TXEN'
!E F:\master\master.c(33): undeclared identifier `RXEN'
!E F:\master\master.c(33): undeclared identifier `RXCIE'
!E F:\master\master.c(40): undeclared identifier `UCSRA'
!E F:\master\master.c(40): undeclared identifier `UDRE'
!E F:\master\master.c(41): undeclared identifier `UDR'
!E F:\master\master.c(42): undeclared identifier `TXC' 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询