Electronic Components Datasheet Search
  English  ▼

X  

SH7052 Datasheet(PDF) 605 Page - Renesas Technology Corp

Part # SH7052
Description  SuperHTM RISC engine
PDF  919 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

SH7052 Datasheet(HTML) 605 Page - Renesas Technology Corp

Back Button SH7052 Datasheet HTML 601Page - Renesas Technology Corp SH7052 Datasheet HTML 602Page - Renesas Technology Corp SH7052 Datasheet HTML 603Page - Renesas Technology Corp SH7052 Datasheet HTML 604Page - Renesas Technology Corp SH7052 Datasheet HTML 605Page - Renesas Technology Corp SH7052 Datasheet HTML 606Page - Renesas Technology Corp SH7052 Datasheet HTML 607Page - Renesas Technology Corp SH7052 Datasheet HTML 608Page - Renesas Technology Corp SH7052 Datasheet HTML 609Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 605 / 919 page
background image
579
16.4.2
Scan Mode
Scan mode is useful for monitoring analog inputs in a group of one or more channels. Scan mode
is selected for A/D0 by setting the ADM1 and ADM0 bits in A/D control/status register 0 or 1
(ADSCR0) to 01 (4-channel scan mode), or 11 (12-channel scan mode).
For A/D1, scan mode is selected by setting the ADM1 and ADM0 bits in A/D control/status
register 1 (ADCSR1) to 01 (4-channel scan mode). When the ADCS bit is cleared to 0 and the
ADST bit is set to 1 in the A/D control register (ADCR), single-cycle scanning is performed.
When the ADCS bit is set to 1 and the ADST bit is set to 1, continuous scanning is performed.
In scan mode, A/D conversion is performed in low-to-high analog input channel number order
(AN0, AN1 ... AN11, AN12, AN13 ... AN15).
In single-cycle scanning, the ADF bit in ADCSR is set to 1 when conversion has been performed
once on all the set channels, and the ADST bit is automatically cleared to 0.
In continuous scanning, the ADF bit in ADCSR is set to 1 when conversion ends on all the set
channels. To stop A/D conversion, write 0 to the ADST bit.
If the ADIE bit in ADCSR is set to 1 when ADF is set to 1, an ADI interrupt (ADI0, ADI1, or
ADI2) is requested. To clear the ADF flag, first read ADF when set to 1, then write 0 to ADF. If
the DMAC is activated by the ADI interrupt, ADF is cleared to 0 automatically.
An example of the operation when analog inputs 0 to 11 (AN0 to AN11) are selected and A/D
conversion is performed in single-cycle scan mode is described below. Figure 16.4 shows the
operation timing for this example.
1. 12-channel scan mode is selected (ADM1 = 1, ADM0 = 1), single-cycle scan mode is selected
(ADCS = 0), analog input channels AN0 to AN11 are selected (CH3 = 0, CH2 = 0, CH1 = 1,
CH0 = 1), and A/D conversion is started.
2. When conversion of the first channel (AN0) is completed, the result is transferred to ADDR0.
Next, conversion of the second channel (AN1) starts automatically.
3. Conversion proceeds in the same way through the 12th channel (AN11).
4. When conversion is completed for all the selected channels (AN0 to AN11), the ADF flag is
set to 1, the ADST bit is cleared to 0 automatically, and A/D conversion stops. If the ADIE bit
is 1, an ADI interrupt is requested after A/D conversion ends.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com