參數(shù)資料
型號(hào): DMC73C168
英文描述: 8Bit Single Chip Microcontroller
中文描述: 8位單芯片微控制器
文件頁(yè)數(shù): 55/90頁(yè)
文件大?。?/td> 742K
代理商: DMC73C168
55
8Bit Single Chip Microcontroller
DMC73C167
Read two byte data from Slave B
Slave A address (0010001)
Slave B address (1010000)
a) Initialization of HDC/LDC, MCTL, and MDATA (Fosc.-4MHz)
MOVP
%>80, MCTL1
Master I2C hardware on;
power-on reset routi ne
H gh durati on w l l be 8us
Lowdurati on w l l be 8us
Cl ear MTS regi ster
MOVP
MOVP
MOVP
MOVP
%>F9, HDC
%>F9, LDC
%E0, MTS
%00100010, MDATA
Address out to Sl ave A
(wri te data to Sl ave A)
MOVP %10100001, MDATA
Address out to Sl ave B
(read data fromSl ave B)
b) Start condition generation and address transfer
For start condition, set BCM1 (=1), BCM0 (=0) of MCTL0. The next data transfer
cycle is for write, so clear bit 3 (MDIR). To enable the start action, set ACT bit
(bit 7 of MCTL0).
MOVP %10000010, MCTL0
After this instruction is executed, the I2C bus module will generate the start condition
and transfer 7 bits of address and 1 bit of direction information. After the address
cycle is completed, the I2C bus module will interrrupt the CPU. But if the CPU masks
the interrupt, the CPU must poll bit 7 (INT5_1F) of MSTS to check the address
transfer status.
c) Check status register (MSTS)
If the address transfer is completed successfully, the contents of MSTS will be 1001 ----
(INT5_1F/ALOST/BERR/BBUSY/-). Then the INT5_1F bit should be cleared
before the next transfer.
(ACT/-
/RSRT
/LODUTY
/MDIR
/NACK
/BCM1
/BCM0)
1
0
0
0
0
1
0
££á££×££
相關(guān)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
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DMC757 制造商:Daniels Manufacturing Corporation (DMC) 功能描述:CONNECTOR
DMC-8/16-15 制造商:Brady Corporation 功能描述:
DMC-8/16-30 制造商:Brady Corporation 功能描述:
DMC80C49 制造商:DAEWOO 制造商全稱(chēng):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 集電極—射極飽和電壓: 最大直流電集電極電流: 增益帶寬產(chǎn)品fT: 直流集電極/Base Gain hfe Min:100 A 最大工作溫度: 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:PowerFLAT 2 x 2