| Electronic Components Datasheet Search |
|
HT48CU80 Datasheet(PDF) 19 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48CU80 Datasheet(HTML) 19 Page - Holtek Semiconductor Inc |
|
19 / 54 page ![]() HT48RU80/HT48CU80 Rev. 1.00 19 April 12, 2006 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 1 6 B i t s T i m e r / E v e n t C o u n t e r 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 f S Y S / 4 M U X f R T C O p t i o n 1 6 B i t s T i m e r / E v e n t C o u n t e r ( T M R 0 ) L o w B y t e B u f f e r B Z B Z ¸ 2 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 1 6 B i t s T i m e r / E v e n t C o u n t e r 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 f S Y S / 4 M U X f R T C O p t i o n 1 6 B i t s T i m e r / E v e n t C o u n t e r ( T M R 1 ) L o w B y t e B u f f e r O v e r f l o w t o I n t e r r u p t B Z B Z ¸ 2 Timer/Event Counter 1 T 2 M 1 T 2 M 0 T M R 2 T 2 E T 2 M 1 T 2 M 0 T 2 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 B i t s T i m e r / E v e n t C o u n t e r 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 f S Y S M U X f R T C 8 B i t s T i m e r / E v e n t C o u n t e r ( T M R 2 ) 8 - s t a g e P r e s c a l e r 8 - 1 M U X f S f I N T ( 1 / 2 ~ 1 / 2 5 6 ) T 2 P S C 2 ~ T 2 P S C 0 Timer/Event Counter 2 cording to the transient edges. In the case of counter overflows, the Counter 0/1/2 is reloaded from the Timer/Event Counter 0/1/2 preload register and issues the interrupt request just like the other two modes. To enable the counting operation, the timer ON bit (T0ON: bit 4 of the TMR0C; T1ON: bit 4 of the TMR1C; T2ON: bit 4 of the TMR2C) should be set to 1. In the pulse width measurement mode, the T0ON/ T1ON/T2ON will be cleared automatically after the mea- surement cycle is completed. But in the other two modes the T0ON/T1ON/T2ON can only be reset by in- structions. The overflow of the Timer/Event Counter 0/1/ 2 is one of the wake-up sources. No matter what the op- eration mode is, writinga0to ET0I/ET1I/ET2I can dis- able the corresponding interrupt services. In the case of Timer/Event Counter 0/1/2 OFF condition, writing data to the Timer/Event Counter 0/1/2 preload register will also reload that data to the Timer/Event Counter 0/1/2. But if the Timer/Event Counter 0/1/2 is turned on, data written to it will only be kept in the Timer/Event Counter 0/1/2 preload register. The Timer/Event Counter 0/1/2 will still operate until overflow occurs (a Timer/Event Counter 0/1/2 reloading will occur at the same time). When the Timer/Event Counter 0/1/2 (reading TMR0/TMR1/TMR2) is read, the clock will be blocked to avoid errors. As clock blocking may results in a counting error, this must be taken into consideration by the pro- grammer. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |