EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 488

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 488 / 703
Figure 14-6 Format of IICA control register n0 (IICCTLn0) (2/4)
SPIEn
Note1
Enable or disable interrupt requests generated by stop condition detection
0
Disable
1
Enable
When the WUPn bit of IICA control register n1 (IICCTLn1) is 1, even if the SPIEn is 1 It also does not
produce a stop condition interrupt.
Clear condition (SPIEn=0).
Set condition (SPIEn=1).


Set by command.
WTIMn
Note1
Wait for and interrupt the control of the request
0
An interrupt request signal is generated on the falling edge of the 8th clock.
Master device: After 8 clocks are output, set the clock output to low and wait.
Slave: After entering 8 clocks, set the clock low and wait for the master device.
1
An interrupt request signal is generated on the falling edge of the 9th clock.
Main device: After 9 clocks are output, set the clock output to low and wait.
Slave: After entering 9 clocks, set the clock low and wait for the master device.
During address transfer, regardless of the setting of this bit, an interrupt occurs on the falling edge of the
9th clock; After the end of the address transfer, this bit is set
Effect. The master device enters the wait state on the 9th clock falling edge during address transmission.
The slave device that receives the address of the local station is generating an answer
The descending edge of the 9th clock (ACK) enters the waiting state, but the slave device that receives
the expansion code enters the waiting state on the 8th clock falling edge.
Clear condition (WTIMn=0).
Set condition (WTIMn=1).


Set by command.
ACKEn
Note 1,2
Answer control
0
Reply is prohibited.
1
Allow answers. Set the SDAAn line low during the 9th clock.
Clear condition (ACKEn=0).
Set condition (ACKEn=1).


Set by command.
Note 1 In the state where the IICEn bit is 0, the signal for this bit is invalid. This bit must be set during this time.
2. When the extension code is not in the address transmission process, the config valueis invalid. When a slave
device and the address matches, an answer is generated regardless of the config value.
Remark n=0

Table of Contents

Related product manuals