| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT46CU66 bảng dữ liệu(PDF) 20 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46CU66 bảng dữ liệu(HTML) 20 Page - Holtek Semiconductor Inc |
|
20 / 63 page ![]() HT46RU66/HT46CU66 Rev. 1.20 20 October 2, 2007 The overflow of the Timer/Event Counter 0/1/2 is one of the wake-up sources. The Timer/Event Counter 0/1 can also be applied to a PFD or Programmable Frequency Divider whose output is on pin PA3 via a configuration option. Only one PFD (PFD0 or PFD1) can be applied to PA3 by options. No matter what the operation mode is, writing a ²0² to ET0I, ET1I or ET2I disables the related interrupt service. When the PFD function is selected, ex- ecuting the ²SET [PA].3² instruction will enable the PFD output and executing the ²CLR [PA].3² instruction will disable the PFD output. If the timer/event counter is not running, writing data to the timer/event counter preload register will also reload that data to the timer/event counter. But if the timer/event counter running, data written to the timer/event counter is kept only in the timer/event coun- ter preload register. The timer/event counter continues to operate until an overflow occurs at which point the new data will be loaded from the preload register into the timer/event counter. After the timer has been initialised the timer can be turned on and off by controlling the enable bit in the timer control register. Note that setting the timer enable bit high to turn the timer on, should only be executed af- ter the timer mode bits have been properly setup. Set- ting the timer enable bit high together with a mode bit modification, may lead to improper timer operation if ex- ecuted as a single timer control register byte write in- struction. When the timer/event counter is read, the clock is blocked to avoid errors. As this may results in a counting error, blocking of the clock should be taken into account by the programmer. It is strongly recommended to load a desired value into the TMR0/TMR1/TMR2 registers first, before turning on the related timer/event counter, for proper operation since the initial value of the TMR0/TMR1/TMR2 regis- ters are unknown. Due to the timer/event counter scheme, the programmer should pay special attention to the instruction to enable then disable the timer for the first time, whenever there is a need to use the timer/event counter function, to avoid unpredictable re- sult. After this procedure, the timer/event counter func- tion can be operated normally. T 0 M 1 T 0 M 0 T M R 0 T 0 E T 0 M 1 T 0 M 0 T 0 O N P u l s e W i d t h M e a s u r e m e n t M o d e C o n t r o l 8 - s t a g e P r e s c a l e r 8 - 1 M U X f S Y S f I N T T 0 P S C 2 ~ T 0 P S C 0 ( 6 + 2 ) o r ( 7 + 1 ) C o m p a r e P W M T o P D 0 / P D 1 / P D 2 / P D 3 C i r c u i t 1 6 - B i t P r e l o a d R e g i s t e r D a t a B u s R e l o a d O v e r f l o w t o I n t e r r u p t L o w B y t e B u f f e r H i g h B y t e L o w B y t e 1 6 - B i t T i m e r / E v e n t C o u n t e r P F D 0 Timer/Event Counter 0 T 1 M 1 T 1 M 0 T M R 1 T 1 E T 1 M 1 T 1 M 0 T 1 O N P u l s e W i d t h M e a s u r e m e n t M o d e C o n t r o l f S Y S / 4 f I N T 1 6 - B i t P r e l o a d R e g i s t e r D a t a B u s R e l o a d O v e r f l o w t o I n t e r r u p t L o w B y t e B u f f e r H i g h B y t e L o w B y t e 1 6 - B i t T i m e r / E v e n t C o u n t e r P F D 1 M U X T 1 S 3 2 7 6 8 H z Timer/Event Counter 1 |
|
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 |