| 数据搜索系统,热门电子元器件搜索 |
|
STA321 数据表(PDF) 74 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STA321 数据表(HTML) 74 Page - STMicroelectronics |
|
74 / 157 page ![]() Headphone detection STA321 74/157 Doc ID 15351 Rev 3 12.2 Configuration example This is an example of the register setup for headphones detection. It is assumed that every peripheral is already configured and working correctly. There are other configuration examples to help you get started please refer to other chapters and also to Chapter 14: Register description on page 77 in order to get all the necessary and complementary details. Table 32 and Table 33 below give a possible setup for the headphones detection configurations shown in Figure 51 and Figure 52, respectively. Note: The pullup on HPDET pad must always be disabled before using the HPDET function. Note: Comparator 1 and comparator 2 cannot be enabled simultaneously. Table 32. Headphone detection configuration sequence for binary SE Register Value Description MISC on page 135 0x21 Enable core clock PLLB on page 136 0x00 Use PLL clock User FFX and CMOS bridge configuration HPDET2 on page 138 0x80 Disable the HP_DET pull-up HPDET1 on page 137 0x57 Use HP1 for hpdet filter; polarity = high; action = mute; mod = binary SE; average time 170 ms. HPDET2 on page 138 0x80 Select E_HP1 comparator FFXCFG1 on page 81 0x00 Remove the tristate from the bridges Table 33. Headphone detection configuration sequence for binary headphone Register Value Description MISC on page 135 0x21 Enable core clock PLLB on page 136 0x00 Use PLL clock User FFX and CMOS bridge configuration HPDET2 on page 138 0x80 Disable the HP_DET pull-up HPDET1 on page 137 0x5F Use HP1 for hpdet filter; polarity = high; action = mute; mod = binary HP; average time 170 ms. HPDET2 on page 138 0x80 Select E_HP1 comparator FFXCFG1 on page 81 0x00 Remove the tristate from the bridges |
|
链接网址 |
| 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 |