| Electronic Components Datasheet Search |
|
CS42L42 Datasheet(PDF) 82 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS42L42 Datasheet(HTML) 82 Page - Cirrus Logic |
|
82 / 184 page ![]() DS1083F3 82 CS42L42 4.14 Plug Presence Detect 4.14.4 Tip-Sense and Ring-Sense Debounce Settings Fig. 4-45 shows the tip-sense and ring-sense controls and the associated interrupt, status, and mask registers. Figure 4-45. Tip-Sense and Ring-Sense Controls The tip-and ring-sense debounce register fields behave and interact as follows: • TS_UNPLUG_DBNC. Shows tip sense status after being unplugged with the associated debounce time. • TS_PLUG_DBNC. Shows tip sense status after being plugged in with the associated debounce time. • RS_UNPLUG_ DBNC. Shows ring sense status after being unplugged with the associated debounce time. • RS_PLUG_DBNC. Shows the ring sense status after being plugged in with the associated debounce time. Note: TS_INV must be set to have TS_PLUG/TS_PLUG_DBNC status match TIP_SENSE_PLUG status. The debounce bits are described in Section 7.4.10. Multiple debounce settings can be configured for insertion, removal, ring sense, and tip sense: • TIP_SENSE_DEBOUNCE (see p. 151) controls the tip-sense removal debounce time. • TS_FALL_DBNCE_TIME and TS_RISE_DBNCE_TIME (see p. 135) and RS_FALL_DBNCE_TIME and RS_ RISE_DBNCE_TIME (see p. 134) settings configure the corresponding debounce times. 4.14.5 Setup Instructions The following steps are required to activate the tip-/ring-sense debounce interrupt status: 1. Clear PDN_ALL (see p. 132). 2. Set TIP_SENSE_EN (see p. 150) for analog front-end of tip sense. 3. Set LATCH_TO_VP (see p. 151) to latch analog controls into analog circuits. 4. Set RING_SENSE_PDNB (see p. 133) to enable debounce block for ring sense plug/unplug. 5. Write TIP_SENSE_CTRL (see p. 150) to 01 or 11 to enable debounce for tip sense plug/unplug. 6. Clear interrupt masks (0x1320, see Section 7.6.22). TIP_SENSE 0 1 RING_SENSE 0 1 0 1 Interrupt(0x1B7B) Mask (0x1B79) Headset Interface Block No Delay Rising/Falling Edge Detect Tip Sense/Ring Sense Indicator Status Registers (0x1115) Tip Sense/Ring Sense Plug/Unplug Interrupt Mask (0x1320) Tip Sense/Ring Sense Plug/Unplug Interrupt Status (0x130F) Interrupt Handler Block Shadow Copy INT Read Clears INT Ring Sense UNPLUG PLUG Tip Sense Gating Function No Delay TIP_SENSE_PLUG p. 142 TIP_SENSE_UNPLUG p. 142 TIP_SENSE_ DEBOUNCE p. 151 TS_FALL_DBNCE_TIME p. 135 RS_FALL_DBNCE_TIMEp. 134 TS_RISE_DBNCE_TIME p. 135 RS_RISE_DBNCE_TIMEp. 134 TS_RS_GATE p. 134 TIP_SENSE p. 152 TS_UNPLUG p. 144 TS_PLUG p. 144 RS_UNPLUG p. 144 RS_PLUG p. 144 M_TS_UNPLUG p. 147 M_TS_PLUG p. 147 M_RS_UNPLUG p. 147 M_RS_PLUG p. 147 TS_UNPLUG_DBNCp. 135 TS_PLUG_DBNCp. 135 RS_UNPLUG_DBNCp. 135 RS_PLUG_DBNCp. 135 RS_INV p. 134 TS_INV p. 135 TIP_SENSE_ INV. p. 151 |
|
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 |