| Electronic Components Datasheet Search |
|
WM8352 Datasheet(PDF) 177 Page - Wolfson Microelectronics plc |
|
|
|||||||||||||||||||||||||||||
WM8352 Datasheet(HTML) 177 Page - Wolfson Microelectronics plc |
|
177 / 336 page ![]() Production Data WM8352 w PD, February 2011, Rev 4.4 177 19.6 DIGITAL COMPARATORS The WM8352 has four digital comparators which may be used to compare AUXADC measurement data against programmable threshold values. Each comparator has an associated interrupt flag, as described in Section 19.7, which indicates that the associated data is beyond the threshold value. The digital comparators are enabled using the DCMPn_ENA register bits as described in Table 119. The source data for each comparator is selected using the DCMPn_SRCSEL register bits; this selects one of the eight AUXADC channels for each comparator. Note that, if required, the same AUXADC channel may be selected for more than one comparator; this would allow more than one threshold to be monitored on the same AUXADC channel. The DCMPn_GT register bits select whether an interrupt will be indicated when the measured value is above the threshold or when the measured value is below the threshold. The threshold DCMPn_THR is a 12-bit code for each comparator. This field follows the same voltage scaling and voltage reference as the associated AUXADC channel source. ADDRESS BIT LABEL DEFAULT DESCRIPTION R12 (0Ch) Power Mgmt (5) or R163 (A3h) Generic Comparator Control 3 DCMP4_ENA 0 Digital comparator 4 enable 0 = disabled 1 = enabled 2 DCMP3_ENA 0 Digital comparator 3 enable 0 = disabled 1 = enabled 1 DCMP2_ENA 0 Digital comparator 2 enable 0 = disabled 1 = enabled 0 DCMP1_ENA 0 Digital comparator 1 enable 0 = disabled 1 = enabled R164 (A4h) Generic comparator 1 R165 (A5h) Generic Comparator 2 R166 (A6h) Generic Comparator 3 R167 (A7h) Generic Comparator 4 15:13 DCMPn_SRCS EL [2:0] 000 DCOMPn source select. 000 = AUX1 001 = AUX2 010 = AUX3 011 = AUX4 100 = USB 101 = LINE 110 = BATT 111 = TEMP 12 DCMPn_GT 0 DCOMPn interrupt control 0 = interrupt when the source is less than threshold 1 = interrupt when the source is greater than threshold 11:0 DCMPn_THR [11:0] 000h DCOMPn threshold (12-bit unsigned binary number) Note: n is a number between 1 and 4 that identifies the individual comparator Note: The Comparator Enable bits can each be accessed through two separate control registers. Reading from or writing to either register location has the same effect. Table 119 AUXADC Digital Comparator Control |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |