Setting - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

Chapter 25 External Interrupt

6.Setting

6. Setting
Table 6-1 Setting Required in Order to Use External Interrupts
Setting
Setting of detect level
Set INT pin as the input.
External interrupt
Note: For the setting procedure, refer to the section indicated by the number.
7. Q & A
7.1 What are the types and setting procedures of detect levels?
There are 4 types of detect levels: "L" level, "H" level, rise, and fall
Carry out in Detection level bit (ELVR0. LBx, LAx) x = 0-7, and (ELVR1. LBx, LAx) x = 8-15.
Operation mode
Use as "L" level detection
Use as "H" level detection
Use as rise detection
Use as fall detection
7.2 How do I set INT pin as the input?
Use data direction registers (DDR22, DDR23, DDR24).
Use port function register (PFR22, PFR23, PFR24).
Operation
To use INT0 pin input
To use INT1 pin input
To use INT2 pin input
To use INT3 pin input
To use INT4 pin input
To use INT5 pin input
To use INT6 pin input
To use INT7 pin input
To use INT8 pin input
To use INT9 pin input
To use INT10 pin input
To use INT11 pin input
To use INT12 pin input
To use INT13 pin input
To use INT14 pin input
To use INT15 pin input
Remark: Even though the external interrupt can be even used with setting DDR=0 and PFR=0 (general
purpose port input mode), the input line will be disabled when setting STOP mode with HIZ.
328
Setting Registers
External interrupt request level setting register
(ELVR0 - ELVR1)
Data direction register (DDR22, DDR23, DDR24)
Port function register (PFR22, PFR23, PFR24)
External inputs
→Inputs the signal to INT0 - INT15 pins.
Data Direction bits
DDR24.0
Set to "0"
DDR24.1
Set to "0"
DDR24.2
Set to "0"
DDR24.3
Set to "0"
DDR24.4
Set to "0"
DDR24.5
Set to "0"
DDR24.6
Set to "0"
DDR24.7
Set to "0"
DDR23.0
Set to "0"
DDR23.2
Set to "0"
DDR23.4
Set to "0"
DDR23.6
Set to "0"
DDR22.0
Set to "0"
DDR22.2
Set to "0"
DDR22.4
Set to "0"
DDR22.6
Set to "0"
Detection level bit (LBn, LAn) n = 0-15
Sets to "00"
Sets to "01"
Sets to "10"
Sets to "11"
Setting
Port Function bit
PFR24.0
PFR24.1
PFR24.2
PFR24.3
PFR24.4
PFR24.5
PFR24.6
PFR24.7
PFR23.0
PFR23.2
PFR23.4
PFR23.6
PFR22.0
PFR22.2
PFR22.4
PFR22.6
Setting
Procedures*
See 7.1
See 7.2
Setting
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"
Set to "1"

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents