| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MPD78CP14KB bảng dữ liệu(PDF) 167 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP14KB bảng dữ liệu(HTML) 167 Page - NEC |
|
167 / 373 page ![]() CHAPTER 8 ANALOG/DIGITAL CONVERTER FUNCTIONS 149 ADSE Store contents of CR0 to CR3 in memory INTAD X 4? Set memory address HL ← HL + 1 RETI 4020H end? Set memory address HL ← 4020H Y N Breg <a> <b> Y N Creg <c> 4004H end? Set memory address HL ← 4004H Y N Dreg <d> Set counter C ← 0 <e> 4024H end? Set memory address HL ← 4024H Y N Ereg Set counters C ← 0 D ← 0 <f> Set memory address HL ← 4000H Set counters ← ← ← 1 1 1 C D E Set counter B ← 3 Set A/D channel mode register invert ANI2 bit INTAD <a> The contents of CR0 to CR3 which hold the A/D conversion values for pins AN0 to AN3 or pins AN4 to AN7 are stored in the prescribed memory locations. <b> A check is made to see if an INTAD internal interrupt has been generated 4 times: If fewer than 4, the HL register pair is incremented by 1 and control returns from the routine. If there have been 4 interrupts, the program jumps to <c>. The B register is the counter used to check whether 4 interrupts have been generated. <c> As the A/D conversion values are stored in memory blocks starting at address 4000H (4000H to 4003H, 4008H to 400BH, 4010H to 4013H, and 4018H to 401BH), the start address (4020H) of the next block is stored in the HL register pair, and 03H in the B register. The ANI2 bit of the A/D channel mode register is inverted to change the input pin on which A/D conversion is to be performed, and a return is made from the routine. When A/D conversion values are stored in the memory blocks starting at 4020H (4020H to 4023H, 4028H to 402BH, 4030H to 4033H, and 4038H to 403BH), the program jumps to <d>. The C register is the counter used to check whether or not A/D conversion values have been stored in the memory blocks starting at 4020H. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |