1. 首页
  2. 课程学习
  3. 嵌入式
  4. PIC单片机iic接口程序

PIC单片机iic接口程序

上传者: 2023-01-09 20:24:17上传 ZIP文件 6.465 KB 热度 22次

TxmtStartBit

   bsf    Bus_Busy                       ; on a start condiTIon bus is busy

   bsf    STATUS, RP0                    ; Select page 1

   bsf    _SDA                           ; set SDA high

   bsf    _SCL                           ; clock is high

   call   Delay40uSec                    ; This is necessary for setup TIme

   bcf    _SDA                           ; This gives a falling edge on SDA while clock is high

   call   Delay47uSec                    ; Necessary for START HOLD TIme

   return

下载地址
用户评论