Chapter 3
96
••••
Peripheral Control
eSL/eSLS Series (+ eSLZ000) User’s Manual
3.6.3.2 Free Run Mode
In free run mode, A/D conversion is performed sequentially for the analog input
on a specified channels as follows
:
1) ADST bit is set to “1” by software.
2) When A/D conversion is completed, the result is sequentially transferred to
the A/D Data register.
3) Every time A/D conversion is completed, the ADIF flag is set to “1”. If at
the same time, the ADIE bit is also set to “1,” an ADIF interrupt request is
generated.
4) The ADST bit is not automatically cleared to “0.” Steps 2 and 3 are repeated
as long as the ADST bit remains set at “1.” When ADST bit is cleared to “0,”
A/D conversion stops.
CHS[2:0]
ADEN
ADST
F
A/D
ADEND
(internal signal)
000
DAO
S/H
T
EN
D11~ D0
S/H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
1
2
3
4
5
6
ADIF
Software
clear to 0
Figure 3-15 ADC Free Run Mode Timing Diagram
NOTE
As ADC timing diagram shows, ADEN enable must before ADST at least 1 ADC
clock. See below example:
AD_ON ;Enable ADEN
R0 = #64
RPT R0 ;Delay time must equal or more than one
NOP ;AD clock.FPLL/64
AD_SINGLE 5,3
; AD Single mode setting, select the ADIN5, Clock source is FPLL/64.
Содержание eSL Series
Страница 8: ...Contents viii Contents eSL eSLS Series eSLZ000 User s Manual...
Страница 11: ...Contents eSL eSLS Series eSLZ000 User s Manual Contents xi...
Страница 12: ......
Страница 28: ......
Страница 110: ...Chapter 3 98 Peripheral Control eSL eSLS Series eSLZ000 User s Manual BC IO INTF1 ADIF RETI...
Страница 115: ...Chapter 3 eSL eSLS Series eSLZ000 User s Manual Peripheral Control 103...
Страница 148: ......
Страница 154: ...Chapter 4 142 Electrical Characteristics eSL eSLS Series eSLZ000 User s Manual...