| 전자부품 데이터시트 검색엔진 |
|
PICDEM2 데이터시트(PDF) 17 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PICDEM2 데이터시트(HTML) 17 Page - Microchip Technology |
|
17 / 60 page ![]() 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 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |