Fujitsu F2MCTM-16LX Hardware Manual page 369

16-bit microcontroller
Table of Contents

Advertisement

Table 18.3-5 Function of A/D Setting Register (ADSR0/ADSR1) (1/2)
Bit Name
bit15
ST2, ST1, ST0:
to
Sampling time select
bit13
bits
bit12
CT2, CT1, CT0:
to
Comparing time
bit10
select bits
bit9,
Reserved bits
bit4
bit8
ANS3 to ANS0:
to
A/D conversion start
bit5
channel select bits
CHAPTER 18 8-/10-BIT A/D CONVERTER
These bits set the sampling time of A/D conversion.
• These bits set the time when the A/D conversion is started and
inputted analog voltage is sampled by the sample & hold circuit
until it is retained.
• See Table 18.3-6 for the setting of these bits.
Comparing time of A/D conversion (comparing time) is set.
• These bits set the time when the analog input is A/D converted until
it stores to the data bits (D9 to D0).
• See Table 18.3-7 for the setting of these bits.
Always write 0 to these bits. Reading value is always 0.
These bits set the channel at which A/D conversion start.At read, the
channel number under conversion can be checked if the A/D
conversion is in progress and last A/D converted channel number can
be checked if the A/D conversion is completed or is stopping.
And before A/D conversion starts, the previous conversion channel
will be read even if these bits have already been set to the new value.
These bits are initialized to "0000
Start channel < end channel:
A/D conversion starts at channel set by A/D conversion start channel
select bits (ANS3 to ANS0) and terminates channel set by A/D
conversion end channel select bits (ANE3 to ANE0)
Start channel = end channel:
A/D conversion is performed only for one channel set by A/D
conversion start (= end) channel select bits (ANS3 to ANS0 = ANE3
to ANE0)
Start channel > end channel:
Do not set
Continuous conversion mode and pause-conversion mode:
When A/D conversion terminated at the channel set by the A/D
conversion end channel select bits (ANE3 to ANE0), it returns to the
channel set by the A/D conversion start channel select bits (ANS3 to
ANS0).
Read (Other than pause-conversion mode) :
The channel numbers (15 to 0) under A/D conversion are read.
Read (Pause-conversion mode) :
At read during a pause, the channel number A/D-converted
immediately before a pause is read.
Notes:
• Do not set the A/D conversion start channel bits (ANS3 to ANS0)
during A/D conversion.
• Access in units of word when writing to these bits. If the byte write
or bit operation is performed, the A/D conversion may be started
from unexpected channel.
Function
" at reset.
B
353

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents