| 数据搜索系统,热门电子元器件搜索 |
|
ST7LITE3 数据表(PDF) 60 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7LITE3 数据表(HTML) 60 Page - STMicroelectronics |
|
60 / 167 page ![]() ST7LITE3 60/167 DUAL 12-BIT AUTORELOAD TIMER 3 (Cont’d) 11.2.3.2 Output Compare Mode To use this function, load a 12-bit value in the Preload DCRxH and DCRxL registers. When the 12-bit upcounter (CNTR1) reaches the value stored in the Active DCRxH and DCRxL reg- isters, the CMPFx bit in the PWMxCSR register is set and an interrupt request is generated if the CMPIE bit is set. The output compare function is always performed on CNTR1 in both Single Timer mode and Dual Timer mode, and never on CNTR2. The difference is that in Single Timer mode the counter 1 can be compared with any of the four DCR registers, and in Dual Timer mode, counter 1 is compared with DCR0 or DCR1. Notes: 1. The output compare function is only available for DCRx values other than 0 (reset value). 2. Duty cycle registers are buffered internally. The CPU writes in Preload Duty Cycle Registers and these values are transferred in Active Duty Cycle Registers after an overflow event if the corre- sponding transfer bit (TRAN1 bit) is set. Output compare is done by comparing these active DCRx values with the counter. Figure 40. Block Diagram of Output Compare Mode (single timer) DCRx OUTPUT COMPARE CIRCUIT COUNTER 1 (ATCSR) CMPIE PRELOAD DUTY CYCLE REGx ACTIVE DUTY CYCLE REGx CNTR1 TRAN1 (ATCSR2) OVF (ATCSR) CMPFx (PWMxCSR) CMP REQUEST INTERRUPT 1 |
|
链接网址 |
| 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 |