keil提示“main.c(7): error C231: ‘TL0‘: redefinition”

博主上午写代码时遇到报错,将'\reg52.h\'换成'<reg52.h>'未能解决。经与之前代码比对,发现是未添加定时函数Void Time0Init(),添加后编译通过。

上午写代码的时候出现这样的报错,尝试了把"reg52.h"换成了<reg52.h>依然没用

经过和之前代码的比对,发现是因为没有加定时函数Void Time0Init(),加上之后,编译就通过了。

WENDUJIANKONG.C(5): error C231: 'ACC': redefinition WENDUJIANKONG.C(6): error C231: 'B': redefinition WENDUJIANKONG.C(7): error C231: 'PSW': redefinition WENDUJIANKONG.C(8): error C231: 'CY': redefinition WENDUJIANKONG.C(9): error C231: 'AC': redefinition WENDUJIANKONG.C(10): error C231: 'F0': redefinition WENDUJIANKONG.C(11): error C231: 'RS1': redefinition WENDUJIANKONG.C(12): error C231: 'RS0': redefinition WENDUJIANKONG.C(13): error C231: 'OV': redefinition WENDUJIANKONG.C(14): error C231: 'P': redefinition WENDUJIANKONG.C(16): error C231: 'SP': redefinition WENDUJIANKONG.C(17): error C231: 'DPL': redefinition WENDUJIANKONG.C(18): error C231: 'DPH': redefinition WENDUJIANKONG.C(20): error C231: 'P0': redefinition WENDUJIANKONG.C(21): error C231: 'P1': redefinition WENDUJIANKONG.C(22): error C231: 'P2': redefinition WENDUJIANKONG.C(23): error C231: 'P3': redefinition WENDUJIANKONG.C(25): error C231: 'PCON': redefinition WENDUJIANKONG.C(26): error C231: 'IE': redefinition WENDUJIANKONG.C(27): error C231: 'EA': redefinition WENDUJIANKONG.C(28): error C231: 'ES': redefinition WENDUJIANKONG.C(29): error C231: 'ET1': redefinition WENDUJIANKONG.C(30): error C231: 'EX1': redefinition WENDUJIANKONG.C(31): error C231: 'ET0': redefinition WENDUJIANKONG.C(32): error C231: 'EX0': redefinition WENDUJIANKONG.C(34): error C231: 'IP': redefinition WENDUJIANKONG.C(35): error C231: 'PS': redefinition WENDUJIANKONG.C(36): error C231: 'PT1': redefinition WENDUJIANKONG.C(37): error C231: 'PX1': redefinition WENDUJIANKONG.C(38): error C231: 'PT0': redefinition WENDUJIANKONG.C(39): error C231: 'PX0': redefinition WENDUJIANKONG.C(41): error C231: 'TCON': redefinition WENDUJIANKONG.C(42): error C231: 'TF1': redefinition WENDUJIANKONG.C(43): error C231: 'TR1': redefinition WENDUJIANKONG.C(44): error C231: 'TF0': redefinition WENDUJIANKONG.C(45): error C231: 'TR0': redefinition WENDUJIANKONG.C(46): error C231: 'IE1': redefinition WENDUJIANKONG.C(47): error C231: 'IT1': redefinition WENDUJIANKONG.C(48): error C231: 'IE0': redefinition WENDUJIANKONG.C(49): error C231: 'IT0': redefinition WENDUJIANKONG.C(51): error C231: 'TMOD': redefinition WENDUJIANKONG.C(52): error C231: 'TL0': redefinition WENDUJIANKONG.C(53): error C231: 'TL1': redefinition WENDUJIANKONG.C(54): error C231: 'TH0': redefinition WENDUJIANKONG.C(55): error C231: 'TH1': redefinition WENDUJIANKONG.C(57): error C231: 'SCON': redefinition WENDUJIANKONG.C(58): error C231: 'SM0': redefinition WENDUJIANKONG.C(59): error C231: 'SM1': redefinition WENDUJIANKONG.C(60): error C231: 'SM2': redefinition WENDUJIANKONG.C(61): error C231: 'REN': redefinition WENDUJIANKONG.C(62): error C231: 'TB8': redefinition WENDUJIANKONG.C(63): error C231: 'RB8': redefinition WENDUJIANKONG.C(64): error C231: 'TI': redefinition WENDUJIANKONG.C(65): error C231: 'RI': redefinition WENDUJIANKONG.C(66): error C231: 'SBUF': redefinition
最新发布
11-21
Rebuild started: Project: project Rebuild target 'Target 1' assembling STARTUP.A51... compiling main.c... C:\Keil_v5\C51\Inc\reg52.h(13): error C231: 'P0': redefinition C:\Keil_v5\C51\Inc\reg52.h(14): error C231: 'P1': redefinition C:\Keil_v5\C51\Inc\reg52.h(15): error C231: 'P2': redefinition C:\Keil_v5\C51\Inc\reg52.h(16): error C231: 'P3': redefinition C:\Keil_v5\C51\Inc\reg52.h(17): error C231: 'PSW': redefinition C:\Keil_v5\C51\Inc\reg52.h(18): error C231: 'ACC': redefinition C:\Keil_v5\C51\Inc\reg52.h(19): error C231: 'B': redefinition C:\Keil_v5\C51\Inc\reg52.h(20): error C231: 'SP': redefinition C:\Keil_v5\C51\Inc\reg52.h(21): error C231: 'DPL': redefinition C:\Keil_v5\C51\Inc\reg52.h(22): error C231: 'DPH': redefinition C:\Keil_v5\C51\Inc\reg52.h(23): error C231: 'PCON': redefinition C:\Keil_v5\C51\Inc\reg52.h(24): error C231: 'TCON': redefinition C:\Keil_v5\C51\Inc\reg52.h(25): error C231: 'TMOD': redefinition C:\Keil_v5\C51\Inc\reg52.h(26): error C231: 'TL0': redefinition C:\Keil_v5\C51\Inc\reg52.h(27): error C231: 'TL1': redefinition C:\Keil_v5\C51\Inc\reg52.h(28): error C231: 'TH0': redefinition C:\Keil_v5\C51\Inc\reg52.h(29): error C231: 'TH1': redefinition C:\Keil_v5\C51\Inc\reg52.h(30): error C231: 'IE': redefinition C:\Keil_v5\C51\Inc\reg52.h(31): error C231: 'IP': redefinition C:\Keil_v5\C51\Inc\reg52.h(32): error C231: 'SCON': redefinition C:\Keil_v5\C51\Inc\reg52.h(33): error C231: 'SBUF': redefinition C:\Keil_v5\C51\Inc\reg52.h(36): error C231: 'T2CON': redefinition C:\Keil_v5\C51\Inc\reg52.h(37): error C231: 'RCAP2L': redefinition C:\Keil_v5\C51\Inc\reg52.h(38): error C231: 'RCAP2H': redefinition C:\Keil_v5\C51\Inc\reg52.h(39): error C231: 'TL2': redefinition C:\Keil_v5\C51\Inc\reg52.h(40): error C231: 'TH2': redefinition C:\Keil_v5\C51\Inc\reg52.h(45): error C231: 'CY': redefinition C:\Keil_v5\C51\Inc\reg52.h(46): error C231: 'AC': redefinition C:\Keil_v5\C51\Inc\reg52.h(47): error C231: 'F0': redefinition C:\Keil_v5\C51\Inc\reg52.h(48): error C231: 'RS1': redefinition C:\Keil_v5\C51\Inc\reg52.h(49): error C231: 'RS0': redefinition C:\Keil_v5\C51\Inc\reg52.h(50): error C231: 'OV': redefinition C:\Keil_v5\C51\Inc\reg52.h(51): error C231: 'P': redefinition C:\Keil_v5\C51\Inc\reg52.h(54): error C231: 'TF1': redefinition C:\Keil_v5\C51\Inc\reg52.h(55): error C231: 'TR1': redefinition C:\Keil_v5\C51\Inc\reg52.h(56): error C231: 'TF0': redefinition C:\Keil_v5\C51\Inc\reg52.h(57): error C231: 'TR0': redefinition C:\Keil_v5\C51\Inc\reg52.h(58): error C231: 'IE1': redefinition C:\Keil_v5\C51\Inc\reg52.h(59): error C231: 'IT1': redefinition C:\Keil_v5\C51\Inc\reg52.h(60): error C231: 'IE0': redefinition C:\Keil_v5\C51\Inc\reg52.h(61): error C231: 'IT0': redefinition C:\Keil_v5\C51\Inc\reg52.h(64): error C231: 'EA': redefinition C:\Keil_v5\C51\Inc\reg52.h(65): error C231: 'ET2': redefinition C:\Keil_v5\C51\Inc\reg52.h(66): error C231: 'ES': redefinition C:\Keil_v5\C51\Inc\reg52.h(67): error C231: 'ET1': redefinition C:\Keil_v5\C51\Inc\reg52.h(68): error C231: 'EX1': redefinition C:\Keil_v5\C51\Inc\reg52.h(69): error C231: 'ET0': redefinition C:\Keil_v5\C51\Inc\reg52.h(70): error C231: 'EX0': redefinition C:\Keil_v5\C51\Inc\reg52.h(73): error C231: 'PT2': redefinition C:\Keil_v5\C51\Inc\reg52.h(74): error C231: 'PS': redefinition C:\Keil_v5\C51\Inc\reg52.h(75): error C231: 'PT1': redefinition C:\Keil_v5\C51\Inc\reg52.h(76): error C231: 'PX1': redefinition C:\Keil_v5\C51\Inc\reg52.h(77): error C231: 'PT0': redefinition C:\Keil_v5\C51\Inc\reg52.h(78): error C231: 'PX0': redefinition C:\Keil_v5\C51\Inc\reg52.h(81): error C231: 'RD': redefinition C:\Keil_v5\C51\Inc\reg52.h(82): error C231: 'WR': redefinition C:\Keil_v5\C51\Inc\reg52.h(83): error C231: 'T1': redefinition C:\Keil_v5\C51\Inc\reg52.h(84): error C231: 'T0': redefinition C:\Keil_v5\C51\Inc\reg52.h(85): error C231: 'INT1': redefinition C:\Keil_v5\C51\Inc\reg52.h(86): error C231: 'INT0': redefinition C:\Keil_v5\C51\Inc\reg52.h(87): error C231: 'TXD': redefinition C:\Keil_v5\C51\Inc\reg52.h(88): error C231: 'RXD': redefinition C:\Keil_v5\C51\Inc\reg52.h(91): error C231: 'SM0': redefinition C:\Keil_v5\C51\Inc\reg52.h(92): error C231: 'SM1': redefinition C:\Keil_v5\C51\Inc\reg52.h(93): error C231: 'SM2': redefinition C:\Keil_v5\C51\Inc\reg52.h(94): error C231: 'REN': redefinition C:\Keil_v5\C51\Inc\reg52.h(95): error C231: 'TB8': redefinition C:\Keil_v5\C51\Inc\reg52.h(96): error C231: 'RB8': redefinition C:\Keil_v5\C51\Inc\reg52.h(97): error C231: 'TI': redefinition C:\Keil_v5\C51\Inc\reg52.h(98): error C231: 'RI': redefinition C:\Keil_v5\C51\Inc\reg52.h(101): error C231: 'T2EX': redefinition C:\Keil_v5\C51\Inc\reg52.h(102): error C231: 'T2': redefinition C:\Keil_v5\C51\Inc\reg52.h(105): error C231: 'TF2': redefinition C:\Keil_v5\C51\Inc\reg52.h(106): error C231: 'EXF2': redefinition C:\Keil_v5\C51\Inc\reg52.h(107): error C231: 'RCLK': redefinition C:\Keil_v5\C51\Inc\reg52.h(108): error C231: 'TCLK': redefinition C:\Keil_v5\C51\Inc\reg52.h(109): error C231: 'EXEN2': redefinition C:\Keil_v5\C51\Inc\reg52.h(110): error C231: 'TR2': redefinition C:\Keil_v5\C51\Inc\reg52.h(111): error C231: 'C_T2': redefinition C:\Keil_v5\C51\Inc\reg52.h(112): error C231: 'CP_RL2': redefinition .\api\datadeal.h(7): warning C318: can't open file 'io.h' main.c(54): error C141: syntax error near 'sbit', expected '__asm' compiling time.c... compiling led.c... compiling beep.c... compiling key.c... compiling uart.c... compiling nrf24l01.c... compiling oled.c... compiling adc0832.c... compiling datadeal.c... api\datadeal.h(7): warning C318: can't open file 'io.h' C:\Keil_v5\C51\Inc\Atmel\REGX52.H(15): error C231: 'P0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(16): error C231: 'SP': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(17): error C231: 'DPL': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(18): error C231: 'DPH': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(19): error C231: 'PCON': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(20): error C231: 'TCON': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(21): error C231: 'TMOD': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(22): error C231: 'TL0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(23): error C231: 'TL1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(24): error C231: 'TH0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(25): error C231: 'TH1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(26): error C231: 'P1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(27): error C231: 'SCON': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(28): error C231: 'SBUF': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(29): error C231: 'P2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(30): error C231: 'IE': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(31): error C231: 'P3': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(32): error C231: 'IP': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(33): error C231: 'T2CON': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(35): error C231: 'RCAP2L': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(36): error C231: 'RCAP2H': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(37): error C231: 'TL2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(38): error C231: 'TH2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(39): error C231: 'PSW': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(40): error C231: 'ACC': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(41): error C231: 'B': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(70): error C231: 'IT0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(71): error C231: 'IE0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(72): error C231: 'IT1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(73): error C231: 'IE1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(74): error C231: 'TR0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(75): error C231: 'TF0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(76): error C231: 'TR1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(77): error C231: 'TF1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(106): error C231: 'T2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(107): error C231: 'T2EX': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(112): error C231: 'RI': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(113): error C231: 'TI': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(114): error C231: 'RB8': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(115): error C231: 'TB8': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(116): error C231: 'REN': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(117): error C231: 'SM2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(118): error C231: 'SM1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(119): error C231: 'SM0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(136): error C231: 'EX0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(137): error C231: 'ET0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(138): error C231: 'EX1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(139): error C231: 'ET1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(140): error C231: 'ES': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(141): error C231: 'ET2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(143): error C231: 'EA': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(157): error C231: 'RXD': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(158): error C231: 'TXD': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(159): error C231: 'INT0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(160): error C231: 'INT1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(161): error C231: 'T0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(162): error C231: 'T1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(163): error C231: 'WR': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(164): error C231: 'RD': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(169): error C231: 'PX0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(170): error C231: 'PT0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(171): error C231: 'PX1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(172): error C231: 'PT1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(173): error C231: 'PS': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(174): error C231: 'PT2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(179): error C231: 'CP_RL2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(180): error C231: 'C_T2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(181): error C231: 'TR2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(182): error C231: 'EXEN2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(183): error C231: 'TCLK': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(184): error C231: 'RCLK': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(185): error C231: 'EXF2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(186): error C231: 'TF2': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(197): error C231: 'P': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(199): error C231: 'OV': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(200): error C231: 'RS0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(201): error C231: 'RS1': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(202): error C231: 'F0': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(203): error C231: 'AC': redefinition C:\Keil_v5\C51\Inc\Atmel\REGX52.H(204): error C231: 'CY': redefinition api\datadeal.c(17): error C202: 'JDQ': undefined identifier api\datadeal.c(30): error C202: 'Light_Pwm': undefined identifier api\datadeal.c(32): error C202: 'Light_Pwm': undefined identifier api\datadeal.c(89): error C202: 'JDQ': undefined identifier api\datadeal.c(91): error C202: 'JDQ': undefined identifier api\datadeal.c(96): error C202: 'BEEP': undefined identifier api\datadeal.c(98): error C202: 'BEEP': undefined identifier api\datadeal.c(118): error C202: 'Light_Pwm': undefined identifier api\datadeal.c(120): error C202: 'Light_Pwm': undefined identifier api\datadeal.c(125): error C202: 'JDQ': undefined identifier api\datadeal.c(127): error C202: 'JDQ': undefined identifier api\datadeal.c(129): error C202: 'JDQ': undefined identifier api\datadeal.c(131): error C202: 'JDQ': undefined identifier api\datadeal.c(133): error C202: 'JDQ': undefined identifier api\datadeal.c(138): error C202: 'BEEP': undefined identifier api\datadeal.c(140): error C202: 'BEEP': undefined identifier api\datadeal.c(145): error C202: 'JDQ': undefined identifier api\datadeal.c(147): error C202: 'JDQ': undefined identifier api\datadeal.c(152): error C202: 'BEEP': undefined identifier api\datadeal.c(154): error C202: 'BEEP': undefined identifier api\datadeal.c(156): error C202: 'BEEP': undefined identifier api\datadeal.c(161): error C202: 'JDQ': undefined identifier api\datadeal.c(163): error C202: 'JDQ': undefined identifier api\datadeal.c(168): error C202: 'BEEP': undefined identifier api\datadeal.c(170): error C202: 'BEEP': undefined identifier api\datadeal.c(172): error C202: 'BEEP': undefined identifier api\datadeal.c(185): error C202: 'BEEP': undefined identifier api\datadeal.c(187): error C202: 'BEEP': undefined identifier api\datadeal.c(189): error C202: 'BEEP': undefined identifier api\datadeal.c(191): error C202: 'BEEP': undefined identifier api\datadeal.c(196): error C202: 'JDQ': undefined identifier api\datadeal.c(198): error C202: 'JDQ': undefined identifier Target not created. Build Time Elapsed: 00:00:01
09-19
STC8A8K64S4A12.H(103): error C231: 'ACC': redefinition STC8A8K64S4A12.H(104): error C231: 'B': redefinition STC8A8K64S4A12.H(105): error C231: 'PSW': redefinition STC8A8K64S4A12.H(106): error C231: 'CY': redefinition STC8A8K64S4A12.H(107): error C231: 'AC': redefinition STC8A8K64S4A12.H(108): error C231: 'F0': redefinition STC8A8K64S4A12.H(109): error C231: 'RS1': redefinition STC8A8K64S4A12.H(110): error C231: 'RS0': redefinition STC8A8K64S4A12.H(111): error C231: 'OV': redefinition STC8A8K64S4A12.H(112): error C231: 'P': redefinition STC8A8K64S4A12.H(113): error C231: 'SP': redefinition STC8A8K64S4A12.H(114): error C231: 'DPL': redefinition STC8A8K64S4A12.H(115): error C231: 'DPH': redefinition STC8A8K64S4A12.H(123): error C231: 'P0': redefinition STC8A8K64S4A12.H(124): error C231: 'P1': redefinition STC8A8K64S4A12.H(125): error C231: 'P2': redefinition STC8A8K64S4A12.H(126): error C231: 'P3': redefinition STC8A8K64S4A12.H(233): error C231: 'PCON': redefinition STC8A8K64S4A12.H(298): error C231: 'IE': redefinition STC8A8K64S4A12.H(299): error C231: 'EA': redefinition STC8A8K64S4A12.H(302): error C231: 'ES': redefinition STC8A8K64S4A12.H(303): error C231: 'ET1': redefinition STC8A8K64S4A12.H(304): error C231: 'EX1': redefinition STC8A8K64S4A12.H(305): error C231: 'ET0': redefinition STC8A8K64S4A12.H(306): error C231: 'EX0': redefinition STC8A8K64S4A12.H(315): error C231: 'IP': redefinition STC8A8K64S4A12.H(319): error C231: 'PS': redefinition STC8A8K64S4A12.H(320): error C231: 'PT1': redefinition STC8A8K64S4A12.H(321): error C231: 'PX1': redefinition STC8A8K64S4A12.H(322): error C231: 'PT0': redefinition STC8A8K64S4A12.H(323): error C231: 'PX0': redefinition STC8A8K64S4A12.H(366): error C231: 'TCON': redefinition STC8A8K64S4A12.H(367): error C231: 'TF1': redefinition STC8A8K64S4A12.H(368): error C231: 'TR1': redefinition STC8A8K64S4A12.H(369): error C231: 'TF0': redefinition STC8A8K64S4A12.H(370): error C231: 'TR0': redefinition STC8A8K64S4A12.H(371): error C231: 'IE1': redefinition STC8A8K64S4A12.H(372): error C231: 'IT1': redefinition STC8A8K64S4A12.H(373): error C231: 'IE0': redefinition STC8A8K64S4A12.H(374): error C231: 'IT0': redefinition STC8A8K64S4A12.H(375): error C231: 'TMOD': redefinition STC8A8K64S4A12.H(384): error C231: 'TL0': redefinition STC8A8K64S4A12.H(385): error C231: 'TL1': redefinition STC8A8K64S4A12.H(386): error C231: 'TH0': redefinition STC8A8K64S4A12.H(387): error C231: 'TH1': redefinition STC8A8K64S4A12.H(422): error C231: 'SCON': redefinition STC8A8K64S4A12.H(423): error C231: 'SM0': redefinition STC8A8K64S4A12.H(424): error C231: 'SM1': redefinition STC8A8K64S4A12.H(425): error C231: 'SM2': redefinition STC8A8K64S4A12.H(426): error C231: 'REN': redefinition STC8A8K64S4A12.H(427): error C231: 'TB8': redefinition STC8A8K64S4A12.H(428): error C231: 'RB8': redefinition STC8A8K64S4A12.H(429): error C231: 'TI': redefinition STC8A8K64S4A12.H(430): error C231: 'RI': redefinition STC8A8K64S4A12.H(431): error C231: 'SBUF': redefinition
11-21
D:\tool\keil\C51\Inc\reg52.h(13): error C231: 'P0': redefinition D:\tool\keil\C51\Inc\reg52.h(14): error C231: 'P1': redefinition D:\tool\keil\C51\Inc\reg52.h(15): error C231: 'P2': redefinition D:\tool\keil\C51\Inc\reg52.h(16): error C231: 'P3': redefinition D:\tool\keil\C51\Inc\reg52.h(17): error C231: 'PSW': redefinition D:\tool\keil\C51\Inc\reg52.h(18): error C231: 'ACC': redefinition D:\tool\keil\C51\Inc\reg52.h(19): error C231: 'B': redefinition D:\tool\keil\C51\Inc\reg52.h(20): error C231: 'SP': redefinition D:\tool\keil\C51\Inc\reg52.h(21): error C231: 'DPL': redefinition D:\tool\keil\C51\Inc\reg52.h(22): error C231: 'DPH': redefinition D:\tool\keil\C51\Inc\reg52.h(23): error C231: 'PCON': redefinition D:\tool\keil\C51\Inc\reg52.h(24): error C231: 'TCON': redefinition D:\tool\keil\C51\Inc\reg52.h(25): error C231: 'TMOD': redefinition D:\tool\keil\C51\Inc\reg52.h(26): error C231: 'TL0': redefinition D:\tool\keil\C51\Inc\reg52.h(27): error C231: 'TL1': redefinition D:\tool\keil\C51\Inc\reg52.h(28): error C231: 'TH0': redefinition D:\tool\keil\C51\Inc\reg52.h(29): error C231: 'TH1': redefinition D:\tool\keil\C51\Inc\reg52.h(30): error C231: 'IE': redefinition D:\tool\keil\C51\Inc\reg52.h(31): error C231: 'IP': redefinition D:\tool\keil\C51\Inc\reg52.h(32): error C231: 'SCON': redefinition D:\tool\keil\C51\Inc\reg52.h(33): error C231: 'SBUF': redefinition D:\tool\keil\C51\Inc\reg52.h(36): error C231: 'T2CON': redefinition D:\tool\keil\C51\Inc\reg52.h(37): error C231: 'RCAP2L': redefinition D:\tool\keil\C51\Inc\reg52.h(38): error C231: 'RCAP2H': redefinition D:\tool\keil\C51\Inc\reg52.h(39): error C231: 'TL2': redefinition D:\tool\keil\C51\Inc\reg52.h(40): error C231: 'TH2': redefinition D:\tool\keil\C51\Inc\reg52.h(45): error C231: 'CY': redefinition D:\tool\keil\C51\Inc\reg52.h(46): error C231: 'AC': redefinition D:\tool\keil\C51\Inc\reg52.h(47): error C231: 'F0': redefinition D:\tool\keil\C51\Inc\reg52.h(48): error C231: 'RS1': redefinition D:\tool\keil\C51\In
06-18
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值