| поискавой системы для электроныых деталей |
|
PAC107 датащи(PDF) 32 Page - Pixart Imaging Inc. |
|
|
|||||||||||||||||||||||||||||
PAC107 датащи(HTML) 32 Page - Pixart Imaging Inc. |
|
32 / 53 page ![]() PixArt Imaging Inc. PAC107 All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 32 PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw V1.4, Aug, 2005 RCLK and/or TCLK selects the baud rate generator mode. Timer 2 is similar to timer 0 and timer 1. C/ 2 T selects Fosc/12 (timer operation) or external pin T2 (counter operation) as the timer register input. Setting TF2 to be advanced by the selected input. Timer 2/ Capture Mode Timer 2 function as a 16-bit timer or counter. An overflow condition sets bit TF2 to execute ISR. Set the external enable bit EXEN2 allows the RCAP2Hand RCAP2L registers to report the current value in timer registers TH2 and TL2 in response to a hi-to-lo transition at external input T2EX. The transition at T2EX also sets bit EXF2 on T2CON. The EXF2 bit, like TF2, can generate an interrupt. TR2 must be enabled in this mode. Timer 2/ Auto-reload Mode The auto-reload mode configures timer 2 as a 16-bit timer or event counter with automatic reload. The timer operates an as an up counter or as an up/down counter, as determined by the down counter enable bit (DCEN). At device reset, DCEN is cleared, so in the auto-reload mode, timer 2 defaults to operation as an up counter. TR2 must be enabled when running this mode. Up Counter Operation When DCEN = 0, timer 2 operates as an up counter. If EXEN = 0, timer 2 counts up to FFFFH and sets the TF2 overflow flag. The overflow condition loads the 16-bit value in the 12 0 1 XTAL1 T2 TL2 (8 Bits) Overflow Interrupt Request TH2 (8 Bits) TF2 RCAP2H RCAP2L T2EX EXF2 EXEN2 TR2 Capture C/ T2 Timer 2:Capture Mode |
|
ссылки 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 |