參數(shù)資料
型號: DMC73C168
英文描述: 8Bit Single Chip Microcontroller
中文描述: 8位單芯片微控制器
文件頁數(shù): 57/90頁
文件大?。?/td> 742K
代理商: DMC73C168
57
8Bit Single Chip Microcontroller
DMC73C167
cycle is completed, the I2C bus module will interrupt the CPU. But if the CPU masks
the interrupt, the following instruction can be used instead of the interrupt.
LOOP BTJ ZP %>80, MSTS, LOOP
Repeats LOOP unti l INT5_1F i s set
f) Clear INT5_1F bit and one byte read
MOVP %10000000, MSTS
MOVP %10001000, MCTL0
Cl ear bi t 7 of MSTS
(ACT/-
/RSRT
1
0
When the two instruction above are executed, the I2C bus will receive one byte of
data from the slave. After the interrupt or checking the INT5_1F flag, the valid
one byte of data can be taken by reading MDR.
MOVP MDATA, A
MOVP %10000000, MSTS
Stores read data i nto the A regi ster
Cl ear bi t 7 ( INT5_1F) of MSTS
g) Last one byte read
MOVP %10001100, MCTL0
After reading this byte, the I2C bus master should generate a stop condition. To do
this, it must send the message the "this is the last byte" by not generating the ACK
(nowledge) signal. This module does not generate the ACK signal by setting bit 2
(NACK) of MCTL0 to 1. After the interrupt or checking the INT5_1F flag, the
last one byte of data can be taken by reading MDATA.
MOVP MDATA, B
MOVP %10000000, MSTS
Stores read data i nto the B regi ster
Cl ear bi t 7 ( INT5_1F) of MSTS
h) Terminate transfer action (stop condition generation)
MOVP %10000001, MCTL0
After generating the stop condition, the INT5_1F will be set. If needed, the interrupt
can be masked or this bit may not be checked. However, to begin another transfer
on the I2C bus, this bit should be cleared first.
/LODUTY
/MDIR
/NACK
/BCM1
/BCM0)
0
1
0
0
0
(ACT/-
1
/RSRT
0
/LODUTY
/MDIR
/NACK
/BCM1
/BCM0)
0
0
0
0
1
££á££×££
/BCM0)
(ACT/-
1
/RSRT
0
/LODUTY
/MDIR
/NACK
/BCM1
0
1
1
0
0
相關PDF資料
PDF描述
DMC80C49 CMOS SINGLE-COMPONENT 8-BIT MICROCOMPUTER
DMCA1CHP TRANSISTOR | MOSFET | ARRAY | N-CHANNEL | 20V V(BR)DSS | 50MA I(D) | CHIP
DMCB1CHP TRANSISTOR | MOSFET | N-CHANNEL | 30V V(BR)DSS | 50MA I(D) | CHIP
DMCB2CHP TRANSISTOR | MOSFET | N-CHANNEL | 30V V(BR)DSS | 50MA I(D) | CHIP
DMCD1CHP TRANSISTOR | MOSFET | N-CHANNEL | 25V V(BR)DSS | 50MA I(D) | CHIP
相關代理商/技術參數(shù)
參數(shù)描述
DMC757 制造商:Daniels Manufacturing Corporation (DMC) 功能描述:CONNECTOR
DMC-8/16-15 制造商:Brady Corporation 功能描述:
DMC-8/16-30 制造商:Brady Corporation 功能描述:
DMC80C49 制造商:DAEWOO 制造商全稱:DAEWOO 功能描述:CMOS SINGLE-COMPONENT 8-BIT MICROCOMPUTER
DMC904010R 功能描述:兩極晶體管 - BJT COMP TRANS W/BLT IN RES FLT LD 1.6x1.6mm RoHS:否 制造商:STMicroelectronics 配置: 晶體管極性:PNP 集電極—基極電壓 VCBO: 集電極—發(fā)射極最大電壓 VCEO:- 40 V 發(fā)射極 - 基極電壓 VEBO:- 6 V 集電極—射極飽和電壓: 最大直流電集電極電流: 增益帶寬產品fT: 直流集電極/Base Gain hfe Min:100 A 最大工作溫度: 安裝風格:SMD/SMT 封裝 / 箱體:PowerFLAT 2 x 2