Fujitsu MB95630H Series Hardware Manual page 205

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

Advertisement

MB95630H Series
[bit3] EIR0: External interrupt request flag bit 0
This flag is set to "1" when the edge selected by the edge polarity select bits 0 (SL0[1:0]) is input to the
external interrupt pin INTn.
When this bit and the interrupt request enable bit 0 (EIE0) are set to "1", an interrupt request is output.
Writing "0" clears this bit. Writing "1" has no effect on operation.
When read by the read-modify-write (RMW) type of instruction, this bit always returns "1".
bit3
Reading "0"
Reading "1"
Writing "0"
Writing "1"
[bit2:1] SL0[1:0]: Edge polarity select bits 0
These bits select the polarity of an edge of the pulse input to the external interrupt pin INTn. The edge
selected is to be the interrupt source.
If these bits are set to "0b00", no edge detection is performed and no interrupt request is made.
If these bits are set to "0b01", rising edges are to be detected; if "0b10", falling edges are to be detected; if
"0b11", both edges are to be detected.
bit2:1
Writing "00"
Writing "01"
Writing "10"
Writing "11"
[bit0] EIE0: Interrupt request enable bit 0
This bit enables or disables outputting the interrupt request to the interrupt controller. When this bit and the
external interrupt request flag bit 0 (EIR0) are "1", an interrupt request is output.
When using an external interrupt pin, write "0" to the corresponding bit in the port direction register (DDR)
to set the pin as an input port.
The status of the external interrupt pin can be read directly from the port data register, regardless of the status
of the interrupt request enable bit.
bit0
Writing "0"
Writing "1"
MN702-00009-1v0-E
Indicates that the specified edge has not been input.
Indicates that the specified edge has been input.
Clears this bit.
Has no effect on operation.
No edge detection
Rising edge
Falling edge
Both edges
Disables outputting the interrupt request.
Enables outputting the interrupt request.
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER 12 EXTERNAL INTERRUPT CIRCUIT
Details
Details
Details
12.7 Register
185

Advertisement

Table of Contents
loading

Table of Contents