| Electronic Components Datasheet Search |
|
HT85F2230 Datasheet(PDF) 112 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT85F2230 Datasheet(HTML) 112 Page - Holtek Semiconductor Inc |
|
112 / 147 page ![]() Rev. 1.10 11� of 147 ���� �1� �01� A/D Flash 8051 Core Low Pin Count MCU HT85F2230/HT85F2240 Mode 3 – Two 8-Bit Timers/Counters Mode Operation – Timer 0 Only To select this mode, bits T0M1 and T0M0, should be set to “11” respectively. This mode is only available for Timer 0. For Timer 1, this mode is not available and if selected will stop the timer function. The two 8-bit Timer/Counter function is implemented by the two individual 8-bit TL0 and TH0 registers. TL0 can have both Timer and Counter functions while TH0 can only have a Timer function. The C/T0 bit is used to select the timer or counter function for TL0. The TL0 Run or Stop is controlled by the TR0 bit. If the Counter function is selected, the TR0 and GATE0 bits can be used to manage the external INTn input to count external edge transitions or to measure input pulse widths. If the TL0 counter overflows, an interrupt will be generated and the interrupt request flag, TF0, will be set high. The timer/counter clock source is decided by the T0PRE0 and T0PRE1 bits in the TMPRE register. In addition to TL0, the other 8-bit timer, TH0, can use the TR1 bit to enable the Timer. If the TH0 timer overflows, an interrupt will be generated and the interrupt request flag, TF1, will be set high. The timer clock source is decided by the T0PRE0 and T0PRE1 bits in the TMPRE register. The following block illustrates the two 8-bit Timer/Counters basic operational blocks. fSYS T0 TR0 GATE0 INT0 TL0 TH0 TR1 fSYS/4 fSYS fSYS/6 fSYS/1� T0PRE[1:0] C/T0=0 C/T0=1 MUX Interr�pt TF1 f�ag Interr�pt TF0 f�ag Mode 3 Block Diagram – Timer 0 |
|
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 |