Fujitsu MB95630H Series Hardware Manual page 521

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

MB95630H Series
■ Stop Interrupt
Table 24.5-2 shows the stop interrupt control bits and I
Table 24.5-2 Stop Interrupt Control Bits and I
Item
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).
- IBCR1n: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 (IBCR0n:SPE =1). In the interrupt service routine,
write "0" to the IBCR0n:SPF bit to clear the interrupt request.
The IBCR0n:SPF bit is set to "1" when a valid stop condition occurs regardless of the value of
the IBCR0n: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 (IBCR0n:ALE = 1). Either
write "0" to the arbitration lost interrupt request flag bit (IBCR0n:ALF) while the bus is idle
or write "0" to the IBCR1n:INT bit from the interrupt service routine while the bus is busy
to clear the interrupt request.
When arbitration lost occurs, the IBCR0n:ALF bit is set to "1" regardless of the value for
the IBCR0n:ALE bit.
Interrupt for MCU wakeup from stop mode or 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 (IBCR0n:WUE = 1).
In the interrupt service routine, write "0" to the MCU standby mode wakeup interrupt
request flag bit (IBCR0n:WUF) to clear the interrupt request.
MN702-00009-1v0-E
2
Detection of stop condition Detection of arbitration lost
IBCR0n:SPF =1
IBCR0n:SPE =1
Stop condition detected
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER 24 I
2
C interrupt sources (trigger events).
C Interrupt Sources
IBCR0n:ALF =1
IBCR0n:ALE =1
Arbitration lost detected
2
C BUS INTERFACE
24.5 Interrupts
MCU wakeup from
stop/watch mode
IBCR0n:WUF =1
IBCR0n:WUE =1
Start condition detected
501

Advertisement

Table of Contents
loading

Table of Contents