전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

PICDEM2 데이터시트(PDF) 19 Page - Microchip Technology

부품명 PICDEM2
상세설명  simple board
PDF  60 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  MICROCHIP [Microchip Technology]
홈페이지  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PICDEM2 데이터시트(HTML) 19 Page - Microchip Technology

Back Button 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 PICDEM2 Datasheet HTML 22Page - Microchip Technology PICDEM2 Datasheet HTML 23Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 60 page
background image
PICDEM 2 User’s Guide
DS30374D-page 14
 2001 Microchip Technology Inc.
4.4 Service_Int Routine
This subroutine handles the A/D converter interrupt and updating of the LEDs
on PORTB. The first thing the routine does is to check if the A/D interrupt flag
is set. If it is not, the interrupt was caused by some other peripheral, and the
program returns to the main routine with interrupts re-enabled. If the interrupt
was caused by the A/D converter, the A/D result register is read, and the
value put on the LEDs. The A/D interrupt flag is then reset, and the peripheral
interrupts are enabled. The routine then waits for the sample time (2*TAD),
starts the next conversion, and returns with global interrupts enabled.
Figure 4.5: Service Interrupt
Service_int
Interrupt Service Routine
(SetupDelay)
A/D caused interrupt?
Get A/D Value
Display on LEDs
No
Yes
Reset A/D Flag
Re-enable Periph Ints
Delay for 2*Tad
Start A/D Conversion
Return
(SetupDelay)



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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