Fujitsu FR60 Computer Hardware User Manual


  Open as PDF
of 1038
 
895
Chapter 44 A/D Converter
3.Registers of A/D Converter
ADECH (ADC0): Address 01ABh (Access: Word, Half-word, Byte)
(See “Meaning of Bit Attribute Symbols (Page No.10)” for details of the attributes.)
These bits set the start and end channel for A/D converter.
Setting of ANE4 to ANE0 the same channel as in ANS4 to ANS0 specifies conversion for that channel
only. (Single conversion)
In continuous or stop mode, conversion is performed up to the channel specified by ANE4 to ANE0.
Conversion then starts again from the start channel specified by ANS4 to ANS0.
If ANS > ANE, conversion starts with the channel specified by ANS, continuous up to channel 31, starts
again from channel 0, and ends with the channel specified by ANE.
Initialized to ANS="00000", ANE="00000" by a reset.
ex. Channel Setting ANS=30ch, ANE=3ch, single conversion mode
Operation : Conversion channel 30ch -> 31ch -> 0ch -> 1ch -> 2ch -> 3ch end
[bit 12 to 8] ANS4-0 (Analog start channel set)
[bit 4 to 0] ANE4-0 (Analog end channel set)
76543210Bit
- - - ANE4 ANE3 ANE2 ANE1 ANE0
-- -00000
Initial
value
RX, W0 RX, W0 RX, W0 R/W R/W R/W R/W R/W Attribute
ANS4
ANE4
ANS3
ANE3
ANS2
ANE2
ANS1
ANE1
ANS0
ANE0
Start / End Channel
00000AN0
00001AN1
00010AN2
00011AN3
00100AN4
00101AN5
00110AN6
00111AN7
01000AN8
01001AN9
01010AN10
01011AN11
01100AN12
01101AN13
01110AN14
01111AN15
10000AN16
10001AN17
10010AN18
10011AN19
10100AN20
10101AN21
10110AN22
10111AN23
11000AN24
11001AN25
11010AN26
11011AN27
11100AN28
11101AN29
11110AN30
11111AN31