Fujitsu F2MC-8FX Hardware Manual page 407

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

Stop Interrupt
Table 22.6-2 shows the stop interrupt control bits and I
Table 22.6-2 Stop Interrupt Control Bits and I
Interrupt request flag bit
Interrupt request enable bit
Interrupt source
• Interrupt upon detection of a stop condition
A stop condition is considered to be valid if all of the following conditions are satisfied when the stop
condition is detected.
- The bus is busy (state which the start condition is detected).
- IBCR10:MSS = 0
- After transfer of one byte of data completes, including the acknowledgment.
In this case, an interrupt request is output to the CPU if the stop condition detection interrupt request enable
bit has been set to enable (IBCR00:SPE = 1). In the interrupt service routine, write "0" to the IBCR00:SPF
bit to clear the interrupt request.
The IBCR00:SPF bit is set to "1" when a valid stop condition occurs regardless of the value of the
IBCR00:SPE bit.
• Interrupt upon detection of arbitration lost
When arbitration lost is detected, an interrupt request is output to the CPU if the arbitration lost
detection interrupt request enable bit has been set to enable (IBCR00:ALE = 1). Either write "0" to the
arbitration lost interrupt request flag bit (IBCR00:ALF) while the bus is idle or write "0" to the
IBCR10:INT bit from the interrupt service routine while the bus is busy to clear the interrupt request.
When arbitration lost occurs, the IBCR00:ALF bit is set to "1" regardless of the value for the
IBCR00:ALE bit.
• Interrupt for MCU wakeup from stop/watch mode
When a start condition is detected, an interrupt request is output to the CPU if the function to wake up
the MCU from stop or watch mode has been enabled (IBCR00:WUE = 1).
In the interrupt service routine, write "0" to the MCU standby mode wakeup interrupt request flag bit
(IBCR00:WUF) to clear the interrupt request.
For the interrupt source numbers and vector tables of all peripheral functions, see "APPENDIX B Table of
Interrupt Causes"
2
Detection of stop condition
IBCR00:SPF = "1"
IBCR00:SPE = "1"
Stop condition detected
2
C interrupt sources (trigger events).
C Interrupt Sources
Detection of
arbitration lost
IBCR00:ALF = "1"
IBCR00:ALE = "1"
Arbitration lost detected
2
CHAPTER 22 I
C
MCU wakeup from
stop/watch mode
IBCH00:WUF = "1"
IBCR00:WUE = "1"
Start condition detected
393

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents