參數(shù)資料
型號: PICDEM2
廠商: Microchip Technology Inc.
英文描述: simple board
中文描述: 簡潔的主板
文件頁數(shù): 17/60頁
文件大?。?/td> 1037K
代理商: PICDEM2
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
相關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
相關代理商/技術參數(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) >> 內電路編程器、仿真器以及調試器 系列:- 產品變化通告:Development Systems Discontinuation 19/Jul/2010 標準包裝:1 系列:* 類型:* 適用于相關產品:* 所含物品:*
PICE-52-03-ID2-L44 功能描述:EMULATOR 8051 64K 40MHZ 44-PLCC RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 內電路編程器、仿真器以及調試器 系列:- 產品變化通告:Development Systems Discontinuation 19/Jul/2010 標準包裝:1 系列:* 類型:* 適用于相關產品:* 所含物品:*
PICE-52-05-ID2-D40 功能描述:EMULATOR 8051 1M 40MHZ 40-DIP RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 內電路編程器、仿真器以及調試器 系列:- 產品變化通告:Development Systems Discontinuation 19/Jul/2010 標準包裝:1 系列:* 類型:* 適用于相關產品:* 所含物品:*
PICE-52-05-ID2-L44 功能描述:EMULATOR 8051 1M 40MHZ 44-PLCC RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 內電路編程器、仿真器以及調試器 系列:- 產品變化通告:Development Systems Discontinuation 19/Jul/2010 標準包裝:1 系列:* 類型:* 適用于相關產品:* 所含物品:*