⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 i2c.plg

📁 Philips LPC2148 example code
💻 PLG
📖 第 1 页 / 共 5 页
字号:
i2c.c(231): error: `I2CONCLR_AAC' undeclared (first use in this function)
i2c.c(231): error: `I2CONCLR_SIC' undeclared (first use in this function)
i2c.c(231): error: `I2CONCLR_STAC' undeclared (first use in this function)
i2c.c(231): error: `I2CONCLR_I2ENC' undeclared (first use in this function)
i2c.c(234): error: `I2SCLL_SCLL' undeclared (first use in this function)
i2c.c(235): error: `I2SCLH_SCLH' undeclared (first use in this function)
i2c.c(236): error: `I2CSLAVE' undeclared (first use in this function)
i2c.c(238): error: `SE95_ADDR' undeclared (first use in this function)
i2c.c(242): error: `I2C0MasterHandler' undeclared (first use in this function)
i2c.c(246): error: `I2CONSET_I2EN' undeclared (first use in this function)
i2c.c: In function `I2CEngine':
i2c.c(269): error: `I2C_IDLE' undeclared (first use in this function)
i2c.c(279): error: `DATA_NACK' undeclared (first use in this function)
i2c.c: At top level:
i2c.c(22): error: storage size of `I2CMasterBuffer' isn't known
i2c.c(23): error: storage size of `I2CSlaveBuffer' isn't known
compiling i2cmst.c...
i2cmst.c(11): error: D:\KeilLPC213x4xSample\Common\inc\inc: No such file or directory
In file included from i2cmst.c(13): error: 
D:/KeilLPC213x4xSample/Common/inc/irq.h:73:51: warning: backslash and newline separated by space
i2cmst.c(14): error: D:\KeilLPC213x4xSample\Common\inc\i2c.h: No such file or directory
i2cmst.c(17): error: `BUFSIZE' undeclared here (not in a function)
i2cmst.c: In function `main':
i2cmst.c(29): warning: implicit declaration of function `I2CInit'
i2cmst.c(29): error: `I2CMASTER' undeclared (first use in this function)
i2cmst.c(29): error: (Each undeclared identifier is reported only once
i2cmst.c(29): error: for each function it appears in.)
i2cmst.c(38): warning: "/*" within comment
i2cmst.c(50): error: `BUFSIZE' undeclared (first use in this function)
i2cmst.c(56): error: `SE95_ADDR' undeclared (first use in this function)
i2cmst.c(57): error: `SE95_ID' undeclared (first use in this function)
i2cmst.c(58): error: `RD_BIT' undeclared (first use in this function)
i2cmst.c(59): error: `GET_DEVICE_ID' undeclared (first use in this function)
i2cmst.c(60): warning: implicit declaration of function `I2CEngine'
i2cmst.c(70): error: `SE95_CONFIG' undeclared (first use in this function)
i2cmst.c(73): error: `SET_CONFIGURATION' undeclared (first use in this function)
i2cmst.c(84): error: `SE95_TEMP' undeclared (first use in this function)
i2cmst.c(86): error: `GET_TEMPERATURE' undeclared (first use in this function)
Target not created
Build target 'Target 1'
compiling i2c.c...
In file included from i2c.c(13): error: 
D:/KeilLPC213x4xSample/Common/inc/irq.h:73:51: warning: backslash and newline separated by space
i2c.c(14): error: D:\KeilLPC213x4xSample\Common\inc\i2c.h: No such file or directory
i2c.c(16): error: `I2C_IDLE' undeclared here (not in a function)
i2c.c(17): error: `I2C_IDLE' undeclared here (not in a function)
i2c.c(22): error: `BUFSIZE' undeclared here (not in a function)
i2c.c(23): error: `BUFSIZE' undeclared here (not in a function)
i2c.c(51): error: parse error before "__irq"
i2c.c(52): error: syntax error before '{' token
i2c.c(56): warning: type defaults to `int' in declaration of `StatValue'
i2c.c(56): error: initializer element is not constant
i2c.c(56): warning: data definition has no type or storage class
i2c.c(57): error: parse error before '{' token
i2c.c(57): error: syntax error at '#' token
i2c.c(62): error: parse error before "volatile"
i2c.c(63): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(63): error: conflicting types for `I2CMasterState'
i2c.c(16): error: previous declaration of `I2CMasterState'
i2c.c(63): error: `I2C_STARTED' undeclared here (not in a function)
i2c.c(63): warning: data definition has no type or storage class
i2c.c(64): error: parse error before "break"
i2c.c(71): error: parse error before "volatile"
i2c.c(72): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(72): error: `I2C_RESTARTED' undeclared here (not in a function)
i2c.c(72): warning: data definition has no type or storage class
i2c.c(73): error: parse error before "break"
i2c.c(80): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(80): error: redefinition of `I2CMasterState'
i2c.c(72): error: `I2CMasterState' previously defined here
i2c.c(80): error: `DATA_ACK' undeclared here (not in a function)
i2c.c(80): warning: data definition has no type or storage class
i2c.c(81): error: parse error before '}' token
i2c.c(82): error: parse error before "volatile"
i2c.c(101): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(101): error: redefinition of `I2CMasterState'
i2c.c(80): error: `I2CMasterState' previously defined here
i2c.c(101): error: `I2C_REPEATED_START' undeclared here (not in a function)
i2c.c(101): warning: data definition has no type or storage class
i2c.c(102): error: parse error before '}' token
i2c.c(110): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(110): error: redefinition of `I2CMasterState'
i2c.c(101): error: `I2CMasterState' previously defined here
i2c.c(110): error: `I2C_REPEATED_START' undeclared here (not in a function)
i2c.c(110): warning: data definition has no type or storage class
i2c.c(111): error: parse error before '}' token
i2c.c(117): error: parse error before "volatile"
i2c.c(135): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(135): error: redefinition of `I2CMasterState'
i2c.c(110): error: `I2CMasterState' previously defined here
i2c.c(135): error: `DATA_NACK' undeclared here (not in a function)
i2c.c(135): warning: data definition has no type or storage class
i2c.c(136): error: parse error before '}' token
i2c.c(137): error: parse error before "volatile"
i2c.c(138): error: parse error before "volatile"
i2c.c(144): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(144): error: redefinition of `I2CMasterState'
i2c.c(135): error: `I2CMasterState' previously defined here
i2c.c(144): error: `DATA_NACK' undeclared here (not in a function)
i2c.c(144): warning: data definition has no type or storage class
i2c.c(145): error: parse error before "break"
i2c.c(153): error: syntax error at '#' token
i2c.c(154): error: parse error before "volatile"
i2c.c: In function `I2CStart':
i2c.c(174): error: `I2CONSET_STA' undeclared (first use in this function)
i2c.c(174): error: (Each undeclared identifier is reported only once
i2c.c(174): error: for each function it appears in.)
i2c.c(179): error: `I2C_STARTED' undeclared (first use in this function)
i2c.c(184): error: `MAX_TIMEOUT' undeclared (first use in this function)
i2c.c: In function `I2CStop':
i2c.c(206): error: `I2CONSET_STO' undeclared (first use in this function)
i2c.c(207): error: `I2CONCLR_SIC' undeclared (first use in this function)
i2c.c: In function `I2CInit':
i2c.c(231): error: `I2CONCLR_AAC' undeclared (first use in this function)
i2c.c(231): error: `I2CONCLR_SIC' undeclared (first use in this function)
i2c.c(231): error: `I2CONCLR_STAC' undeclared (first use in this function)
i2c.c(231): error: `I2CONCLR_I2ENC' undeclared (first use in this function)
i2c.c(234): error: `I2SCLL_SCLL' undeclared (first use in this function)
i2c.c(235): error: `I2SCLH_SCLH' undeclared (first use in this function)
i2c.c(236): error: `I2CSLAVE' undeclared (first use in this function)
i2c.c(238): error: `SE95_ADDR' undeclared (first use in this function)
i2c.c(242): error: `I2C0MasterHandler' undeclared (first use in this function)
i2c.c(246): error: `I2CONSET_I2EN' undeclared (first use in this function)
i2c.c: In function `I2CEngine':
i2c.c(269): error: `I2C_IDLE' undeclared (first use in this function)
i2c.c(279): error: `DATA_NACK' undeclared (first use in this function)
i2c.c: At top level:
i2c.c(22): error: storage size of `I2CMasterBuffer' isn't known
i2c.c(23): error: storage size of `I2CSlaveBuffer' isn't known
compiling i2cmst.c...
i2cmst.c(11): error: D:\KeilLPC213x4xSample\Common\inc\inc: No such file or directory
In file included from i2cmst.c(13): error: 
D:/KeilLPC213x4xSample/Common/inc/irq.h:73:51: warning: backslash and newline separated by space
i2cmst.c(14): error: D:\KeilLPC213x4xSample\Common\inc\i2c.h: No such file or directory
i2cmst.c(17): error: `BUFSIZE' undeclared here (not in a function)
i2cmst.c: In function `main':
i2cmst.c(29): warning: implicit declaration of function `I2CInit'
i2cmst.c(29): error: `I2CMASTER' undeclared (first use in this function)
i2cmst.c(29): error: (Each undeclared identifier is reported only once
i2cmst.c(29): error: for each function it appears in.)
i2cmst.c(38): warning: "/*" within comment
i2cmst.c(50): error: `BUFSIZE' undeclared (first use in this function)
i2cmst.c(56): error: `SE95_ADDR' undeclared (first use in this function)
i2cmst.c(57): error: `SE95_ID' undeclared (first use in this function)
i2cmst.c(58): error: `RD_BIT' undeclared (first use in this function)
i2cmst.c(59): error: `GET_DEVICE_ID' undeclared (first use in this function)
i2cmst.c(60): warning: implicit declaration of function `I2CEngine'
i2cmst.c(70): error: `SE95_CONFIG' undeclared (first use in this function)
i2cmst.c(73): error: `SET_CONFIGURATION' undeclared (first use in this function)
i2cmst.c(84): error: `SE95_TEMP' undeclared (first use in this function)
i2cmst.c(86): error: `GET_TEMPERATURE' undeclared (first use in this function)
Target not created
Build target 'Target 1'
compiling i2c.c...
In file included from i2c.c(13): error: 
D:/KeilLPC213x4xSample/Common/inc/irq.h:73:51: warning: backslash and newline separated by space
i2c.c(14): error: D:\KeilLPC213x4xSample\Common\inc\i2c.h: No such file or directory
i2c.c(16): error: `I2C_IDLE' undeclared here (not in a function)
i2c.c(17): error: `I2C_IDLE' undeclared here (not in a function)
i2c.c(22): error: `BUFSIZE' undeclared here (not in a function)
i2c.c(23): error: `BUFSIZE' undeclared here (not in a function)
i2c.c(51): error: parse error before "__irq"
i2c.c(52): error: syntax error before '{' token
i2c.c(56): warning: type defaults to `int' in declaration of `StatValue'
i2c.c(56): error: initializer element is not constant
i2c.c(56): warning: data definition has no type or storage class
i2c.c(57): error: parse error before '{' token
i2c.c(57): error: syntax error at '#' token
i2c.c(62): error: parse error before "volatile"
i2c.c(63): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(63): error: conflicting types for `I2CMasterState'
i2c.c(16): error: previous declaration of `I2CMasterState'
i2c.c(63): error: `I2C_STARTED' undeclared here (not in a function)
i2c.c(63): warning: data definition has no type or storage class
i2c.c(64): error: parse error before "break"
i2c.c(71): error: parse error before "volatile"
i2c.c(72): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(72): error: `I2C_RESTARTED' undeclared here (not in a function)
i2c.c(72): warning: data definition has no type or storage class
i2c.c(73): error: parse error before "break"
i2c.c(80): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(80): error: redefinition of `I2CMasterState'
i2c.c(72): error: `I2CMasterState' previously defined here
i2c.c(80): error: `DATA_ACK' undeclared here (not in a function)
i2c.c(80): warning: data definition has no type or storage class
i2c.c(81): error: parse error before '}' token
i2c.c(82): error: parse error before "volatile"
i2c.c(101): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(101): error: redefinition of `I2CMasterState'
i2c.c(80): error: `I2CMasterState' previously defined here
i2c.c(101): error: `I2C_REPEATED_START' undeclared here (not in a function)
i2c.c(101): warning: data definition has no type or storage class
i2c.c(102): error: parse error before '}' token
i2c.c(110): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(110): error: redefinition of `I2CMasterState'
i2c.c(101): error: `I2CMasterState' previously defined here
i2c.c(110): error: `I2C_REPEATED_START' undeclared here (not in a function)
i2c.c(110): warning: data definition has no type or storage class
i2c.c(111): error: parse error before '}' token
i2c.c(117): error: parse error before "volatile"
i2c.c(135): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(135): error: redefinition of `I2CMasterState'
i2c.c(110): error: `I2CMasterState' previously defined here
i2c.c(135): error: `DATA_NACK' undeclared here (not in a function)
i2c.c(135): warning: data definition has no type or storage class
i2c.c(136): error: parse error before '}' token
i2c.c(137): error: parse error before "volatile"
i2c.c(138): error: parse error before "volatile"
i2c.c(144): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(144): error: redefinition of `I2CMast

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -