FUJITSU MB91460 SERIES FR60 User Manual

Page 911

Advertising
background image

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)

7

6

5

4

3

2

1

0

Bit

-

-

-

ANE4

ANE3

ANE2

ANE1

ANE0

-

-

-

0

0

0

0

0

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

0

0

0

0

0

AN0

0

0

0

0

1

AN1

0

0

0

1

0

AN2

0

0

0

1

1

AN3

0

0

1

0

0

AN4

0

0

1

0

1

AN5

0

0

1

1

0

AN6

0

0

1

1

1

AN7

0

1

0

0

0

AN8

0

1

0

0

1

AN9

0

1

0

1

0

AN10

0

1

0

1

1

AN11

0

1

1

0

0

AN12

0

1

1

0

1

AN13

0

1

1

1

0

AN14

0

1

1

1

1

AN15

1

0

0

0

0

AN16

1

0

0

0

1

AN17

1

0

0

1

0

AN18

1

0

0

1

1

AN19

1

0

1

0

0

AN20

1

0

1

0

1

AN21

1

0

1

1

0

AN22

1

0

1

1

1

AN23

1

1

0

0

0

AN24

1

1

0

0

1

AN25

1

1

0

1

0

AN26

1

1

0

1

1

AN27

1

1

1

0

0

AN28

1

1

1

0

1

AN29

1

1

1

1

0

AN30

1

1

1

1

1

AN31

Advertising