| Electronic Components Datasheet Search |
|
AT89LP51RB2 Datasheet(PDF) 85 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LP51RB2 Datasheet(HTML) 85 Page - ATMEL Corporation |
|
85 / 254 page ![]() 85 3722A–MICRO–10/11 AT89LP51RB2/RC2/IC2 Preliminary Figure 13-7. Timer/Counter 1 PWM Mode 1 13.6.3 Mode 2 – 8-bit Frequency Generator Timer n in PWM Mode 2 functions as an 8-bit Auto-Reload timer, the same as normal Mode 2, with the exception that the output pin Tn is toggled at every TLn overflow (see Figure 13-8 and Figure 13-9 on page 86). Timer 1 in PWM Mode 2 is identical to Timer 0. PWM Mode 2 can be used to output a square wave of varying frequency. THn acts as an 8-bit counter. The following formula gives the output frequency for Timer n in PWM Mode 2. Note: In Fast Mode, TPS applies only when the TnX2 bits in CKCON0 are set. TPS always applies in Compatibility Mode, therefore setting TnX2 in Compatibility Mode will halve the output frequency. Figure 13-8. Timer/Counter 1 PWM Mode 2 CLKSYS TR1 GATE1 INT1 Pin TL1 (8 Bits) Control TH1 (8 Bits) OCR1 RH1 (8 Bits) = T1 RL1 (8 Bits) ÷TPS Mode 2: f out fSYS 2256 THn – () × ------------------------------------------ 1 TPS 1 + --------------------- × = CLKSYS TR1 GATE1 INT1 Pin TL1 (8 Bits) Control T1 TH1 (8 Bits) ÷TPS |
|
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 |