PIC单片机模拟IIC读写的程序设计.docx

上传人:b****5 文档编号:8106807 上传时间:2023-01-28 格式:DOCX 页数:3 大小:14.05KB
下载 相关 举报
PIC单片机模拟IIC读写的程序设计.docx_第1页
第1页 / 共3页
PIC单片机模拟IIC读写的程序设计.docx_第2页
第2页 / 共3页
PIC单片机模拟IIC读写的程序设计.docx_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

PIC单片机模拟IIC读写的程序设计.docx

《PIC单片机模拟IIC读写的程序设计.docx》由会员分享,可在线阅读,更多相关《PIC单片机模拟IIC读写的程序设计.docx(3页珍藏版)》请在冰豆网上搜索。

PIC单片机模拟IIC读写的程序设计.docx

PIC单片机模拟IIC读写的程序设计

PIC单片机模拟IIC读写的程序设计

;I2C总线程序

;thisiseepromread">;thespecialstoreramunit

wequ0

f0equ0

rtCCequ1

pcequ2

f2equ2

f3equ3

f4equ4

raequ5

rbequ6

rcequ7

pclathequ0ah

iNTConequ0bh

pir1equ0ch

tmr1lequ0eh

tmr1hequ0fh

t1conequ10h

tmr2equ11h

t2conequ12h

sspbufequ13h

sspconequ14h

ccpr1lequ15h

ccpr1hequ16h

ccpconequ17h

adcon0equ1fh

;

;inthebank1

trISAequ85h

trisbequ86h

triscequ87h

pconequ8eh

pie1equ8ch

pr2equ92h

sspaddequ93h

sspstatequ94h

adcon1equ9fh

;

;--------------------------------------------------------

;thegenaralstoreramunit

;

temp6equ76h

temp7equ77h

;

eepCTRequ6dh;eepromcontrolwordsbuffer

eepaddrequ6eh;eepromaddressbuffer

eepdataequ6fh;eepromdatabuffer

;

;--------------------------------------------------------

;thebitsoframunit

sclequ3;rc

sdaequ4;rc

;

pdequ3;status

toequ4;status

;

rbifequ0;intcon

intifequ1;intcon

rTIfequ2;intcon

rbieequ3;intcon

inTIeequ4;intcon

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 小升初

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1