Setting - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

6. Setting

Table 6-1 Setting Required to Use Interrupts
Setting
Setting the interrupt level
Clearing the interrupt request flags
Enabling interrupt requests
I flag setting
*: For the setting procedure, refer to the section indicated by the number.
Table 6-2 Setting that Requires the Setting within Interrupt Processing
Setting
Clearing the interrupt request flags
7. Q & A
7.1 How can I set interrupt levels?
Set by Interrupt control registers (ICR00 to ICR63).
It is necessary to set interrupt levels in advance to the control registers of the applicable interrupts.
How to specify the highest level
How to specify a level
How to specify the lowest level
When interrupt is not used
• Since the bit of the interrupt control register (ICR[4]) is fixed to "1", 0 to 15 cannot be set to a register.
7.2 How do I enable interrupts?
To enable interrupts, all of the following three settings should be set:
• Set the value 16 to 30 to the applicable register in the interrupt control registers (ICR00-ICR63).
• Set the interrupt request enabling bit of the applicable peripheral function to "1" (enable) (See the chapter
for the corresponding peripheral function).
• Set the interrupt enabling flag (I) to "1."
7.3 How do I disable interrupts?
To disable interrupts, at least one of the following three settings should be set:
• Set the value 31 to the applicable register in the interrupt control registers (ICR00-ICR63).
• Set the interrupt request enabling bit of the applicable peripheral function to "0" (disable).
• Set the interrupt enabling flag (I) to "0" (disable all interrupts.)
Setting Registers
Interrupt control registers (ICR00 to ICR63)
See the corresponding chapter for each peripheral function.
See the corresponding chapter for each peripheral function.
CCR register
Setting Registers
See the corresponding chapter for each peripheral function.
Interrupt control registers ICR00 to ICR63
Set 16.
Set any level (from 16 to 30).
Set 30.
Set 31 (interrupt disable).
Chapter 24 Interrupt Control
6.Setting
Setting
Procedure
See 7.1
See 7.5
Setting
Procedure
319

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents