Fujitsu MB90480 Series Hardware Manual page 380

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 17 8/10-BIT A/D CONVERTER
Pin related to 8/10-bit A/D converter
The pin related to 8/10-bit A/D converter has analog input AN0/AN1/AN2/AN3/AN4/AN5/AN6/
AN7 pins and input trigger ADTG pin. The general-purpose I/O port (P60/AN0, P61/AN1, P62/
AN2, P63/AN3, P64/AN4, P65/AN5, P66/AN6, P67/AN7) functions as the analog input pin of A/D,
and the general-purpose I/O port (P93/ADTG) functions as the trigger input of A/D.
● Setting when using as AN0/AN1/AN2/AN3/AN4/AN5/AN6/AN7 pins
When using as an analog input, be sure to set the port direction register (DDR6: bit8, 7, 6, 5, 4,
3, 2, 1, 0 → "0") and analog enable register (ADER: bit15, 14, 13, 12, 11, 10, 9, 8 → "1").
● Setting when using as ADTG pin
When using as external trigger of the A/D converter, P93/ADTG pin should be set to the input
port by port direction register (DDR9: bit11 → "0").
Block diagram of pin related to 8/10-bit A/D converter
Figure 17.2-2 Block diagram of pin related to 8/10-bit A/D converter
ADER
Port data register (PDR)
PDR Read
PDR Write
Port direction register (DDR)
DDR Write
DDR Read
Standby control : Stop mode (SPL=1), timebase timer mode (SPL=1), watch mode (SPL=1)
358
Peripheral
function input
(ADTG)
Output latch
Direction latch
Analog input
(AIN0 to AIN7)
P-ch
N-ch
Standby control
(SPL=1)
Pin

Advertisement

Table of Contents
loading

Table of Contents