| 数据搜索系统,热门电子元器件搜索 |
|
ST7LITE1XB 数据表(PDF) 62 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7LITE1XB 数据表(HTML) 62 Page - STMicroelectronics |
|
62 / 157 page ![]() ST7LITE1xB 62/157 DUAL 12-BIT AUTORELOAD TIMER 4 (Cont’d) 11.2.3.3 Break Function The break function can be used to perform an emergency shutdown of the application being driv- en by the PWM signals. The break function is activated by the external BREAK pin or internal comparator output. This can be selected by using the BRSEL bit in BREAKCR Register. In order to use the break function it must be previously enabled by software setting the BPEN bit in the BREAKCR register. The Break active level can be programmed by the BREDGE bit in the BREAKCR register. When an active level is detected on the BREAK pin, the BA bit is set and the break function is activated. In this case, the PWM signals are forced to BREAK value if respective OEx bit is set in PWMCR register. Software can set the BA bit to activate the break function without using the BREAK pin. The BREN1 and BREN2 bits in the BREAKEN Register are used to enable the break activation on the 2 counters respectively. In Dual Timer Mode, the break for PWM2 and PWM3 is enabled by the BREN2 bit. In Single Timer Mode, the BREN1 bit enables the break for all PWM channels. When a break function is activated (BA bit =1 and BREN1/BREN2 =1): – The break pattern (PWM[3:0] bits in the BREAK- CR) is forced directly on the PWMx output pins if respective OEx is set. (after the inverter). – The 12-bit PWM counter CNTR1 is put to its re- set value, i.e. 00h (if BREN1 = 1). – The 12-bit PWM counter CNTR2 is put to its re- set value,i.e. 00h (if BREN2 = 1). – ATR1, ATR2, Preload and Active DCRx are put to their reset values. – Counters stop counting. When the break function is deactivated after ap- plying the break (BA bit goes from 1 to 0 by soft- ware), Timer takes the control of PWM ports. Figure 41. Block Diagram of Break Function PWM0 PWM1 PWM2 PWM3 PWM0 PWM1 PWM2 PWM3 BREAKCR Register BREAK pin (Inverters) PWM0 PWM1 PWM2 PWM3 BPEN BA Comparator Level Selection BRSEL BREDGE BREAKCR Register ENCNTR2 bit BREN1 BREN2 BREAKEN Register PWM0/1 Break Enable PWM2/3 Break Enable OEx 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 |