| 数据搜索系统,热门电子元器件搜索 |
|
ST7LITE1XB 数据表(PDF) 103 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7LITE1XB 数据表(HTML) 103 Page - STMicroelectronics |
|
103 / 157 page ![]() ST7LITE1xB 103/157 ANALOG COMPARATOR (Cont’d) Bit 4 = CMPIF Comparator Interrupt Flag This bit is set by hardware when interrupt is gener- ated at the rising edge (CINV = 0) or falling edge (CINV = 1) of comparator output. This bit is cleared by reading the CMPCR register. Writing to this bit does not change the value. 0 : Comparator interrupt flag cleared 1 : Comparator interrupt flag set and can generate interrupt if CMPIE is set. Bit 3 : CMPIE Comparator Interrupt Enable This bit is set or reset by software and cleared by hardware reset. This bit enables or disables the in- terrupt generation depending on interrupt flag 0: Interrupt not generated 1: Interrupt generated if interrupt flag is set Note: This bit should be set to enable interrupt only after the comparator has been switched ON, i.e. when CMPON is set. Once CMPON bit is set, it is recommended to wait the specified stabilization time before setting CMPIE bit in order to avoid a spurious interrupt (see section 13.12 on page 142). Bit 2 : CMP Comparator Output This bit is set or reset by software and cleared by hardware reset. It stores the value of comparator output. Bit 1 = COUT Comparator Output Enable on Port This bit is set or cleared by software. When this bit is set, the comparator output is available on PA7 port. 0 : Comparator output not connected to PA7 1 : Comparator output connected to PA7 Bit 0 : CMPON Comparator ON/OFF This bit is set or cleared by software and reset by hardware reset. This bit is used to switch ON/OFF the comparator, internal voltage reference and current bias which provides 4µA current to both. 0: Comparator, Internal Voltage Reference, Bias OFF (in power-down state). 1: Comparator, Internal Voltage Reference, Bias ON Note: For the comparator interrupt generation, it takes 250ns delay from comparator output change to rising or falling edge of interrupt generated. Table 21. Analog Comparator Register Map and Reset Values Address (Hex.) Register Label 7 654 32 10 002Ch VREFCR Reset Value VCEXT 0 VCBGR 0 VR3 0 VR2 0 VR1 0 VR0 0 - 0 - 0 002Dh CMPCR Reset value CHYST 1 - 0 CINV 0 CMPIF 0 CMPIE 0 CMP 0 COUT 0 CMPON 0 |
|
链接网址 |
| 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 |