Use Procedure For Ei Os - Fujitsu MB90420/5 (A) Series Hardware Manual

F2mc-16lx family 16-bit microcontrollers
Table of Contents

Advertisement

MB90420/5 (A) SERIES F
6.6.4 Use Procedure for EI
2
To use EI
OS, the following must be set: system stack area, EI
control register (ICR).
n Use procedure for EI
Figure 6.19 shows the EI
Set start operation of internal resource and
ISE
S1, S0 : EI
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
2
OS
2
OS
2
OS handling by software and hardware.
Processing by software
Start
Set system stack area
2
Set EI
OS descriptor
Initialize resources
Set interrupt control register
(ICR)
interrupt enable bit
Set ILM and I in PS
Execute user program
(Branch to interrupt vector)
2
Reset EI
OS
(channel switching)
Processing data in buffer
RETI
2
: EI
OS enable bit of interrupt control register (ICR)
2
OS status of interrupt control register (ICR)
Fig. 6.19 Use Procedure for EI
2
OS descriptor, resources and interrupt
Processing by hardware
(Interrupt request) and (ISE = 1)
Data transfer
Determination of branch to interrupt
by counting out or a termination
request from resources.
S1, S0 = 01
or
S1, S0 = 11
2
OS
6-30
S1, S0 = 00
NO
YES

Advertisement

Table of Contents
loading

Table of Contents