2C interface. These are described below. I2CCO" />
參數(shù)資料
型號: EVAL-ADUC834QSZ
廠商: Analog Devices Inc
文件頁數(shù): 41/80頁
文件大?。?/td> 0K
描述: KIT DEV QUICK START ADUC834
標(biāo)準(zhǔn)包裝: 1
系列: QuickStart™ 套件
類型: MCU
適用于相關(guān)產(chǎn)品: ADuC834
所含物品: 評估板,線纜,電源,軟件和文檔
REV. A
–46–
ADuC834
Three SFRs are used to control the I
2C interface. These are described below.
I2CCON
I
2C Control Register
SFR Address
E8H
Power-On Default Value
00H
Bit Addressable
Yes
Table XXII. I2CCON SFR Bit Designations
Bit
Name
Description
7
MDO
I
2C Software Master Data Output Bit (Master Mode Only).
This data bit is used to implement a master I
2C transmitter interface in software. Data written to this
bit will be outputted on the SDATA pin if the data output enable (MDE) bit is set.
6
MDE
I
2C Software Master Data Output Enable Bit (Master Mode Only).
Set by the user to enable the SDATA pin as an output (Tx).
Cleared by the user to enable SDATA pin as an input (Rx).
5
MCO
I
2C Software Master Clock Output Bit (Master Mode Only).
This data bit is used to implement a master I
2C transmitter interface in software. Data written to
this bit will be outputted on the SCLOCK pin.
4
MDI
I
2C Software Master Data Input Bit (Master Mode Only).
This data bit is used to implement a master I
2C receiver interface in software. Data on the SDATA
pin is latched into this bit on SCLOCK if the data output enable (MDE) bit is 0.
3
I2CM
I
2C Master/Slave Mode Bit.
Set by the user to enable I
2C software master mode.
Cleared by user to enable I
2C hardware slave mode.
2
I2CRS
I
2C Reset Bit (Slave Mode Only).
Set by the user to reset the I
2C interface.
Cleared by user code for normal I
2C operation.
1I2CTX
I
2C Direction Transfer Bit (Slave Mode Only).
Set by the MicroConverter if the interface is transmitting.
Cleared by the MicroConverter if the interface is receiving.
0
I2CI
I
2C Interrupt Bit (Slave Mode Only).
Set by the MicroConverter after a byte has been transmitted or received.
Cleared automatically when the user code reads the I2CDAT SFR (see I2CDAT below).
I2CADD
I
2C Address Register
Function
Holds the I
2C peripheral address for the part. It may be overwritten by the user code. Application Note uC001
at www.analog.com/microconverter describes the format of the I
2C standard 7-bit address in detail.
SFR Address
9BH
Power-On Default Value
55H
Bit Addressable
No
I2CDAT
I
2C Data Register
Function
The I2CDAT SFR is written by the user to transmit data over the I
2C interface or read by user code to
read data just received by the I
2C interface. Accessing I2CDAT automatically clears any pending I2C
interrupt and the I2CI bit in the I2CCON SFR. User software should only access I2CDAT once per
interrupt cycle.
SFR Address
9AH
Power-On Default Value
00H
Bit Addressable
No
* Purchase of licensed I
2C components of Analog Devices or one of its sublicensed associated companies conveys a license for the purchaser under the Philips I2C
Patent Rights to use these components in an I
2C system provided that the system conforms to the I2C Standard Specification as defined by Philips.
I
2C SERIAL INTERFACE
The ADuC834 supports a fully licensed
* I2C serial interface. The
I
2C interface is implemented as a full hardware slave and software
master. SDATA (Pin 27) is the data I/O pin and SCLOCK
(Pin 26) is the serial clock. These two pins are shared with the
MOSI and SCLOCK pins of the on-chip SPI interface. Therefore
the user can only enable one or the other interface at any given
time (see SPE in Table XXI). Application Note uC001 describes
the operation of this interface as implemented and is available from
the MicroConverter website at www.analog.com/microconverter.
相關(guān)PDF資料
PDF描述
EVAL-ADUC847QSZ KIT DEV QUICK START FOR ADUC847
GBM24DTKT CONN EDGECARD 48POS DIP .156 SLD
EVAL-ADUC7026QSZ KIT DEV FOR ADUC7026/7027
GEM36DSXS CONN EDGECARD 72POS DIP .156 SLD
GBM18DSAI CONN EDGECARD 36POS R/A .156 SLD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EVAL-ADUC836QS 制造商:Analog Devices 功能描述:MCU 8BIT 8052 CISC 62KB+4KB FLASH 3.6V 48LQFP - Bulk 制造商:Analog Devices 功能描述:KIT- ADUC836 DEV SYSTEM
EVAL-ADUC841QS 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
EVAL-ADUC841QSP2 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
EVAL-ADUC841QSPZ 功能描述:KIT DEV QUICK START ADUC841 RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 通用嵌入式開發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:QuickStart™ PLUS 套件 標(biāo)準(zhǔn)包裝:1 系列:PICDEM™ 類型:MCU 適用于相關(guān)產(chǎn)品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,線纜,元件,CD,PICkit 編程器 產(chǎn)品目錄頁面:659 (CN2011-ZH PDF)
EVAL-ADUC841QSPZ 制造商:Analog Devices 功能描述:Silicon Manufacturer:Analog Devices C