Example Of Ei Os Activation In Pause Mode; Example Of Ei 2 Os Activation In Pause Mode - Fujitsu F2MC-16LX Hardware Manual

Mb90550a/b series, 16-bit
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

CHAPTER 15 A/D CONVERTER
15.3.3 Example of EI
In pause mode, the EI
• Converts analog input (AN3) 12 times in a certain interval
• Transfer conversion data to the addresses 600
• Activate with external edge input
• Maximum interrupt level
■ Example of EI
2
OS Activation in Pause Mode
Table 15.3-3 Example of EI
Items set
2
Setting of EI
OS
Setting of A/D
converter
Other processing
2
EI
OS termination
interrupt sequence
ICR3: Interrupt control register
BAPL: Low-order byte of the buffer address pointer
BAPM: Middle-order byte of the buffer address pointer
BAPH: High-order byte of the buffer address pointer
248
2
OS Activation in Pause Mode
2
OS is activated in the following manner:
2
OS Activation in Pause Mode
Example of
programming
MOV ICR0, #08H
MOV BAPL, #00H
MOV BAPM, #06H
MOV BAPH, #00H
MOV ISCS, #19H
MOV IOAL, #3EH
MOV IOAH, #00H
MOV DCTL, #0CH
MOV DCTH, #00H
MOV ADCS0, #DBH
MOV ADCS1, #A4H
-
MOV ADCS1, #80H
RETI
to 618
sequentially
H
H
Description of operation
Setting of maximum interrupt, activation of EI
interrupt, and setting of descriptor address.
Destination address of conversion data.
Transfers word data and increments destination address
after transmission. Transfer from I/O to memory.
Terminates by a request from a resource.
Destination address
Transfers data 12 times with EI
Single mode, start channel AN3, end channel AN3 (one-
channel conversion).
Activation with external edge, start of A/D converter.
Recover from interrupt.
2
OS at
2
OS.
-

Advertisement

Table of Contents
loading

Table of Contents