| 数据搜索系统,热门电子元器件搜索 |
|
ST62T35B 数据表(PDF) 50 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST62T35B 数据表(HTML) 50 Page - STMicroelectronics |
|
50 / 82 page ![]() 50/82 ST62T35B/E35B CONTROL REGISTERS (Cont’d) Status Control Register 3 (SCR3) Address: E2h - Read/Write/Clear only Bit 7 = CP2POL. CP2 Edge Polarity Select. CP2POL defines the polarity for triggering the CP2 event. A 0 defines the action on a falling edge on the CP2 input, a 1 on a rising edge. Bit 6 = CP2IEN. CP2 Interrupt Enable. The Cap- ture 2 Interrupt is masked when this bit is 0. Set- ting the bit to 1 enables the CP2 event flag CP2FLG to set the ARTIMER interrupt. Bit 5 = CP2FLG. CP2 Interrupt Flag. When this bit is 0, no CP2 event has occurred since the last clear of this flag. If the bit is at 1, the first CP2 event and capture into CP has occurred. This bit cannot be set by program, only cleared. Bit 4 = CMPIEN. Compare Int. Enable. The Com- pare Interrupt is masked when this bit is 0. Setting the bit to 1 enables the Compare flag CMPFLG to set the ARTIMER interrupt. Bit 3 = CMPFLG. Compare Flag. When this bit is 0, no Masked-Compare True event has occurred since the last clear of this flag. If the bit is at 1, a Masked-Compare event has occurred. This bit cannot be set by program, only cleared. Bit 2 = ZEROIEN. Compare to Zero Int Enable. The Masked-Counter Zero Interrupt is masked when this bit is 0. Setting the bit to 1 enables the ZEROFLG flag to set the ARTIMER interrupt. Bit 1 = ZEROFLG. Compare to Zero Flag. When this bit is 0, no Masked-Counter Zero event has occurred since the last clear of this flag. If the bit is at 1, a Masked-Counter Zero event has occurred as the Masked Counter state equals 0 when run- ning or on hold (not on Reset). Bit 0 = PWMMD. PWM Output Mode Control.The PWM Output mode is set by this bit; when 0, the PWM output is run in set/reset mode (the PWM output is set on a Masked-Counter Zero event and is reset when on a Masked-Compare event). When 1 the PWM output is in toggle mode; PWM toggles its state on every Masked-Compare event. Notes: A Masked-Compare is the logical AND of the Mask Register MASK with the Counter Register CT, compared with the logical AND of the com- pare Register CMP: [(MASK & CT) = (MASK&CMP)]. A Masked-Counter Zero is the logical AND of the Mask Register MASK with the Counter Register CT, compared with zero: [(MASK & CT) = 0000h] 70 CP2POL CP2IEN CP2FLG CMPIEN CMFLG ZEROIEN ZEROFLG PWMMD 49 |
|
链接网址 |
| 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 |