beautypg.com

1 a/d enable register (ader) – FUJITSU MB91460 SERIES FR60 User Manual

Page 905

background image

889

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.)

3.1 A/D Enable Register (ADER)

While a pin is used as analog input, corresponding bit in ADER register have to be set to 1.

A/D enable register (ADER)

• ADERH (ADC0): Address 01A0h (Access:

Word, Half-word, Byte

)

(See “

Meaning of Bit Attribute Symbols (Page No.10)

” for details of the attributes.)

• ADERL (ADC0): Address 01A2h (Access:

Word, Half-word, Byte

)

(See “

Meaning of Bit Attribute Symbols (Page No.10)

” for details of the attributes.)

[ADE31-0]: A/D Input Enable

RST clears them to 0.
Be sure to set start channel and end channel to 1.

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

15

14

13

12

11

10

9

8

Bit

ADE31

ADE30

ADE29

ADE28

ADE27

ADE26

ADE25

ADE24

0

0

0

0

0

0

0

0

Initial

value

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Attribute

7

6

5

4

3

2

1

0

Bit

ADE23

ADE22

ADE21

ADE20

ADE19

ADE18

ADE17

ADE16

0

0

0

0

0

0

0

0

Initial

value

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Attribute

15

14

13

12

11

10

9

8

Bit

ADE15

ADE14

ADE13

ADE12

ADE11

ADE10

ADE9

ADE8

0

0

0

0

0

0

0

0

Initial

value

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Attribute

7

6

5

4

3

2

1

0

Bit

ADE7

ADE6

ADE5

ADE4

ADE3

ADE2

ADE1

ADE0

0

0

0

0

0

0

0

0

Initial

value

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Attribute

ADE

Function

0

General purpose port [Initial value]

1

Analog input