Fujitsu F2MC-16LX MB90580 Series Hardware Manual page 252

16-bit microcontrollers
Hide thumbs Also See for F2MC-16LX MB90580 Series:
Table of Contents

Advertisement

16.4 Operations
Usage
Starting I
•To convert analog input AN3 12 times at fixed intervals
•To transfer conversion data sequentially to addresses 600H to 618H
•To start conversion by external edge input
2
I
OS setting
MOV
MOV
MOV
MOV
MOV
MOV
MOV
A/D converter setting
MOV
MOV
Interrupt sequence
MOV
RET
Specifies the highest interrupt level, I2OS activation upon an interrupt, and the descriptor address.
Specifies the transfer destination address of converted data.
Specifies word data transfer. The transfer destination address is incremented after transfer. Data is
transferred from I/O to memory. Transfer is terminated in response to a request from a resource.
Transfer source address
2
I
OS transfer is performed 12 times.
Specifies continuous mode, start channel AN3, and end channel AN3 (one-channel conversion).
Specifies activation by external edge and start of A/D conversion.
Specifies return from an interrupt.
ICR3
BAPL : Buffer address pointer, low-order
BAPM : Buffer address pointer, medium-order
BAPH : Buffer address pointer, high-order
ISCS
I/OA
DCT
Activation
232
Chapter 16: A/D Converter
2
OS in stop mode
ICR3
#08H
BAPL,
#00H
BAPM,
#06H
BAPH,
#00H
ISCS,
#08H
I / OA,
#38H
DCT,
#0CH
ADCS1
#DBH
ADCS2
#A4H
ADCS2
#00H
: Interrupt control register
2
: I
OS status register
:I/O address counter
: Data counter
AN3 → Interrupt → I
Stop
Activation by external edge
To use the highest interrupt level
..............................................
..............................................
..............................................
..............................................
..............................................
..............................................
..............................................
..........................................................
..........................................................
..........................................................
2
OS transfer
After 12 transfers
Interrupt sequenc
End
MB90580 Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx mb90v580F2mc-16lx mb90583F2mc-16lx mb90f583

Table of Contents