Sample Programs For External Interrupt Circuit - Fujitsu F2MC-8FX Hardware Manual

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

Advertisement

CHAPTER 18 EXTERNAL INTERRUPT CIRCUIT
18.8

Sample Programs for External Interrupt Circuit

We provide sample programs that can be used to operate the external interrupt circuit.
Sample Programs for External Interrupt Circuit
For information about the sample programs for the external interrupt circuit, refer to "
in Preface.
Setup Methods without Sample Program
Detection levels and setup methods
Four detection levels are available: no edge detection, rising edge, falling edge, both edges
The detection level bits (EIC. SL01, SL00 or SL11, SL10) are used.
How to use the external interrupt pin
Set the corresponding data direction register (DDR0, DDRE) to "0".
Using INT00 pin for external interrupt
Using INT01 pin for external interrupt
Using INT02 pin for external interrupt
Using INT03 pin for external interrupt
Using INT04 pin for external interrupt
Using INT05 pin for external interrupt
Using INT06 pin for external interrupt
Using INT07 pin for external interrupt
Using INT10 pin for external interrupt
Using INT11 pin for external interrupt
Using INT12 pin for external interrupt
Using INT13 pin for external interrupt
314
Operation mode
No edge detection
Detecting rising edges
Detecting falling edges
Detecting both edges
Operation
Detection level bits (SL01,SL00)
Select "00"
Select "01"
Select "10"
Select "11"
Direction bit (Pxx to Pxx)
DDR0. P00
DDR0. P01
DDR0. P02
DDR0. P03
DDR0. P04
DDR0. P05
DDR0. P06
DDR0. P07
DDRE. PE4
DDRE. PE5
DDRE. PE6
DDRE. PE7
Sample Programs"
Setting
Set the register to "0"
Set the register to "0"
Set the register to "0"
Set the register to "0"
Set the register to "0"
Set the register to "0"
Set the register to "0"
Set the register to "0"
Set the register to "0"
Set the register to "0"
Set the register to "0"
Set the register to "0"

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents