參數(shù)資料
型號: PICDEM2
廠商: Microchip Technology Inc.
英文描述: simple board
中文描述: 簡潔的主板
文件頁數(shù): 19/60頁
文件大?。?/td> 1037K
代理商: PICDEM2
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*T
AD
),
starts the next conversion, and returns with global interrupts enabled.
Figure 4.5: Service Interrupt
Service_int
Interrupt Service Routine
(SetupDelay)
(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
相關(guān)PDF資料
PDF描述
PIP500 TRANSIENT ABSORPTION ZENER
PIP440 7,500 & 15,000 Watt TVS Module
PIP500 STEEL BOX
PIP60 7,500 & 15,000 Watt TVS Module
PIP24 Circular Connector; Body Material:Aluminum Alloy; Series:KPSE08; No. of Contacts:12; Connector Shell Size:14; Connecting Termination:Crimp; Circular Shell Style:Right Angle Plug; Circular Contact Gender:Socket RoHS Compliant: No
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PICDEMPIC18 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:PICDEMPIC18 EXPLORER DEMONSTRATION BOARD USERa??S GUIDE
PICE-52-03-ID2-D40 功能描述:EMULATOR 8051 64K 40MHZ 40-DIP RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 內(nèi)電路編程器、仿真器以及調(diào)試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標(biāo)準(zhǔn)包裝:1 系列:* 類型:* 適用于相關(guān)產(chǎn)品:* 所含物品:*
PICE-52-03-ID2-L44 功能描述:EMULATOR 8051 64K 40MHZ 44-PLCC RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 內(nèi)電路編程器、仿真器以及調(diào)試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標(biāo)準(zhǔn)包裝:1 系列:* 類型:* 適用于相關(guān)產(chǎn)品:* 所含物品:*
PICE-52-05-ID2-D40 功能描述:EMULATOR 8051 1M 40MHZ 40-DIP RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 內(nèi)電路編程器、仿真器以及調(diào)試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標(biāo)準(zhǔn)包裝:1 系列:* 類型:* 適用于相關(guān)產(chǎn)品:* 所含物品:*
PICE-52-05-ID2-L44 功能描述:EMULATOR 8051 1M 40MHZ 44-PLCC RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 內(nèi)電路編程器、仿真器以及調(diào)試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標(biāo)準(zhǔn)包裝:1 系列:* 類型:* 適用于相關(guān)產(chǎn)品:* 所含物品:*