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

📄 i2c.plg

📁 Philips LPC2148 example code
💻 PLG
📖 第 1 页 / 共 5 页
字号:
<html>
<body>
<pre>
<h1>礦ision2 Build Log</h1>
<h2>Project:</h2>
D:\KeilLPC213x4xSample\I2C\I2C.uv2
Project File Date:  06/15/2006

<h2>Output:</h2>
Build target 'Target 1'
compiling i2c.c...
i2c.c(11): error: D:\KeilLPC213x4xSample\Common\LPC214x.h: No such file or directory
i2c.c(12): error: D:\KeilLPC213x4xSample\Common\type.h: No such file or directory
i2c.c(13): error: D:\KeilLPC213x4xSample\Common\irq.h: No such file or directory
i2c.c(14): error: D:\KeilLPC213x4xSample\Common\i2c.h: No such file or directory
i2c.c(16): error: parse error before "I2CMasterState"
i2c.c(16): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(16): error: `I2C_IDLE' undeclared here (not in a function)
i2c.c(16): warning: data definition has no type or storage class
i2c.c(17): error: parse error before "I2CSlaveState"
i2c.c(17): warning: type defaults to `int' in declaration of `I2CSlaveState'
i2c.c(17): error: `I2C_IDLE' undeclared here (not in a function)
i2c.c(17): warning: data definition has no type or storage class
i2c.c(19): error: parse error before "I2CCmd"
i2c.c(19): warning: type defaults to `int' in declaration of `I2CCmd'
i2c.c(19): warning: data definition has no type or storage class
i2c.c(20): error: parse error before "I2CMode"
i2c.c(20): warning: type defaults to `int' in declaration of `I2CMode'
i2c.c(20): warning: data definition has no type or storage class
i2c.c(22): error: parse error before "I2CMasterBuffer"
i2c.c(22): error: `BUFSIZE' undeclared here (not in a function)
i2c.c(22): warning: type defaults to `int' in declaration of `I2CMasterBuffer'
i2c.c(22): warning: data definition has no type or storage class
i2c.c(23): error: parse error before "I2CSlaveBuffer"
i2c.c(23): error: `BUFSIZE' undeclared here (not in a function)
i2c.c(23): warning: type defaults to `int' in declaration of `I2CSlaveBuffer'
i2c.c(23): warning: data definition has no type or storage class
i2c.c(24): error: parse error before "I2CCount"
i2c.c(24): warning: type defaults to `int' in declaration of `I2CCount'
i2c.c(24): warning: data definition has no type or storage class
i2c.c(25): error: parse error before "I2CReadLength"
i2c.c(25): warning: type defaults to `int' in declaration of `I2CReadLength'
i2c.c(25): warning: data definition has no type or storage class
i2c.c(26): error: parse error before "I2CWriteLength"
i2c.c(26): warning: type defaults to `int' in declaration of `I2CWriteLength'
i2c.c(26): warning: data definition has no type or storage class
i2c.c(28): error: parse error before "RdIndex"
i2c.c(28): warning: type defaults to `int' in declaration of `RdIndex'
i2c.c(28): warning: data definition has no type or storage class
i2c.c(29): error: parse error before "WrIndex"
i2c.c(29): warning: type defaults to `int' in declaration of `WrIndex'
i2c.c(29): warning: data definition has no type or storage class
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: `I20STAT' undeclared here (not in a function)
i2c.c(56): warning: data definition has no type or storage class
i2c.c(57): warning: type defaults to `int' in declaration of `IENABLE'
i2c.c(57): warning: data definition has no type or storage class
i2c.c(58): error: parse error before "switch"
i2c.c(62): warning: type defaults to `int' in declaration of `I20CONCLR'
i2c.c(62): error: `I2CONCLR_SIC' undeclared here (not in a function)
i2c.c(62): error: `I2CONCLR_STAC' undeclared here (not in a function)
i2c.c(62): warning: data definition has no type or storage class
i2c.c(63): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(63): error: redefinition of `I2CMasterState'
i2c.c(16): error: `I2CMasterState' previously defined here
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): warning: type defaults to `int' in declaration of `I20CONCLR'
i2c.c(71): error: redefinition of `I20CONCLR'
i2c.c(62): error: `I20CONCLR' previously defined here
i2c.c(71): error: `I2CONCLR_SIC' undeclared here (not in a function)
i2c.c(71): error: `I2CONCLR_STAC' undeclared here (not in a function)
i2c.c(71): warning: data definition has no type or storage class
i2c.c(72): warning: type defaults to `int' in declaration of `I2CMasterState'
i2c.c(72): error: redefinition of `I2CMasterState'
i2c.c(63): error: `I2CMasterState' previously defined here
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): warning: type defaults to `int' in declaration of `I20CONCLR'
i2c.c(82): error: redefinition of `I20CONCLR'
i2c.c(71): error: `I20CONCLR' previously defined here
i2c.c(82): error: `I2CONCLR_SIC' undeclared here (not in a function)
i2c.c(82): warning: data definition has no type or storage class
i2c.c(83): error: parse error before "break"
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): warning: type defaults to `int' in declaration of `I20CONCLR'
i2c.c(117): error: redefinition of `I20CONCLR'
i2c.c(82): error: `I20CONCLR' previously defined here
i2c.c(117): error: `I2CONCLR_SIC' undeclared here (not in a function)
i2c.c(117): warning: data definition has no type or storage class
i2c.c(118): error: parse error before "break"
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): warning: type defaults to `int' in declaration of `I20CONSET'
i2c.c(137): error: `I2CONSET_AA' undeclared here (not in a function)
i2c.c(137): warning: data definition has no type or storage class
i2c.c(138): warning: type defaults to `int' in declaration of `I20CONCLR'
i2c.c(138): error: redefinition of `I20CONCLR'
i2c.c(117): error: `I20CONCLR' previously defined here
i2c.c(138): error: `I2CONCLR_SIC' undeclared here (not in a function)
i2c.c(138): warning: data definition has no type or storage class
i2c.c(139): error: parse error before "break"
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): warning: type defaults to `int' in declaration of `IDISABLE'
i2c.c(153): warning: data definition has no type or storage class
i2c.c(154): warning: type defaults to `int' in declaration of `VICVectAddr'
i2c.c(154): warning: data definition has no type or storage class
i2c.c(155): error: parse error before '}' token
i2c.c(169): warning: return type defaults to `int'
i2c.c: In function `I2CStart':
i2c.c(170): error: `DWORD' undeclared (first use in this function)
i2c.c(170): error: (Each undeclared identifier is reported only once
i2c.c(170): error: for each function it appears in.)
i2c.c(170): error: parse error before "timeout"
i2c.c(174): error: `I2CONSET_STA' undeclared (first use in this function)
i2c.c(179): error: `I2C_STARTED' undeclared (first use in this function)
i2c.c(181): error: `returnValue' undeclared (first use in this function)
i2c.c(181): error: `TRUE' undeclared (first use in this function)
i2c.c(184): error: `timeout' undeclared (first use in this function)
i2c.c(184): error: `MAX_TIMEOUT' undeclared (first use in this function)
i2c.c(186): error: `FALSE' undeclared (first use in this function)
i2c.c: At top level:
i2c.c(204): error: parse error before "I2CStop"
i2c.c(205): warning: return type defaults to `int'
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(211): error: `TRUE' undeclared (first use in this function)
i2c.c: At top level:
i2c.c(224): error: parse error before "I2CInit"
i2c.c(224): error: parse error before "I2cMode"
i2c.c(225): warning: return type defaults to `int'
i2c.c: In function `I2CInit':
i2c.c(226): error: `PINSEL0' undeclared (first use in this function)
i2c.c(227): error: `IODIR0' undeclared (first use in this function)
i2c.c(228): error: `IOSET0' undeclared (first use in this function)
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: `I20SCLL' undeclared (first use in this function)
i2c.c(234): error: `I2SCLL_SCLL' undeclared (first use in this function)
i2c.c(235): error: `I20SCLH' undeclared (first use in this function)
i2c.c(235): error: `I2SCLH_SCLH' undeclared (first use in this function)
i2c.c(236): error: `I2cMode' undeclared (first use in this function)
i2c.c(236): error: `I2CSLAVE' undeclared (first use in this function)
i2c.c(238): error: `I20ADR' undeclared (first use in this function)
i2c.c(238): error: `SE95_ADDR' undeclared (first use in this function)
i2c.c(242): warning: implicit declaration of function `install_irq'
i2c.c(242): error: `I2C0_INT' undeclared (first use in this function)
i2c.c(242): error: `I2C0MasterHandler' undeclared (first use in this function)
i2c.c(242): error: `FALSE' undeclared (first use in this function)
i2c.c(246): error: `I2CONSET_I2EN' undeclared (first use in this function)
i2c.c(247): error: `TRUE' undeclared (first use in this function)
i2c.c: At top level:
i2c.c(267): error: parse error before "I2CEngine"
i2c.c(268): warning: return type defaults to `int'
i2c.c: In function `I2CEngine':
i2c.c(269): error: `I2C_IDLE' undeclared (first use in this function)
i2c.c(272): error: `TRUE' undeclared (first use in this function)
i2c.c(275): error: `FALSE' 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: No such file or directory
i2cmst.c(12): error: D:\KeilLPC213x4xSample\Common\type.h: No such file or directory
i2cmst.c(13): error: D:\KeilLPC213x4xSample\Common\irq.h: No such file or directory
i2cmst.c(14): error: D:\KeilLPC213x4xSample\Common\i2c.h: No such file or directory
i2cmst.c(16): error: parse error before "I2CCount"
i2cmst.c(16): warning: type defaults to `int' in declaration of `I2CCount'
i2cmst.c(16): warning: data definition has no type or storage class
i2cmst.c(17): error: parse error before "I2CMasterBuffer"
i2cmst.c(17): error: `BUFSIZE' undeclared here (not in a function)
i2cmst.c(17): warning: type defaults to `int' in declaration of `I2CMasterBuffer'
i2cmst.c(17): warning: data definition has no type or storage class
i2cmst.c(18): error: parse error before "I2CCmd"
i2cmst.c(18): warning: type defaults to `int' in declaration of `I2CCmd'
i2cmst.c(18): warning: type defaults to `int' in declaration of `I2CMasterState'

⌨️ 快捷键说明

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