| Electronic Components Datasheet Search |
|
ST7LITE20F2 Datasheet(PDF) 86 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7LITE20F2 Datasheet(HTML) 86 Page - STMicroelectronics |
|
86 / 166 page ![]() On-chip peripherals ST7LITE20F2 ST7LITE25F2 ST7LITE29F2 86/166 Doc ID 8349 Rev 5 Figure 40. Lite timer 2 block diagram 11.3.3 Functional description Timebase counter 1 The 8-bit value of Counter 1 cannot be read or written by software. After an MCU reset, it starts incrementing from 0 at a frequency of fOSC/32. An overflow event occurs when the counter rolls over from F9h to 00h. If fOSC = 8 MHz, then the time period between two counter overflow events is 1 ms. This period can be doubled by setting the TB bit in the LTCSR1 register. When Counter 1 overflows, the TB1F bit is set by hardware and an interrupt request is generated if the TB1IE bit is set. The TB1F bit is cleared by software reading the LTCSR1 register. Input capture The 8-bit input capture register is used to latch the free-running upcounter (Counter 1) 1 after a rising or falling edge is detected on the LTIC pin. When an input capture occurs, the ICF bit is set and the LTICR1 register contains the MSB of Counter 1. An interrupt is generated if the ICIE bit is set. The ICF bit is cleared by reading the LTICR register. LTCSR1 8-bit timebase /2 8-bit fLTIMER 8 LTIC fOSC/32 TB1F TB1IE TB ICF ICIE LTTB1 interrupt request LTIC interrupt request LTICR Input capture register 1 0 1 or 2 ms Timebase (@ 8MHz fOSC) To 12-bit AT TImer fLTIMER LTCSR2 TB2F 0 TB2IE 0 LTTB2 8-bit timebase 0 0 8-bit autoreload register 8 LTCNTR LTARR counter 2 counter 1 0 0 Interrupt request |
|
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 |