![NEC V850/SC1 Скачать руководство пользователя страница 379](http://html.mh-extra.com/html/nec/v850-sc1/v850-sc1_user-manual_248178379.webp)
CHAPTER 11 SERIAL INTERFACE FUNCTION
User’s Manual U15109EJ3V0UD
377
(2/4)
WRELn
Wait cancellation control
0
Wait not cancelled
1
Wait cancelled. This setting is automatically cleared after wait is canceled.
Condition for clearing (WRELn = 0)
Note
Condition for setting (WRELn = 1)
•
Automatically cleared after execution
•
When RESET is input
•
Set by instruction
SPIEn
Enable/disable generation of interrupt request when stop condition is detected
0
Disabled
1
Enabled
Condition for clearing (SPIEn = 0)
Note
Condition for setting (SPIEn = 1)
•
Cleared by instruction
•
When RESET is input
•
Set by instruction
WTIMn
Control of wait and Interrupt request generation
0
Interrupt request is generated at the eighth clock’s falling edge.
Master mode: After output of eight clocks, clock output is set to low level and wait is set.
Slave mode:
After input of eight clocks, the clock is set to low level and wait is set for master device.
1
Interrupt request is generated at the ninth clock’s falling edge.
Master mode: After output of nine clocks, clock output is set to low level and wait is set.
Slave mode:
After input of nine clocks, the clock is set to low level and wait is set for master device.
This bit’s setting is invalid during an address transfer and is valid as the transfer is completed. In master mode, a wait
is inserted at the falling edge of the ninth clock during address transfers. For a slave device that has received a local
address, a wait is inserted at the falling edge of the ninth clock after an ACK signal is issued. When the slave device
has received an extension code, a wait is inserted at the falling edge of the eighth clock.
Condition for clearing (WTIMn = 0)
Note
Condition for setting (WTIMn = 1)
•
Cleared by instruction
•
When RESET is input
•
Set by instruction
Note
This
flag’s signal is invalid when IICEn = 0.
Remark
n = 0, 1