beautypg.com

Chapter 8 a/d converter – NEC PD78214 User Manual

Page 258

background image

229

Chapter 8 A/D Converter

8

Fig. 8-3 A/D Converter Mode Register (ADM) Format

Note F

CLK

: System clock frequency

7

6

5

4

3

2

1

0

TRG

0

FR

CS

ADM

ANI2

ANI1

ANI0

MS

FR

ANI2

ANI1

ANI0

MS

0

0

0

0

1

1

1

1

0

0

0

0

1

1

1

1

0

0

1

1

0

0

1

1

0

0

1

1

0

0

1

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

0

0

0

0

0

0

0

0

1

1

1

1

1

1

1

1

Specifies A/D conversion mode

Scan
mode

0

1

TRG

0

1

Select
mode

Scans AN0 input

Scans AN0 and AN1 inputs

Scans AN0 to AN2 inputs

Scans AN0 to AN3 inputs

Scans AN0 to AN4 inputs

Scans AN0 to AN5 inputs

Scans AN0 to AN6 inputs

Scans AN0 to AN7 inputs

Selects AN0 input

Selects AN1 input

Selects AN2 input

Selects AN3 input

Selects AN4 input

Selects AN5 input

Selects AN6 input

Selects AN7 input

Controls conversion speed

180/f

CLK

Note

120/f

CLK

Note

f

CLK

> 4 MHz

f

CLK

£ 4 MHz

Controls external terminal trigger

Disables external trigger

Enables external trigger

CS

0

1

Controls A/D conversion

Stops A/D conversion

Starts A/D conversion

This manual is related to the following products: