AT89S52单片机应用中英文翻译

上传人:QQ40****828 文档编号:398389 上传时间:2018-07-26 格式:DOCX 页数:16 大小:113.50KB
返回 下载 相关 举报
AT89S52单片机应用中英文翻译_第1页
第1页 / 共16页
AT89S52单片机应用中英文翻译_第2页
第2页 / 共16页
AT89S52单片机应用中英文翻译_第3页
第3页 / 共16页
点击查看更多>>
资源描述
肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅膃葿羆袅荿蒅羅肇膁螃羄膀蒇虿羃节芀薅羂羂蒅蒁蕿肄芈莇蚈膆蒄蚆蚇袆芆薂蚆羈蒂薈蚅膁莅蒄蚄芃膇螂蚄羃莃蚈蚃肅膆薄蚂膇莁蒀螁袇膄莆螀罿莀蚅蝿肁膂蚁螈芄蒈薇螈羃芁蒃螇肆蒆荿螆膈艿蚈螅袈蒄薄袄羀芇蒀袃肂蒃莆袂芅芅螄袂羄肈蚀袁肇莄薆袀腿膇蒂衿衿莂莈袈羁膅蚇羇肃莀薃羇膅 本科毕业设计(论文)AT89S52 单片机应用中英文翻译专业名称: 电气工程及其自动化 年级班级: 学生姓名: 指导老师: 河南理工大学电气学院二 O 一二年六月九日1AT89S52 MCU ApplicationsFunction Characteristic DescriptionThe AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller with 8K bytes of in-system programmable Flash memory. The device is manufactured using Atmels high-density nonvolatile memory technology and is compatible with the indus-try-standard 80C51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory pro-grammer. By combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications.The AT89S52 provides the following standard features: 8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In addition, the AT89S52 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. The Power-down mode saves the RAM con-tents but freezes the oscillator, disabling all other chip functions until the next interrupt or hardware reset.Pin DescriptionVCC :Supply voltage.GND :Ground.Port 0:Port 0 is an 8-bit open drain bidirectional I/O port. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as high-impedance inputs. Port 0 can also be configured to be the multiplexed low-order address/data bus during accesses to external program and data memory. In this mode, P0 has internal pull-ups. Port 0 also receives the code bytes during Flash programming and outputs the code bytes dur-ing program verification. External pull-ups are required during program verification.Port 1:Port 1 is an 8-bit bidirectional I/O port with internal pull-ups. The Port 1 output buffers can sink/source four TTL inputs. When 1s are written to Port 1 pins, they are pulled 2high by the inter-nal pull-ups and can be used as inputs. As inputs, Port 1 pins that are externally being pulled low will source current (IIL) because of the internal pull-ups. In addition, P1.0 and P1.1 can be configured to be the timer/counter 2 external count input (P1.0/T2) and the timer/counter 2 trigger input (P1.1/T2EX), respectively, as shown in the follow-ing table 1. Port 1 also receives the low-order address bytes during Flash programming and verification.Table 1 The second function of the P1 portPort Pin Alternate FunctionsP1.0 T2 (external count input to Timer/Counter 2), clock-outP1.1 T2EX (Timer/Counter 2 capture/reload trigger and direction control)P1.5 MOSI (used for In-System Programming)P1.6 MISO (used for In-System Programming)P1.7 SCK (used for In-System Programming)Port 2:Port 2 is an 8-bit bidirectional I/O port with internal pull-ups. The Port 2 output buffers can sink/source four TTL inputs. When 1s are written to Port 2 pins, they are pulled high by the inter-nal pull-ups and can be used as inputs. As inputs, Port 2 pins that are externally being pulled low will source current (IIL) because of the internal pull-ups. Port 2 emits the high-order address byte during fetches from external program memory and dur-ing accesses to external data memory that use 16-bit addresses (MOVX DPTR). In this application, Port 2 uses strong internal pull-ups when emitting 1s. During accesses to external data memory that use 8-bit addresses (MOVX RI), Port 2 emits the contents of the P2 Special Function Register. Port 2 also receives the high-order address bits and some control signals during Flash program-ming and verification.Port 3:Port 3 is an 8-bit bidirectional I/O port with internal pull-ups. The Port 3 output buffers can sink/source four TTL inputs. When 1s are written to Port 3 pins, they are pulled high by the inter-nal pull-ups and can be used as inputs. As inputs, Port 3 pins that are externally being pulled low will source current (IIL) because of the pull-ups. Port 3 receives 3some control signals for Flash programming and verification. Port 3 also serves the functions of various special features of the AT89S52, as shown in the fol-lowing table 2.Table 2 The second function of the P3 portPort Pin Alternate FunctionsP3.0 RXD (serial input port)P3.1 TXD (serial output port)P3.2 (external interrupt 0)INT0P3.3 (external interrupt 1)1P3.4 T0 (timer 0 external input)P3.5 T1 (timer 1 external input)P3.6 (external data memory write strobe)WRP3.7 (external data memory read strobe)DRST:Reset input. A high on this pin for two machine cycles while the oscillator is running resets the device. This pin drives high for 98 oscillator periods after the Watchdog times out. The DISRTO bit in SFR AUXR (address 8EH) can be used to disable this feature. In the default state of bit DISRTO, the RESET HIGH out feature is enabled.ALE/ :Address Latch Enable (ALE) is an output pulse for latching the low byte PROGof the address during accesses to external memory. This pin is also the program pulse input () during Flash programming. In normal operation, ALE is emitted at a constant rate of 1/6 the oscillator frequency and may be used for external timing or clocking purposes. Note, however, that one ALE pulse is skipped dur-ing each access to external data memory. If desired, ALE operation can be disabled by setting bit 0 of SFR location 8EH. With the bit set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in external execution mode.:Program Store Enable ( ) is the read strobe to external program memory. PSENPSENWhen the AT89S52 is executing code from external program memory, is activated PSENtwice each machine cycle, except that two activations are skipped during each access to exter-nal data memory.4/VPP:External Access Enable. must be strapped to GND in order to enable EAEAthe device to fetch code from external program memory locations starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is programmed, will be internally latched on Ereset. should be strapped to VCC for internal program executions. This pin also receives the 12-volt programming enable voltage (VPP) during Flash programming.XTAL1:Input to the inverting oscillator amplifier and input to the internal clock operating circuit.XTAL2:Output from the inverting oscillator amplifier.Program MemoryIf the pin is connected to GND, all program fetches are directed to external memory. EAOn the AT89S52, if is connected to VCC, program fetches to addresses 0000H through 1FFFH are directed to internal memory and fetches to addresses 2000H through FFFFH are to external memory.Data MemoryThe AT89S52 implements 256 bytes of on-chip RAM. The upper 128 bytes occupy a parallel address space to the Special Function Registers. This means that the upper 128 bytes have the same addresses as the SFR space but are physically separate from SFR space. When an instruction accesses an internal location above address 7FH, the address mode used in the instruction specifies whether the CPU accesses the upper 128 bytes of RAM or the SFR space. Instructions which use direct addressing access the SFR space. For example, the following direct addressing instruction accesses the SFR at location 0A0H (which is P2). MOV 0A0H, #data. Instructions that use indirect addressing access the upper 128 bytes of RAM. For example, the following indirect addressing instruction, where R0 contains 0A0H, accesses the data byte at address 0A0H, rather than P2 (whose address is 0A0H).MOV R0, #data. Note that stack operations are examples of indirect addressing, so the upper 128 bytes of data RAM are available as stack space.Watchdog TimerThe WDT is intended as a recovery method in situations where the CPU may be 5subjected to software upsets. The WDT consists of a 14-bit counter and the Watchdog Timer Reset (WDTRST) SFR. The WDT is defaulted to disable from exiting reset. To enable the WDT, a user must write 01EH and 0E1H in sequence to the WDTRST register (SFR location 0A6H). When the WDT is enabled, it will increment every machine cycle while the oscillator is running. The WDT timeout period is dependent on the external clock frequency. There is no way to disable the WDT except through reset (either hardware reset or WDT overflow reset). When WDT over-flows, it will drive an output RESET HIGH pulse at the RST pin.In Power-down mode the oscillator stops, which means the WDT also stops. While in Power-down mode, the user does not need to service the WDT. There are two methods of exiting Power-down mode: by a hardware reset or via a level-activated external interrupt which is enabled prior to entering Power-down mode. When Power-down is exited with hardware reset, servicing the WDT should occur as it normally does whenever the AT89S52 is reset. Exiting Power-down with an interrupt is significantly different. The interrupt is held low long enough for the oscillator to stabilize. When the interrupt is brought high, the interrupt is serviced. To prevent the WDT from resetting the device while the interrupt pin is held low, the WDT is not started until the interrupt is pulled high. It is suggested that the WDT be reset during the interrupt service for the interrupt used to exit Power-down mode. To ensure that the WDT does not overflow within a few states of exiting Power-down, it is best to reset the WDT just before entering Power-down mode. Before going into the IDLE mode, the WDIDLE bit in SFR AUXR is used to determine whether the WDT continues to count if enabled. The WDT keeps counting during IDLE (WDIDLE bit = 0) as the default state. To prevent the WDT from resetting the AT89S52 while in IDLE mode, the user should always set up a timer that will periodically exit IDLE, service the WDT, and reenter IDLE mode. With WDIDLE bit enabled, the WDT will stop to count in IDLE mode and resumes the count upon exit from IDLE.Timer 0 and 1Timer 0 and Timer 1 in the AT89S52 operate the same way as Timer 0 and Timer 1 in the AT89C51 and AT89C52. For further information on the timers operation, please click on the document link below:http:/www.atmel.com/dyn/resources/prod_documents/DOC4316.PDF6Timer 2Timer 2 is a 16-bit Timer/Counter that can operate as either a timer or an event counter. The type of operation is selected by bit C/ in the SFR T2CON. Timer 2 has three operating T2modes: capture, auto-reload (up or down counting), and baud rate generator. The modes are selected by bits in T2CON, as shown in Table 6-1. Timer 2 consists of two 8-bit registers, TH2 and TL2. In the Timer function, the TL2 register is incremented every machine cycle. Since a machine cycle consists of 12 oscillator periods, the count rate is 1/12 of the oscil-lator frequency.Table3 Timer 2 Operating ModesRCLK +TCLK CP/ RLTR2 MODE0 0 1 16-bit Auto-reload0 1 1 16-bit Capture1 X 1 Baud Rate GeneratorX X 0 (Off)In the Counter function, the register is incremented in response to a 1-to-0 transition at its corre-sponding external input pin, T2. In this function, the external input is sampled during S5P2 of every machine cycle
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 图纸设计 > 毕设全套


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!