BAT32G1x9 user manual | Chapter 20 Serial interface IICA
739 / 1149
Rev.1.02
Figure 20-6
Format of IICA control register n0 (IICCTLn0) (2/4).
SPIEn
Note
1
Allow or disallow interrupt requests resulting from stop condition detection
0
forbid
1
allow
When the WUPn bit of IICA
control register
n1
(IICCTLn1)
is
"1", even if the
SPIEN
position
is "1" There
is also no stop condition interrupt.
Clear condition (SPIEn=0,1).
Set condition (SPIEn=1).
• Clear by command.
• When resetting
• Set by command.
WTIMn
Note
1
Control of waiting and interrupt requests
0
An
interrupt request signal is generated on the falling edge of the 8th clock.
Master device: After outputting 8
clocks, set the clock output low to wait.
Slave: After entering 8
clocks, set the clock low and wait for the master.
1
An
interrupt request signal is generated on the falling edge of the 9th clock.
Master device: After outputting 9
clocks, set the clock output low to wait.
Slave: After entering 9
clocks, set the clock low and wait for the master.
During address transmission, regardless of the setting of this bit, an interrupt is generated on the falling
edge of the 9th clock; After the address transfer ends, the setting for this bit is there
Effect. The 9th clock descent edge of the master device during address transfer enters a waiting state. The
slave that receives the local station address is generating a reply
The 9th clock drop edge after (ACK) enters the wait state, but the slave device that receives the extension
enters the wait state on the 8th clock drop edge.
Clear condition (WTIMn=0,1).
Position condition (WTIMn=1).
• Clear by command.
• When resetting
• Set by command.
ACKEn
Notes
1,
2
Reply control
0
No Ack.
1
Allow Acks. Set the SDAAn line low during the 9th clock.
Clear condition (ACKEn=0,1).
Set condition (ACKEn=1).
• Clear by command.
• When resetting
• 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 address transmission process is not an extension code, the setpoint is invalid. When it is a slave device
and the address matches, an Ack is generated independent of the setpoint.
Note: n=0,1