| Electronic Components Datasheet Search |
|
ATAM510 Datasheet(PDF) 53 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATAM510 Datasheet(HTML) 53 Page - ATMEL Corporation |
|
53 / 72 page ![]() 53 4711B–4BMCU–01/05 ATAM510 3.5.4.5 Timer 1 Counter Free Running (50% Duty Cycle) In the free running counter mode, the counter counts up with either an internal or external clock and cycles through all 256 timer states. On the clock following a match between the compare register (T1CR) and the counter, a compare interrupt (if unmasked) is generated and the TIM1 pin is toggled (see Figure 3-23 on page 50). Figure 3-24. Timer 1 Counter Free Running (50% Duty Cycle) 3.5.4.6 Timer 1 Counter Auto Reload (Strobe and 50% Duty Cycle) In the auto-reload mode, the counter counts up with either an internal or external clock. On the clock cycle following a match between the compare register (T1CR) and the counter, a compare interrupt (if unmasked) is generated. The TIM1 output is either strobed or toggled and the counter reset (see Figure 3-25). Therefore, the counter cycle period is defined by the contents of the compare register. In 50% duty cycle mode the frequency of TIM1 is: f TIM1 = fin/2(n+1) where the compare value (n) =1 ... 255 Figure 3-25. Timer 1 Counter Auto Reload Timer Clock T1OUT (TIM1) Compare Interrupt Timer = compare register (= 4) 0 4 255 Timer State 1 2 35 6 4 1 2 35 6 0 255 255 4 1 2 35 6 0 (clock set to rising edge) 50% duty cycle Timer Clock T1OUT (TIM1) Compare Interrupt Timer = compare register (= 7) Resets timer 0 7 Timer State 0 50% duty cycle strobe 4 1 2 35 6 7 0 4 1 2 35 6 7 0 4 1 2 35 6 (clock set to neg. edge) |
|
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 |