beautypg.com

3 configuration of 8-/10-bit a/d converter, Configuration of 8-/10-bit a/d converter – FUJITSU F2MCTM-16LX User Manual

Page 360

background image

344

CHAPTER 18 8-/10-BIT A/D CONVERTER

18.3

Configuration of 8-/10-bit A/D Converter

This section explains the pins, registers, and interrupt factors of the A/D converter.

Pins of 8-/10-bit A/D Converter

The pins of the 8-/10-bit A/D converter serve as general-purpose I/O ports. Table 18.3-1 shows the pin

functions and the setting required for use of the 8-/10-bit A/D converter.

Table 18.3-1 Pins of 8-/10-bit A/D Converter

Function

Name

Pin Name

Pin Function

Setting Required for Use of 8-/10-bit

A/D Converter

Trigger input

P80 / ADTG/INT12R

General-purpose I/O port,
external trigger input,
external interrupt

Set as input port in port direction register
(DDR8).

Channel 0

P60 / AN0

General-purpose I/O ports,
analog inputs

Enable input of analog signal (ADER6:
set the corresponding bit of ADE7 to
ADE0 to "1")

Channel 1

P61 / AN1

Channel 2

P62 / AN2

Channel 3

P63 / AN3

Channel 4

P64 / AN4

Channel 5

P65 / AN5

Channel 6

P66 / AN6/PPGC(D)

General-purpose I/O ports,
analog inputs, PPG output

Channel 7

P67 / AN7/PPGE(F)

General-purpose I/O ports,
analog inputs, PPG output

Channel 8

P50 / AN8

General-purpose I/O ports,
analog inputs

Enable input of analog signal (ADER5:
set the corresponding bit of ADE15 to
ADE8 to "1")

Channel 9

P51 / AN9

Channel 10

P52 / AN10

Channel 11

P53 / AN11/TIN3

General-purpose I/O ports,
analog inputs,
event input pin for reload timer

Channel 12

P54 / AN12/TOT3/
INT8

General-purpose I/O ports,
analog inputs,
external interrupt input,
output pin for reload timer

Channel 13

P55 / AN13/INT10

General-purpose I/O ports,
analog inputs,
external interrupt input

Channel 14

P56 / AN14/INT11

Channel 15

P57 / AN15/INT13