欢迎访问ic37.com |
会员登录 免费注册
发布采购

Z8FMC04100QKSG 参数 Datasheet PDF下载

Z8FMC04100QKSG图片预览
型号: Z8FMC04100QKSG
PDF下载: 下载PDF文件 查看货源
内容描述: Z8喝采-R电机控制闪存MCU [Z8 Encore-R Motor Control Flash MCUs]
分类和应用: 闪存微控制器和处理器外围集成电路电机时钟
文件页数/大小: 402 页 / 4558 K
品牌: ZILOG [ ZILOG, INC. ]
 浏览型号Z8FMC04100QKSG的Datasheet PDF文件第187页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第188页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第189页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第190页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第192页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第193页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第194页浏览型号Z8FMC04100QKSG的Datasheet PDF文件第195页  
Z8FMC16100 Series Flash MCU  
Product Specification  
169  
Start and Stop Conditions  
The master generates the START and STOP conditions to start or end a transaction. To  
start a transaction, the I2C controller generates a STARTcondition by pulling the SDA sig-  
nal Low while SCL is High. To complete a transaction, the I2C controller generates a  
STOPcondition by creating a Low-to-High transition of the SDA signal while the SCL  
signal is High. These START and STOP events occur when the STARTand STOPbits in  
the I2C Control Register are written by software to begin or end a transaction. Any byte  
transfer currently under way, including the Acknowledge phase, finishes before the  
START or STOPcondition occurs.  
2
Software Control of I C Transactions  
The I2C controller is configured via the I2C Control and I2C Mode registers. The  
MODE[1:0]field of the I2C Mode Register allows the configuration of the I2C controller  
for MASTER/SLAVE or SLAVE ONLY mode, and configures the slave for 7- or 10-bit  
addressing recognition.  
MASTER/SLAVE mode can be used for:  
MASTER ONLY operation in a single master/one or more slave I2C system  
MASTER/SLAVE in a multimaster/multislave I2C system  
SLAVE ONLY operation in an I2C system  
In SLAVE ONLY mode, the START bit of the I2C Control Register is ignored (software  
cannot initiate a master transaction by accident), and operation to SLAVE ONLY mode is  
restricted, thereby preventing accidental operation in MASTER mode.  
The software can control I2C transactions by enabling the I2C controller interrupt in the  
interrupt controller or by polling the I2C Status Register.  
To use interrupts, the I2C interrupt must be enabled in the interrupt controller and followed  
by executing an EI instruction. The TXIbit in the I2C Control Register must be set to  
enable transmit interrupts. An I2C interrupt service routine then checks the I2C Status  
Register to determine the cause of the interrupt.  
To control transactions by polling, the TDRE, RDRF, SAM, ARBLST, SPRS, and NCKIinter-  
rupt bits in the I2C Status Register should be polled. The TDREbit asserts regardless of the  
state of the TXIbit.  
Master Transactions  
The following sections describe master Read and Write transactions to both 7- and 10-bit  
slaves.  
PS024604-1005  
P R E L I M I N A R Y  
Start and Stop Conditions