| Electronic Components Datasheet Search |
|
7540 Datasheet(PDF) 208 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7540 Datasheet(HTML) 208 Page - Renesas Technology Corp |
|
208 / 366 page ![]() 2-132 REJ09B0018-0200Z Rev.2.00 Jun 21, 2004 APPLICATION 7540 Group 2.8 A/D converter 2.8.3 A/D converter application examples (1) Setting of A/D converter Figure 2.8.7 shows the relevant registers setting. Fig. 2.8.7 Relevant registers setting Process 2: Set A/D control register. b7b0 A/D control register (ADCON) [Address 3416] Analog input pins selected b2b1b0 0 0 0: P20/AN0 0 0 1: P21/AN1 0 1 0: P22/AN2 0 1 1: P23/AN3 1 0 0: P24/AN4 1 0 1: P25/AN5 1 1 0: P26/AN6 (Note) 1 1 1: P27/AN7 (Note) b7b0 0 b7b0 Interrupt control register 2 (ICON2) [Address 3F16] 0 Note: These can be used only for 36-pin version. b7b0 1 b7b0 0 A/D conversion interrupt disabled Process 1: Disable A/D conversion interrupt. Process 3: In order not to execute the no requested interrupt processing, set “0” (no requested) to the A/D conversion interrupt request bit. Interrupt request register 2 (IREQ2) [Address 3D16] No A/D conversion interrupt request issued A/D control register (ADCON) [Address 3416] Start A/D conversion A/D conversion interrupt enabled Interrupt control register 2 (ICON2) [Address 3F16] Process 4: When the interrupt is used, set “1” (interrupt enabled) to the A/D conversion interrupt enable bit. Process 5: Start A/D conversion. |
|
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 |
| 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 |