Electronic Components Datasheet Search
  English  ▼

X  

HD6433713 Datasheet(PDF) 234 Page - Renesas Technology Corp

Part # HD6433713
Description  single-chip microcontrollers
PDF  324 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

HD6433713 Datasheet(HTML) 234 Page - Renesas Technology Corp

Back Button HD6433713 Datasheet HTML 230Page - Renesas Technology Corp HD6433713 Datasheet HTML 231Page - Renesas Technology Corp HD6433713 Datasheet HTML 232Page - Renesas Technology Corp HD6433713 Datasheet HTML 233Page - Renesas Technology Corp HD6433713 Datasheet HTML 234Page - Renesas Technology Corp HD6433713 Datasheet HTML 235Page - Renesas Technology Corp HD6433713 Datasheet HTML 236Page - Renesas Technology Corp HD6433713 Datasheet HTML 237Page - Renesas Technology Corp HD6433713 Datasheet HTML 238Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 234 / 324 page
background image
13.5 Typical Use
An example of how the A/D converter can be used is given below, using channel 1 (AN1) as the
analog input channel. Figure 13-3 shows the operation timing for this example.
1.
Bits AMR2 to AMR0 of the A/D mode register (AMR) are set to 001, and bits AN7 to AN0
of port mode register 0 (PMR0) are set to 00000010, making AN1 the analog input channel.
Interrupt request is cleared by setting bit IRRAD to 0, A/D interrupts are enabled by setting
bit IENAD to 1, and A/D conversion is started by setting bit ADSF to 1.
2.
When A/D conversion is complete, bit IRRAD is set to 1, and the A/D conversion results are
sent to the A/D result register (ADRR). At the same time ADSF is cleared to 0, and the A/D
converter goes to the idle state.
3.
Bit IENAD = 1, so an A/D conversion end interrupt is requested.
4.
The A/D interrupt handling routine starts.
5.
The A/D conversion result is read and processed.
6.
The A/D interrupt handling routine ends.
If ADSF is set to 1 again afterward, A/D conversion starts and steps 2 through 6 take place.
Figures 13-4 and 13-5 show flow charts of procedures for using the A/D converter.
223



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