Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

PICDEM2 Datasheet(PDF) 17 Page - Microchip Technology

Part # PICDEM2
Description  simple board
PDF  60 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PICDEM2 Datasheet(HTML) 17 Page - Microchip Technology

Back Button PICDEM2 Datasheet HTML 13Page - Microchip Technology PICDEM2 Datasheet HTML 14Page - Microchip Technology PICDEM2 Datasheet HTML 15Page - Microchip Technology PICDEM2 Datasheet HTML 16Page - Microchip Technology PICDEM2 Datasheet HTML 17Page - Microchip Technology PICDEM2 Datasheet HTML 18Page - Microchip Technology PICDEM2 Datasheet HTML 19Page - Microchip Technology PICDEM2 Datasheet HTML 20Page - Microchip Technology PICDEM2 Datasheet HTML 21Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 60 page
background image
PICDEM 2 User’s Guide
DS30374D-page 12
 2001 Microchip Technology Inc.
4.1 Main Routine
The main routine of a2d.asm handles the initialization of the PICmicro MCU
and then waits in an infinite loop. The first few lines set PORTA as inputs and
PORTB as outputs. InitializeAD, the Analog to Digital converter initialization
routine, is then called. After the return from InitializeAD, the routine waits
for Tad (A/D conversion clock) and then starts an A/D conversion. The
program then enters an infinite loop with the reading of the A/D and the
updating of the LEDs handled by an interrupt routine Service_Int.
Figure 4.2: Main Routine
Start
Configure PORT B
Configure PORT A
(InitializeAD)
Wait for Tad
(SetupDelay)
Start A/D conversion
Service_Int
Initialize A/D module
A/D Complete?
No
Yes



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   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