| Electronic Components Datasheet Search |
|
HMS99C52 Datasheet(PDF) 22 Page - Hynix Semiconductor |
|
|
|||||||||||||||||||||||||||||
HMS99C52 Datasheet(HTML) 22 Page - Hynix Semiconductor |
|
22 / 43 page ![]() HMS99C5X Series 18 Jan. 2003 Ver 1.0 TIMER / COUNTER 0 AND 1 Timer/Counter 0 and 1 can be used in four operating modes as listed in Table 4: In the "timer" function (C/T = "0") the register is incremented every machine cycle. Therefore the count rate is fOSC/12. In the "counter" function the register is incremented in response to a 1-to-0 transition at its corresponding exter- nal input pin (P3.4/T0, P3.5/T1). Since it takes two machine cycles to detect a falling edge the max. count rate is fOSC/24. External inputs INT0 and INT1 (P3.2, P3.3) can be programmed to function as a gate to facilitate pulse width measurements. Figure 4 illustrates the input clock logic. Figure 4. Timer/Counter 0 and 1 Input Clock Logic Table 4. Timer/Counter 0 and 1 Operating Modes Mode Description TMOD Input Clock Gate C/T M1 M0 internal external (Max.) 0 8-bit timer/counter with a divide-by-32 prescaler XX 0 0 fOSC ÷(12×32) fOSC ÷(24×32) 1 16-bit timer/counter X X 0 1 fOSC ÷12 fOSC ÷24 2 8-bit timer/counter with 8-bit auto-reload XX 1 0 fOSC ÷12 fOSC ÷24 3 Timer/counter 0 used as one 8-bit timer/counter and one 8-bit timer Timer 1 stops XX 1 1 fOSC ÷12 fOSC ÷24 fOSC ÷ 12 TMOD fOSC ÷ 12 P3.4/T0 P3.5/T1 Max. fOSC/24 C/T =1 ≥1 TCON TR0 / 1 TMOD Gate & P3.2 / INT0 P3.3 / INT1 Timer 0/1 Input Clock 0 1 |
|
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 |