| поискавой системы для электроныых деталей |
|
AT89LP428 датащи(PDF) 65 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LP428 датащи(HTML) 65 Page - ATMEL Corporation |
|
65 / 149 page ![]() 65 3654A–MICRO–8/09 AT89LP428/828 13.2 Input Capture Mode The Compare/Capture Array provides a variety of capture modes suitable for time-stamping events or performing measurements of pulse width, frequency, slope, etc. The CCA channels are configured for capture mode by clearing the CCMx bit in the associated CCCx register to 0. Each time a capture event occurs, the contents of Timer 2 (TH2 and TL2) are transferred to the 16-bit data register of the corresponding channel, and the channel’s interrupt flag CCFx is set in T2CCF. Optionally, the capture event may also clear Timer 2 to 0000H by setting the CTCx bit in CCCx. The capture event is defined by the CxM 2-0 bits in CCCx and may be either externally or internally generated. A diagram of a CCA channel in capture mode is shown in Figure 13-2. Figure 13-2. CCA Capture Mode Diagram Table 13-5. T2CCF – Timer/Counter 2 Compare/Capture Flags T2CCF Address = 0D5H Reset Value = XXXX 0000B Not Bit Addressable – – – – CCFD CCFC CCFB CCFA Bit 7 654 321 0 Symbol Function CCFD Channel D Compare/Capture Interrupt Flag. Set by a compare/capture event on channel D. Must be cleared by software. CCFD will generate an interrupt when CIEND = 1 and ECC = 1. CCFC Channel C Compare/Capture Interrupt Flag. Set by a compare/capture event on channel C. Must be cleared by software. CCFC will generate an interrupt when CIENC = 1 and ECC = 1. CCFB Channel B Compare/Capture Interrupt Flag. Set by a compare/capture event on channel B. Must be cleared by software. CCFB will generate an interrupt when CIENB = 1 and ECC = 1. CCFA Channel A Compare/Capture Interrupt Flag. Set by a compare/capture event on channel A. Must be cleared by software. CCFA will generate an interrupt when CIENA = 1 and ECC = 1. TL2 TH2 CCxL CCxH CCCx Interrupt (P2.x) CCx T2CCC T2CCL T2CCH 0 1 2 3 4 5 6 7 “0” Timer 0 Overflow Timer 1 Overflow Comparator A Comparator B 00H 00H CTCx CCFx CIENx CxM2-0 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |