| 数据搜索系统,热门电子元器件搜索 |
|
ST7FOXK2 数据表(PDF) 111 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7FOXK2 数据表(HTML) 111 Page - STMicroelectronics |
|
111 / 226 page ![]() ST7FOXF1, ST7FOXK1, ST7FOXK2 On-chip peripherals 111/226 Figure 52. Lite timer 2 block diagram 10.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 LTICR register contains the counter 1 value. An interrupt is generated if the ICIE bit is set. The ICF bit is cleared by reading the LTICR register. The LTICR is a read-only register and always contains the data from the last Input Capture. Input Capture is inhibited if the ICF bit is set. 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 (@ 8 MHz 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 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |