| Electronic Components Datasheet Search |
|
AT89C51CC02CA-RATUM Datasheet(PDF) 58 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89C51CC02CA-RATUM Datasheet(HTML) 58 Page - ATMEL Corporation |
|
58 / 156 page ![]() 58 AT/T89C51CC02 4126J–CAN–05/06 Mode 0 (13-bit Timer) Mode 0 configures Timer 0 as an 13-bit Timer which is set up as an 8-bit Timer (TH0 register) with a modulo 32 prescaler implemented with the lower five bits of TL0 register (See Figure 24). The upper three bits of TL0 register are indeterminate and should be ignored. Prescaler overflow increments TH0 register. Figure 24. Timer/Counter x (x= 0 or 1) in Mode 0 Mode 1 (16-bit Timer) Mode 1 configures Timer 0 as a 16-bit Timer with TH0 and TL0 registers connected in cascade (See Figure 25). The selected input increments TL0 register. Figure 25. Timer/Counter x (x= 0 or 1) in Mode 1 Mode 2 (8-bit Timer with Auto- Reload) Mode 2 configures Timer 0 as an 8-bit Timer (TL0 register) that automatically reloads from TH0 register (See Figure 26). TL0 overflow sets TF0 flag in TCON register and reloads TL0 with the contents of TH0, which is preset by software. When the interrupt request is serviced, hardware clears TF0. The reload leaves TH0 unchanged. The next reload value may be changed at any time by writing it to TH0 register. FTx CLOCK TRx TCON Reg TFx TCON Reg 0 1 GATEx TMOD Reg ÷ 6 Overflow Timer x Interrupt Request C/Tx# TMOD Reg TLx (5 bits) THx (8 bits) INTx# Tx See section “Clock” TRx TCON Reg TFx TCON Reg 0 1 GATEx TMOD Reg Overflow Timer x Interrupt Request C/Tx# TMOD Reg TLx (8 bits) THx (8 bits) INTx# Tx FTx CLOCK ÷ 6 See section “Clock” |
|
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 |