EasyManua.ls Logo

Cmsemicon CMS32L051 - Stop Conditions

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 14 Serial interface IICA
www.mcu.com.cn 505 / 703
H
14.5.5 Stop Conditions
When the SCLAn pin is high, a stop condition is generated if the SDAAn pin changes from low to high.
The stop condition is the signal generated when the master device ends the serial transmission to the slave
device. When used as a slave, a stop condition can be detected.
Figure 14-18 Stop conditions
SCLAn
SDAAn
If bit0 (SPTn) of IICA control register n0 (IICCTLn0) is set to 1, a stop condition is generated. If a stop
condition is detected, set bit0 (SPDn) of IICA status register n (IICSn) to 1, and INTIICAn is generated when
bit4 (SPIEn) of the IICCTLn0 register is 1.
Note n=0

Table of Contents

Related product manuals