Chapter 6 A/D Conversion Functions

6-3-2 A/D Control Register (ANCTR)

This readable and writable 8-bit register controls the operation of the A/D

converter.

ANCTR0

7

6

5

4

3

2

1

0

ANSH1 ANSH0 ANCK1 ANCK0 ANLADE ANCHS2 ANCHS1 ANCHS0

(at reset: XXXX0XXX)

ANCHS2

ANCHS1

ANCHS0

Analog input selection

 

 

 

 

 

 

0

0

AN0

0

1

AN1

 

1

0

AN2

 

 

1

AN3

 

 

 

0

0

AN4

 

 

 

 

1

1

AN5

 

 

 

 

 

1

0

AN6

 

 

1

AN7

 

 

 

 

 

ANLADE

A/D ladder resistor control

0A/D ladder resistors off

1A/D ladder resistors on

ANCK1

ANCK0

A/D conversion

clock selection1

 

 

 

 

 

0

0

fs/2

 

 

1

fs/4

 

 

 

 

1

0

fs/8

 

 

1

Use prohibited

 

 

 

 

 

 

 

ANSH1

ANSH0

Sample and

hold time setting2

 

 

 

 

 

0

0

TAD 2

 

 

1

TAD 6

 

 

 

 

1

0

TAD 18

 

 

1

Use prohibited

 

 

 

 

(1) A/D control register 0 (ANCTR0)

1:Specify that where the period of the A/D conversion clock is greater than 800ns.

2:Sample-and-hold time is determined by the analog input impedance. TAD indicates the period of the A/D conversion clock.

Figure 6-3-1 A/D Control Register 0 (ANCTR0: X'03F90', R/W)

118 A/D Converter Control Registers

Page 132
Image 132
Panasonic MN101C00 user manual 2 A/D Control Register Anctr, D control register 0 ANCTR0, AN0